Skip to main content
Key points for AI agents
  • Endpoint: POST https://1788.love/v1/videos with Authorization: Bearer YOUR_1788_API_KEY and Content-Type: application/json.
  • Required: model and prompt (prompt may be omitted when promoting a Draft task). Always pass duration, resolution, and aspect_ratio explicitly.
  • Pass media as role arrays: image_with_roles, video_with_roles, audio_with_roles, each item { "url": "...", "role": "..." }.
  • When attaching reference videos, pass reference_video_duration (total integer seconds across all reference videos).
  • Media URLs must be public HTTPS URLs—use Upload media for local files. On H routes (seedance-hc-*), pass public HTTPS URLs directly; the server handles compliance screening automatically.
  • Unsupported media types or counts above a route’s limit return an immediate 4xx error (never silently truncated).

Request fields

Legacy compatibility: plain URL arrays (image_urls, video_urls, audio_urls) are still accepted (images are treated as reference_image). Use *_with_roles in new integrations so you can specify first_frame and last_frame.

Three image modes

Choose only one mode per request (do not mix first_frame/last_frame with reference media):
On seedance-hc-2.5, first-frame and first+last-frame requests always follow the first frame’s aspect ratio (adaptive); provide a vertical first frame if you want vertical output.

Examples

Text-to-video

First and last frame

Multimodal reference (image + video + audio)

Full Python workflow (create -> poll -> download)

Progress, previews, and output URLs:
  • On official routes (seedance-hc-*, seedance-n-*, seedance-ma-*, seedance-f-*, seedance-nsfw-*), poll by status (queued / in_progress / completed / failed). Volcengine Ark’s native API does not emit intermediate percentage progress or live in-progress previews, so progress stays 0 until completion and jumps directly to 100 (for low-cost 480p preview renders before 1080p finals, use draft on seedance-hc-2.5).
  • Download completed videos via GET /v1/videos/{id}/content. Official routes are backed by Volcengine official direct links (valid for 24 hours—download and store promptly).
  • On token-billed official routes (seedance-hc-*, seedance-n-*, seedance-ma-*, seedance-f-*, seedance-nsfw-*), the completed GET /v1/videos/{id} response includes "usage": { "completion_tokens": ..., "total_tokens": ... } for exact token reconciliation.
See Async tasks for polling status values and download details.