海外版 图片生成 → 获取图片状态
AI-generatedOverview
This node interacts with the '海外版 图片生成' resource to perform the '获取图片状态' operation, which retrieves the status of an image generation request. It is useful in workflows where you need to check the progress or result of an image generation task, such as verifying if the image is ready or still processing.
Use Case Examples
- A user submits an image generation request and uses this node to periodically check the status until the image is available.
- Automating a workflow that triggers further actions based on the image generation status, like sending notifications or saving the image once ready.
Properties
| Name | Meaning |
|---|---|
| historyId | The identifier for the image generation history or request, used to query the status of that specific image generation. |
| sessionid | An optional session ID to replace the default session credential, used for authentication or session management in the request. |
Output
JSON
status- The current status of the image generation request, such as processing, completed, or failed.imageUrl- The URL of the generated image if the generation is complete.error- Error message if the image generation failed or the status could not be retrieved.
Dependencies
- Requires an API key credential for authentication to the external image generation service.
Troubleshooting
- Common issues include invalid or expired session IDs, incorrect historyId values, or network errors when calling the external API.
- Error messages may indicate missing or invalid credentials, unsupported operations, or failures in the image generation service. Users should verify input parameters and ensure valid authentication tokens.