GET

/v1/schemas/byteplus/video/contents/generations/tasks

kind inputactivity videohash 7d6a36d3…extracted Aug 28, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

generated

Source trace
e3379046f28d4628702fa094c1ce8678f3e103e6579a5dad417f19e5c90f67e3
{
  "fetchedAt": 1787893860,
  "extractorVersion": "1",
  "verifiedAt": null
}

This call returns a task id. The video is on GET /contents/generations/tasks/{id}. Poll until status is succeeded, then download content.video_url (valid 24 hours).

Request body

19 properties · 2 required · 6 $defs
propertytypedescriptionconstraints
model*stringSeedance model id (e.g. seedance-1-5-pro-251215; the 2.0 family requires the dreamina- prefix) or a preconfigured endpoint id.
content*CreateContentGenerationContentItem[]Prompt text plus image / video / audio inputs. The API sorts requests into task types from the roles present — i2v (first frame), flf2v (first + last frame) and r2v (reference media) — and the two families are mutually exclusive.
safety_identifierstringOpaque per-end-user identifier for abuse attribution, max 64 chars.
callback_urlstringURL that receives a POST with the task payload on each status change.
return_last_framebooleanAlso return the final frame as a PNG. Default false.
service_tierstring'default' (online) or 'flex' (offline batch, half price). Note flex tasks are missing from the default task listing unless filter.service_tier=flex is passed.
execution_expires_afterintegerSeconds from created_at after which the task is marked 'expired'.
priorityinteger
generate_audiobooleanGenerate a synchronized audio track. Default false.
draftbooleanCheap low-fidelity preview render. Default false.
camera_fixedbooleanAppends a 'fix the camera' instruction to the prompt. Default false.
watermarkbooleanBurn a watermark into the output. Default false.
seedintegerRandomness seed; integers in [-1, 2^32-1], where -1 means unseeded.
resolutionstringResolution tier: 480p/720p on Seedance 2.5 and 2.0-fast/-mini, up to 1080p on the 1.x models and 4k on dreamina-seedance-2-0-260128. Matched case-insensitively by the API; there is no 2K tier on any model.
ratiostringOutput aspect ratio: 16:9, 9:16, 4:3, 3:4, 1:1, 21:9, or 'adaptive' (follows the input frame; image-to-video only).
output_formatstring
omni_reference_task_typestring
durationintegerWhole seconds of output (2-12s on 1.0, 4-12s on 1.5-pro, 4-15s on 2.0, 4-30s on 2.5). -1 lets the model choose (2.5 / 2.0 / 1.5-pro).
framesintegerFrame count, an alternative to duration that allows fractional seconds.

Types

6 $defs

AudioUrlobject

url*string

ContentGenerationContentItemTypeenum

text | image_url | audio_url | video_url | draft_task

CreateContentGenerationContentItemobject

type*enumtext | image_url | audio_url | video_url | draft_task
textstring
image_urlImageURL
audio_urlAudioUrl
video_urlVideoUrl
rolestring
draft_taskDraftTask

DraftTaskobject

id*string

ImageURLobject

url*string

VideoUrlobject

url*string

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"byteplus","endpointId":"contents/generations/tasks","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}