Skip to main content
GET

Overview

Returns the current state of an asset (generating, completed, or failed) along with its result URL and metadata once ready. Poll this endpoint to wait for a generation to complete. This endpoint reads the asset state from the database only — it does not poll the underlying provider (FAL/Kie). The asset state is kept up to date by webhooks.

Authentication

This endpoint requires API key authentication. Include your API key in the Authorization header.

Path Parameters

string
required
Asset ID returned by /asset/start in the asset_ids array.

Response

string
The asset ID that was queried.
string
One of generating, completed, failed, or pending.
string
Media type: image, video, or audio.
string
URL of the generated media. Present when status is completed.
string
Preview thumbnail URL (first frame of the video). Videos only — omitted for images, where it would just repeat url.
number
Width in pixels of the generated media (when known).
number
Height in pixels of the generated media (when known).
number
Duration in seconds (videos only).
number
Credits debited for this generation.
string
ISO 8601 creation timestamp.
object
The parameters used to generate the asset.
object
Present when status is failed.

Example

Polling guidance

A typical pattern is to poll every 2–5 seconds until status is completed or failed. Most generations complete in under 2 minutes. If you provided a webhook_url when submitting, you can avoid polling entirely.