图片生成 → 获取图片状态
AI-generatedOverview
This node interacts with the '图片生成' (Image Generation) resource to retrieve the status of an image generation process. It is useful in workflows where you need to check the progress or completion status of an image generation task, for example, to monitor or trigger subsequent actions based on the image status.
Use Case Examples
- A user initiates an image generation request and uses this node to periodically check if the image is ready.
- A workflow that generates images and then processes them further once the status indicates completion.
Properties
| Name | Meaning |
|---|---|
| historyId | The identifier for the image generation history or task whose status is being queried. |
Output
JSON
status- The current status of the image generation task.historyId- The identifier of the image generation task queried.error- Error message if the status retrieval failed.
Dependencies
- Requires an API key credential for authentication to the jimeng API service.
Troubleshooting
- If the 'historyId' is invalid or missing, the node will throw an error indicating the failure to retrieve the image status.
- Network or API errors may cause the node to fail; enabling 'Continue On Fail' allows the workflow to proceed with error details in the output.