Skip to main content
POST
/
api
/
v3
/
contents
/
generations
/
tasks
seedance-1-0-series
curl --request POST \
  --url https://gptproto.com/api/v3/contents/generations/tasks \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "<string>",
  "content": [
    {}
  ],
  "duration": 123
}'
{
  "error": {
    "message": "Invalid request parameters",
    "type": "invalid_request_error",
    "code": "invalid_parameters"
  }
}

Overview

This endpoint provides seedance-1-0-series functionality.

Authentication

This endpoint requires authentication using a Bearer token.
Authorization
string
required
Your API key in the format: Bearer YOUR_API_KEY

Request Body

model
string
required
The model to use for the request
content
array
Content parameter
duration
integer
Duration parameter

Request Example

curl -X POST "https://gptproto.com/api/v3/contents/generations/tasks" \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "seedance-1-0-lite-t2v-250428",
  "content": [
    {
      "type": "text",
      "text": "Photorealistic style: Under a clear blue sky, a vast expanse of white daisy fields stretches out. The camera gradually zooms in and finally fixates on a close - up of a single daisy, with several glistening dewdrops resting on its petals.  --ratio 16:9  --resolution 720p  --duration 5 --camerafixed false"
    }
  ],
  "duration": 10
}'

Response

Success
200
Successful response
{
  "status": "success"
}

Error Responses

{
  "error": {
    "message": "Invalid request parameters",
    "type": "invalid_request_error",
    "code": "invalid_parameters"
  }
}