Tokaify APITokaify API
API Reference
AI Model APIVideoDoubao APIdoubao-seedance-2-0-fast-260128

Create OpenAI-style Video Task

doubao-seedance-2-0-fast-260128 Create OpenAI-style Video Task API

OpenAI-style video task creation endpoint. The model parameter is fixed to doubao-seedance-2-0-fast-260128.

POST
/v1/videos

Authorization

BearerAuth

AuthorizationBearer <token>

Model relay interface recognition. Request heading: Autoration: Bearer .

In: header

model*string

Model name, the actual available value is based on /v1/Models or the rear channel configuration.

Default"doubao-seedance-2-0-fast-260128"
Value in"doubao-seedance-2-0-260128" | "doubao-seedance-2-0-fast-260128"
prompt*string

A hint. Range: 1 to 200000 characters, with a specific upper limit based on the model official interface.

image?string

Single reference URL, Base64 or multipart file field.

images?array<string>

Multiple URLs or Base64 arrays. Scope: At least one, with a ceiling based on the model official interface.

duration?integer

Length, unit seconds. Scope: greater than 0; recommendations 4 to 60, with final caps based on the model official interface.

Range1 <= value
seconds?string

compatible long field, in seconds; metadata.duration is overridden when you exist. Range: positive integer string.

metadata?

Seedance 2.0 vendor-specific options.

Response Body

application/json

curl -X POST "https://api.tokaify.com/v1/videos" \  -H "Content-Type: application/json" \  -d '{    "model": "doubao-seedance-2-0-fast-260128",    "prompt": "A cinematic tracking shot of a vintage convertible driving along a seaside road at sunrise."  }'
{
  "id": "task_123456",
  "task_id": "task_123456",
  "object": "video",
  "model": "doubao-seedance-2-0-fast-260128",
  "status": "queued",
  "progress": 0,
  "created_at": 1760000000
}

How is this guide?

Last updated on