Skip to main content
POST
/
api
/
ai
/
volcengine
/
video
Create Volcengine-format video generation task
curl --request POST \
  --url https://aitoearn.cn/api/ai/volcengine/video \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "model": "doubao-seedance-2-0-260128",
  "content": [
    {
      "type": "text",
      "text": "Create a cinematic product video with close-up shots, soft studio lighting, and smooth camera movement."
    }
  ]
}
'
{
  "id": "6a461da66fe8a12d33daabdd"
}

Authorizations

X-Api-Key
string
header
required

Need to get API Key from AiToEarn. Click to go to "API Key Obtaining Tutorial".

Body

application/json
model
string
required

Model ID or Endpoint ID.

content
object[]
required

Content passed to the model to generate video, keeping the Volcengine Ark video generation format.

return_last_frame
boolean

Whether to return the last frame image.

tools
object[]

Model tool configuration.

resolution
string

Resolution.

ratio
string

Aspect ratio.

duration
integer

Duration in seconds.

seed
integer

Random seed.

watermark
boolean

Whether to include a watermark.

generate_audio
boolean

Whether to generate audio synchronized with the visuals. Supported by the Seedance 2.0 series.

execution_expires_after
integer

Task timeout threshold in seconds. Value range: [3600, 259200].

Required range: 3600 <= x <= 259200
priority
integer

Task execution priority from 0 to 9. A larger value means higher priority. Supported by the Seedance 2.0 series.

Required range: 0 <= x <= 9
safety_identifier
string

Unique end-user identifier passed through to Ark for compliance checks.

source
enum<string>

Consumption source.

Available options:
ai_video,
ai_draft_generation,
plugin

Response

200 - application/json

Native Volcengine-format response, not wrapped in the AiToEarn common response envelope.

id
string
required