1
Create an API key
Open API Keys in the GENGEN Dashboard and create a key.Store the full key when it is shown. GENGEN does not display the secret again.
2
Submit a task
Replace the placeholder key and send the request:A successful submission returns a public task ID:
3
Retrieve the result
URL-encode the task ID when placing it in the path. For example, encode Continue polling while the task is pending, queued, running, or processing. When
: as %3A.status is completed or succeeded, read the video URL from outputs.videos.Seedance response details
Seedance 2.0 and 2.5 report successful tasks withstatus: "completed". Accept both
completed and succeeded when handling video results across providers, and read
generated media from the standard outputs.videos and outputs.images fields.
When the upstream provider includes usage, GENGEN returns it as an optional
compatibility field after the standard response fields. Its child keys retain the
provider’s original names, including snake_case:
The token counts above are illustrative. The available
usage fields depend on
the upstream response; task creation and in-progress responses may omit usage.
Requests with video references can still return only completion_tokens and
total_tokens, so do not assume that usage includes separate input or video token
counts. These counts describe provider usage, not the charged price.
Other compatibility fields, such as task_id, video_url, and content.video_url,
may also be present. Use the standard id and outputs fields in new integrations.
Next steps
- Configure an existing OpenAI SDK through the OpenAI-compatible LLM guide.
- Learn how generation modes and media inputs work.
- Review the create task endpoint.
- Open the API Explorer for a guided workflow.