Skip to content

Video Generation

Overview

  • Method: POST
  • Path: /task/volces/seedance
  • Category: Video Models (Video) / Doubao Video
  • Authentication: Bearer Token
  • Base URL: https://api.gpt.ge

Request Parameters

Request body (application/json):

  • model (required, string): model name, options include:

    • doubao-seedance-1-5-pro-251215 (1.5 all-purpose video model)
    • doubao-seedance-1-0-pro-250528 (1.0 all-purpose video model)
    • doubao-seedance-1-0-pro-fast-251015 (1.0 all-purpose video model - fast)
    • doubao-seedance-1-0-lite-t2v-250428 (text-to-video model)
    • doubao-seedance-1-0-lite-i2v-250428 (first-and-last-frame video model)
  • content (required, array): each item is an object with:

    • type (string, enum: text, image_url)
    • text (string): prompt text; supports Chinese and English, and optional inline parameters such as --rs 720p, --dur 5, --cf false, etc.
    • image_url (object, optional): { "url": string }; used as reference image or first/last frame.
    • role (string, optional): required for first/last-frame videos, enum: first_frame, last_frame.

    Examples:

    • Text-to-video: contains only text.
    • Image-to-video: contains text + image_url.
    • First/last-frame video: contains text + first/last image_url + role.
  • generate_audio (boolean, optional, default true): supported by Seedance 1.5 pro. Controls whether to generate synchronized audio. true for audio, false for silent.

  • draft (boolean, optional): supported by Seedance 1.5 pro. true generates a draft preview; false generates a normal final video.

Request Example

bash
curl -X POST "https://api.gpt.ge/task/volces/seedance" \
  -H "Authorization: Bearer $YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "model":"doubao-seedance-1-5-pro-251215",
    "content":[
      {"type":"text","text":"Multiple shots. A detective enters a dimly lit room... --ratio 16:9"}
    ]
  }'

Success Response Example

json
{
  "code":0,
  "message":"SUCCEED",
  "request_id":"CmYgjmbyMToAAAAAAF6svw",
  "data":{
    "task_id":"CmYgjmbyMToAAAAAAF6svw",
    "task_status":"submitted",
    "created_at":1727338013674,
    "updated_at":1727338013674
  }
}