Get Generation
Retrieve the current generation state. This /v2/generate/{id} route supports the wait, timeout and include options below.
Authentication
Path parameters
Query parameters
When true, hold the request open until the generation finishes (COMPLETED, NO_OP, FAILED or REJECTED) or timeout passes, then return its latest state. Waits last at most 10 seconds, so for longer jobs poll again (the response has Retry-After: 2) or use a webhook. Can’t be combined with include=progress.
Seconds to hold a wait=true request open, from 1 to 10 (default 5). Other values return 400. On timeout you get the unfinished generation with HTTP 200, so check status.
Comma-separated extra fields to include. include=progress adds a progress object with the render stage, measured progress and the expected finish time. Works for generations created through the API as well as in sync’s own apps.
Response
The error message if the generation failed, was rejected or lip-synced nothing (NO_OP).
Stable, machine-readable error code if the generation failed, was rejected or lip-synced nothing (NO_OP) (e.g. generation_input_video_inaccessible). The full catalog of codes, messages and suggested fixes is served unauthenticated at GET /v2/errors.
Dubbed audio URL. Omitted for generations without dubParams; null until the dubbed track is available.
Reusable AUDIO asset for the dubbed track. Omitted without dubParams; null until available, or when retention settings or a custom output bucket prevent saving an asset.
The URL of the audio synthesized from a text (TTS) input. Only present for generations created with a TTS text input; reuse it as an audio input to keep the same take across generations.
Finish-time estimate recorded when the generation was accepted. Only set for generations made in sync’s own apps, such as Studio. For any generation, request include=progress and read progress.estimatedFinishAt.
Render progress and expected finish. Only included when the generation is requested with include=progress.

