GET /task/{task_id}
Authorization: Bearer <API_KEY>
)task_id
. It supports all platforms (Kling, Suno, Luma, Pika, Replicate, RunwayML, Seedance, Hailuo, Veo3, FalAI, MJVideo, Midjourney, etc.).GET /task/777935781150867525
Authorization: Bearer sk-xxxxxxx
{
"task_id": "string", // The unique ID of the task
"status": "string", // Task status: SUCCESS | FAILURE | ...
"progress": "string", // Progress percentage (e.g. "100%")
"err_reason": "string", // Error reason if status is FAILURE (may be empty)
"submit_time": number, // Unix timestamp when the task was submitted
"finish_time": number, // Unix timestamp when the task finished
"message": "string", // Human-readable message (includes platform, action, etc.)
"task_result": { // Main result data, see below for details
"videos": [ // (optional) List of video results
{
"url": "string", // Direct link to the video file
"duration": "string|number", // (optional) Duration in seconds
"content_type": "string" // (optional) MIME type, e.g. "video/mp4"
}
],
"images": [ // (optional) List of image results
{
"url": "string", // Direct link to the image file
"content_type": "string" // (optional) MIME type, e.g. "image/png"
}
],
"audio": [ // (optional) List of audio results
{
"url": "string", // Direct link to the audio file
"duration": "string|number", // (optional) Duration in seconds
"content_type": "string" // (optional) MIME type, e.g. "audio/mpeg"
}
],
"text": "string" // (optional) Text result, e.g. lyrics or error message
}
}
status
is FAILURE
, the field err_reason
will always be present (may be empty).task_result
object will only contain relevant fields for the platform and task type.{
"error": "Task not found"
}