Kie.ai icon

Kie.ai

Generate images, videos, and music using Kie.ai API

Actions9

Task → Get Task Status

AI-generated

Summary

Get the status of a Kie.ai generation task.

Inputs

  • taskId (required) — The ID of the task to check
  • waitForCompletion — Whether to wait until the task is completed (success, fail, or cancelled)
  • maxRetries — Maximum number of polling attempts when waiting for completion (only used if waitForCompletion is true)
  • retryInterval — Delay between polling attempts in seconds (only used if waitForCompletion is true)

Output shape

object

The task status object returned by the Kie.ai API, containing fields such as state, failMsg, and any metadata.

Examples

Example 1: Check task status without waiting

Provide a task ID; leave Wait for Completion unchecked.

Example 2: Wait for task to finish

Provide a task ID, enable Wait for Completion, and optionally adjust Max Retries and Retry Interval.

Links

Discussion