Key points for AI agents
- Endpoint:
POST https://1788.love/v1/videoswithAuthorization: Bearer YOUR_1788_API_KEYandContent-Type: application/json. - Required:
modelandprompt(promptmay be omitted when promoting a Draft task). Always passduration,resolution, andaspect_ratioexplicitly. - 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 mixfirst_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 bystatus(queued/in_progress/completed/failed). Volcengine Ark’s native API does not emit intermediate percentage progress or live in-progress previews, soprogressstays0until completion and jumps directly to100(for low-cost 480p preview renders before 1080p finals, usedraftonseedance-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 completedGET /v1/videos/{id}response includes"usage": { "completion_tokens": ..., "total_tokens": ... }for exact token reconciliation.