Seedance / Doubao video generation uses the Volcengine Ark native task protocol, with transparent platform forwarding: request bodies, response bodies, and status enumerations are fully consistent with the official Volcengine Ark API. Simply replace the authentication credentials with your MaiToken API Key. Available models (such as doubao-seedance-2-0, doubao-seedance-1-5-pro, and doubao-seedance-1-0-pro) are determined by the response from List Models.
Authorizations
Bearer Token authentication. To obtain an API Key, visit the API Key Management Page
Authorization: Bearer YOUR_API_KEYSubmit a Generation Task
POST /api/v3/contents/generations/tasksThe request headers are consistent with the official Volcengine Ark API. Only Authorization: Bearer <token> and Content-Type: application/json are required (the official Seedance series supports API Key authentication only, with no other special headers). The request body uses the native Volcengine Ark format:
model(required): Model name, as listed by/v1/modelscontent(required): Content array—type: "text"specifies the prompt (parameter directives such as--resolution 720p --duration 5can be appended to the end of the text);type: "image_url"specifies a reference image.image_url.urlsupports a public URL, Base64 data URI, or a stored asset in the formatasset://<ASSET_ID>(see Virtual Avatar Assets).rolecan be set tofirst_frame/last_frame/reference_image- All other parameters are consistent with the official Volcengine Ark documentation and are forwarded unchanged by the platform:
resolution/duration/ratio/seed/watermark/camera_fixed/generate_audio/return_last_frame(returns the final-frame image) /service_tier(default/flex) /callback_url(callback triggered when the task status changes), etc.
Query a Task
GET /api/v3/contents/generations/tasks/{id}The response uses the native Volcengine Ark task object. Native Ark status values are: queued / running / succeeded / failed / cancelled / expired. After the task succeeds, content.video_url contains the generated video URL (valid for 24 hours; save it promptly). If return_last_frame: true was included when the task was submitted, the final-frame image is available at content.last_frame_url.
List Tasks
GET /api/v3/contents/generations/tasks?page_num=1&page_size=20Volcengine Ark's native list endpoint supports filters such as filter.status, filter.task_ids, and filter.model (page_num / page_size values range from 1 to 500). The response contains items[] + total.
Cancel / Delete Tasks
DELETE /api/v3/contents/generations/tasks/{id}Volcengine Ark's native semantics: for queued tasks, this cancels the task (status changes to cancelled); for succeeded / failed / expired tasks, it deletes the record; this operation is not supported for running or cancelled tasks. Success returns an empty JSON object {}.
Notes
- Task queries must use the same API Key used at submission; task IDs are queryable for 7 days, after which the endpoint returns 404
task_not_found - Endpoints outside the allowlist return 404
unsupported_endpoint - Generation is asynchronous; polling every 5–10 seconds is recommended until a terminal state is reached (
succeeded/failed) - Before using an
asset://reference, the asset must be inActivestatus. See Virtual Avatar Assets and Real-Person Avatar Assets - Refer to Volcengine Ark's official documentation for complete request and response field definitions; the platform does not rewrite fields
