← Video models

Seedance 2.0

Use Seedance 2.0 native task APIs for create, get, and list where the token168 deployment enables the bridge.

Creates a Seedance 2.0 native task. The route authenticates with the token168 API key, selects an enabled Seedance-capable channel, then stores a public task ID for polling.

This is a minimal Seedance 2.0 first-frame example: text and image_url items belong in top-level content. Confirm the model ID with GET /v1/models and replace the example image URL. Model-specific parameter limits are listed below.

For Seedance 2.0 first-frame and first-and-last-frame generation, a fixed ratio needs a compatible channel in your group. Set ratio to adaptive to follow the first image. Seedance 2.5 requires adaptive in those modes. For a rejected submission, read error.message for the reason.

POST /api/v3/contents/generations/tasks
curl https://www.token168.cc/api/v3/contents/generations/tasks \
  -H "Authorization: Bearer $TOKEN168_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "dreamina-seedance-2-0-260128",
    "content": [
      {"type": "text", "text": "A futuristic tech city, but with a strange, surreal quality. People are more open and free, focused on developing themselves. The city blends pristine natural ecosystems with modern technology. Residential areas are highly ecological, green development is advanced, all power comes from green electricity, and controlled nuclear fusion, space elevators, and extremely deep underground spaces have already been achieved."},
      {"type": "image_url", "image_url": {"url": "https://example.com/reference.png"}, "role": "first_frame"}
    ],
    "duration": 4,
    "resolution": "480p",
    "ratio": "adaptive",
    "generate_audio": false,
    "watermark": false
  }'
Field boundaries
FieldBehaviorError
callback_urlNot supported.OperationDenied.CallbackNotSupported
service_tierOnly omitted or default is accepted.InvalidParameter.Unsupported
durationAccepted values are -1 or 4 through 15.InvalidParameter.InvalidValue
framesNot supported for Seedance 2.0.InvalidParameter.Unsupported
seedNot supported for Seedance 2.0.InvalidParameter.Unsupported
camera_fixedNot supported for Seedance 2.0.InvalidParameter.Unsupported
DELETEDELETE and cancel are not supported and must not imply refund or state change.Unsupported method
Generate video from media URLs

For automatic asset preparation from HTTPS URLs, use the separate URL video entry. It still requires an enabled asset key; existing native and manual-asset workflows remain available.