Skip to content

Jimeng video generation

Jimeng video submits async tasks through an OpenAI-compatible endpoint, primarily via multipart/form-data.

http
POST /v1/videos

Pass a single reference image file with . A successful submission returns id and status. Poll results with Task query.

Available models

Headers

NameTypeRequiredDescription
stringYesRequest authentication. Use a Bearer Token, for example:

This endpoint uses multipart/form-data (-F sets Content-Type automatically). Upload the reference image with -F input_reference=@....

Request body (form fields)

NameTypeRequiredDescription
stringYesModel name
stringYesPrompt. Supports Chinese and English
fileNoReference image file (image-to-video). Supports png / jpeg / jpg / webp
stringNoDuration in seconds: , , , default
stringNoSize: (portrait, default) or (landscape)

Request example

bash
curl -X POST https://octopusx.ai/v1/videos \
  -H "Authorization: Bearer <token>" \
  -F "model=jimeng-video-3.0" \
  -F "prompt=A cat chasing butterflies on the grass" \
  -F "seconds=5" \
  -F "size=720x1280"
bash
curl -X POST https://octopusx.ai/v1/videos \
  -H "Authorization: Bearer <token>" \
  -F "model=jimeng-video-3.0" \
  -F "prompt=Make the person walk forward and smile" \
  -F "[email protected]" \
  -F "seconds=5"

Response example

json
{
  "id": "video_123",
  "task_id": "video_123",
  "object": "video",
  "model": "jimeng-video-3.0",
  "status": "queued",
  "progress": 0,
  "created_at": 1712697600
}

Response fields

NameTypeDescription
stringTask ID for subsequent polling
stringTask ID (compatibility field; same value as )
stringAlways
stringModel actually used
stringTask status: , , , , and others
integerProgress percentage
integerCreation timestamp

Current rules

ItemRule
Default durationDefaults to seconds when not explicitly set
Default sizeDefaults to when not explicitly set
Reference imageUpload a single image file via
Reference image formatsSupports png / jpeg / jpg / webp

Other formats and modes

Doubao channel

Also submitted via POST /v1/videos (multipart). Models and fields depend on what is currently available for that channel.