Actions2
Query Task Status
AI-generatedSummary
Retrieve the current status and details of a previously submitted image generation task using its Task ID.
Inputs
- Task ID (required) — The unique identifier of the task whose status you want to query.
Output shape
a single JSON object representing the task's status and details, including state and any result URLs
Returns the parsed task record from the Kie.ai API's /api/v1/jobs/recordInfo endpoint. The response includes expanded fields such as resultUrls for easy access. Errors during request execution are reported with detailed messages. The task state can be 'success', 'fail', or other in-progress states.
Examples
Example 1: Check if a previously requested image generation task has completed and retrieve its result URLs.
Provide the Task ID obtained when the image generation job was created to this operation to get the current status and, if complete, details such as URLs to the generated images.