Seedance Video Generation

Volcengine Ark native protocol: Submit a generation task, then poll the same path to query its status. Supports all doubao-seedance series models.

POST/api/v3/contents/generations/tasks

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

AuthorizationstringRequired

Bearer Token authentication. To obtain an API Key, visit the API Key Management Page

Authorization: Bearer YOUR_API_KEY

Submit a Generation Task

POST /api/v3/contents/generations/tasks

The 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/models
  • content (required): Content array—type: "text" specifies the prompt (parameter directives such as --resolution 720p --duration 5 can be appended to the end of the text); type: "image_url" specifies a reference image. image_url.url supports a public URL, Base64 data URI, or a stored asset in the format asset://<ASSET_ID> (see Virtual Avatar Assets). role can be set to first_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=20

Volcengine 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 in Active status. 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