Query Task Status
AI-generatedSummary
Query the status of a video generation task on Kie.ai by providing its Task ID.
Inputs
- Task ID (required) — The unique identifier of the generation task to query.
Output shape
a JSON object representing the detailed status and result information of the task, including parsed result URLs, video URLs, and audio URL as applicable.
The operation performs a GET request to the Kie.ai API's /api/v1/jobs/recordInfo endpoint with the given Task ID and returns a parsed response with nested JSON fields decoded. The response includes the current state of the task (such as 'success', 'fail', or in-progress states) and any associated result URLs. No pagination is involved. Errors from the API are properly surfaced as node errors.
Examples
Example 1: Check if a previously submitted video generation task has completed successfully or failed, and retrieve associated output URLs if available.
Set the 'Task ID' parameter to the ID returned when creating the generation task.