ᡤᡝᠯᡳ ᡩᡝ ᠵᡠᠸᡝᠨ

Vidu · Q2 · Text to Video

ᠵᡠᠸᡝᠪᡠᠮᠪᡳ

ᠮᠣᡩᡝᠯ id vidu/q2/text-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/vidu/q2/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

ᠵᠠᠨᡳ ᡥᠠᠯᠠᠮᠠ ᡥᡡᠯᠠᠨᡳ ᡶᡳᠯᡝ: $0.30 300 API ᠺᠷᡝᡩᡳᠲ ᠰᡳᠨᡳ ᡶᡳᠯᡝ ᠵᠠᠯᡤᠠᠨ ᠠᠰᡠᠮᠪᡳᠨᡳ ᠠᠯᡳᠮᠪᡳ ᡝᡵᡝ ᠵᠠᠯᡳᠨᡩᡝ ᠠᠰᡠᠮᠪᡳ

API ᡩᠠᠮᡠᠨ ᡤᠠᠯᠠ
Vidu · ᠰᡠᠨᡤᠠ

ᡳᠨᡝ ᡝᠮᡠᠨᡳᠩᡤᡝ ᡝᡵᡝᠮᡝ ᡩᡝ

ᡝᡵᡝ ᠵᡠᠯᡝᠨ ᡩᡝ ᡤᡝᡪᡳᠯᡝᠨ ᠪᠠᠶᠠᠨᠠᠮᡝ ᠠᠮᡪᠠᠯᠠ ᡶᡳᠯᡝᠮᡝ ᠪᡝᠶᡝᠮᡝ᠃ API ᠵᡳᡵᡤᠠᡳ ᡤᠠᡳᡥᠠᡩᡝ ᡤᡝᡪᡳᠯᡝᠨ ᠵᠠᠯᠠᠨᠠᠮᡝ ᠪᡠᠶᡝᠮᡝ ᠮᡠᠰᡝᡳ ᠰᡠᠯᡠᠨᡩᡝ ᠪᠠᠶᠠᠨᠠᠮᡝ᠂ ᠝ᠮᡤᡳ ᠮᡠᠰᡝ ᠠᠶᠠᠨ 7 ᡥᠠᠨ ᠰᠠᡳᠨᠠᠮᡝ᠃

ᡤᡳᠰᡠᠨ ᠪᡠᠶᡝᠮᡝ

ᠵᠠᡴᡠᠨᡳ ᠵᡠᠯᡝ ᡩᡝᡵᡤᡳ ᡩᡝᠪᡝᠰᡠᠮᡝ ᠵᡠᠯᡤᡝ ᠪᡠᠶᡝᠮᡝ᠈ ᡳᠨᡳ ᡤᡳᠰᡠᠨ ᠪᠠᡳ ᡝᠨᡝᠩᡤᡳ ᠠᠮᠪᡳ

•ᡴᠠᠷᠠᡴᡡ 88 / 3000

ᠰᡠᠨᡤᠠ ᠪᡠᠶᡝᠮᡝᠩᡤᡝ ᡥᡡᠯᠠᠨ᠂ 3000 ᡤᡝᠰᡝ ᡳᠴᡳ ᠠᡴᡡ᠉

duration 4 s

ᠰᡠᠨᡤᠠᠨᡳ ᠵᠠᡴᡠᠨ ᠰᡝᡴᡠᠨᡩ ᡩᡝ ᠮᡠᡴᡝᠨᡝᠮᡝ.

resolution ᠵᡠᠯᡝ 720p

ᠪᡠᠶᡝᠮᡝᠩᡤᡝ ᠰᡠᠨᡤᠠ ᡳ ᠵᠠᠯᠠᠨ᠉

aspect_ratio ᠵᡠᠯᡝ 16:9

ᠪᡠᠶᡝᠮᡝᠩᡤᡝ ᠰᡠᠨᡤᠠ ᡳ ᠵᠠᠯᠠᠨ ᡳ ᠵᠠᠯᡠᠮᡝᠩᡤᡝ ᠨᡳᠩᡤᡝᠨᡳᠨ᠉

ᠵᡠᠯᡤᡝ ᠵᡝᡵᡤᡳ movement_amplitude · seed · bgm · enable_safety_checker
movement_amplitude ᠵᡠᠯᡝ auto

ᡶᡳᠯᡝᠮᡝ ᡳᠴᡳ ᠵᡠᠰᡝᠨ ᡳ ᠵᠠᠯᡠᠮᡝᠩᡤᡝ ᠵᠠᠯᡠᠮᡝᠨᡩᡝ᠉

ᠪᡠᠶᡝᠮᡝ ᡩᡝ ᠰᠠᡳᠨ ᠪᡳᠰᡳᠮᡝ ᠪᠠᠨᠵᡳᠨᠠᠮᡝ᠉ None ᡩᡝ ᠪᡳᠮᡝ ᠪᠠᠨᠵᡳᠨ ᡤᠣᠯᠣᠮᡝ᠉

POST /run/vidu/q2/text-to-video?wait=20 ᠵᠠᠯᡳᠨ → $0.30
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/vidu/q2/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

ᡝᠨᡳ ᠵᠠᠯᡳᠨ ᠪᡝ ᠵᠠᠯᠠᠨᠠᠮᡝ

ᡳᠨᡝ ᠵᠠᠯᠠᠨ ᡝᡵᡝ ᠪᡠᡵᡝᠪᡝᡵᡳ ᡩᡝ ᠪᡳᠮᡝ᠈ Doitong API ᡩᡝ ᠵᡝᠯᡤᡳ ᡩᠠᡵᠠᠮᡝ᠈ Remember ᠵᡠᠯᡝᠮᡝ ᡤᡳᠯᠠᠮᡝ localStorage ᡩᡝ ᠰᡠᠯᡝᠮᡝ ᠪᡳᠮᡝ API ᠵᠠᠯᠠᠨ ᠠᠪᠠᠮᡝ

Vidu · Q2 · Text to Video ᡠᡵᡝᠮᡝ

`prompt` ᡳ 3000 ᡥᡡᠯᡝᠩᡤᡝ ᠣᠴᡳ ᠩᡝᠮᡝ ᡩᡝᠣᠯᡳᠨ ᠠᠶᡠᠮᠪᡳ. `duration` ᠨᡳ 2 ᡩᡝᠨ 8 ᠰᡝᡴᡠᠨᡩ, `resolution` ᠨᡳ 360p, 520p, 720p ᠠᠮᠠ 1080p, `aspect_ratio` ᠨᡳ 16:9, 9:16 ᠠᠮᠠ 1:1. ᡩᡝᠣᠯᡳᠨ ᠵᠠᠯᠠᠨᡤᠠᠨ ᠪᡝ `movement_amplitude` ᠪᡝ ᠠᠰᡠᠮᠪᡳ; `bgm` ᠨᡳ 4-ᠰᡝᡴᡠᠨᡩ ᠩᡝᠮᡝ ᠮᡠᠰᡳᡴᠠ ᠠᠪᡠᠮᠪᡳ.

ᠵᠠᡴᡠᠨ

ᠵᡝᡵᡤᡳᡠᠯᠠᠮᡝ ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝᠠᠪᠠᠮᡝ ᠵᠠᠪᡠᠨ ᠵᠠᠯᠠᠨᡳ ᡤᡳᠰᡠᠨ
promptᡴᠠᠷᠠᡴᡡ
ᡠᠯᠠᠮᡝstring
≤ 3,000 ᠵᡳᠪᡝᠨ
ᠰᡠᠨᡤᠠ ᠪᡠᠶᡝᠮᡝᠩᡤᡝ ᡥᡡᠯᠠᠨ᠂ 3000 ᡤᡝᠰᡝ ᡳᠴᡳ ᠠᡴᡡ᠉
seedᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger | null
ᠪᡠᠶᡝᠮᡝ ᡩᡝ ᠰᠠᡳᠨ ᠪᡳᠰᡳᠮᡝ ᠪᠠᠨᠵᡳᠨᠠᠮᡝ᠉ None ᡩᡝ ᠪᡳᠮᡝ ᠪᠠᠨᠵᡳᠨ ᡤᠣᠯᠣᠮᡝ᠉
durationᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ4
2345678
ᠰᡠᠨᡤᠠᠨᡳ ᠵᠠᡴᡠᠨ ᠰᡝᡴᡠᠨᡩ ᡩᡝ ᠮᡠᡴᡝᠨᡝᠮᡝ.
resolutionᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ720p
360p520p720p1080p
ᠪᡠᠶᡝᠮᡝᠩᡤᡝ ᠰᡠᠨᡤᠠ ᡳ ᠵᠠᠯᠠᠨ᠉
aspect_ratioᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ16:9
16:99:161:1
ᠪᡠᠶᡝᠮᡝᠩᡤᡝ ᠰᡠᠨᡤᠠ ᡳ ᠵᠠᠯᠠᠨ ᡳ ᠵᠠᠯᡠᠮᡝᠩᡤᡝ ᠨᡳᠩᡤᡝᠨᡳᠨ᠉
movement_amplitudeᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝauto
autosmallmediumlarge
ᡶᡳᠯᡝᠮᡝ ᡳᠴᡳ ᠵᡠᠰᡝᠨ ᡳ ᠵᠠᠯᡠᠮᡝᠩᡤᡝ ᠵᠠᠯᡠᠮᡝᠨᡩᡝ᠉
bgmᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝboolean
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝfalse
ᠰᡠᠨᡤᠠ ᡤᡳᠰᡠᠨ ᡳ ᠵᠠᠯᡠᠮᡝᠩᡤᡝ ᠣᠯᡥᠣᠮᠪᡳ᠂ 4 ᠰᡝᡴᡠᠨᡩ ᡳ ᠰᡠᠨᡤᠠ ᠴᡳ ᠵᠠᠯᡠᠮᠪᡳ᠉
enable_safety_checkerᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝboolean
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝtrue
ᠠᠰᡠᡵᠠᠮᡝ ᠠᠨᡩᠠ ᠪᡳᠮᡝ ᠰᠠᡳᠨ᠈ ᠵᡠᠴᡝᠨ ᠵᡠᠰᡝ ᠠᠰᡠᡵᠠᠮᡝ᠉
ᡴᠠᠷᠠᡴᡡ

ᠪᡠᠶᡝᠮᡝ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "vidu/q2/text-to-video",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 300,
    "usd": "0.30",
    "charged": 300,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
ᡤᡝᠯᡝᠮᡝ ᡥᡡᠯᡤᡠᠨᡳ ᡳᠨᡠᡝᠯᡝᡥᡝ outputs[].url ᠰᡠᠯᡠᠨ ᡩᡝ ᠰᡳᡵᡝ ᡶᡳᠯᡝ᠈ ᠝ᠮᡤᡳ ᠮᡠᠰᡝ ᠠᠪᠠᠯᡳ ᠵᡝᠮᡤᡳᠨ GB-ᠪᡳᠶᠠ ᠵᡝᠮᡤᡳᠨ ᠪᡝ ᡝᠮᡠᠯᡝᠮᡝ ᠠᠪᠠᠯᡳ 7 ᡥᠠᠨ ᠰᡳᠯᡤᠠᠨ ᡩᡝ᠈ ᠰᡳᠨᡳ ᠪᠠᠯᠠᠨᠰᡳ ᠵᡠᠶᡝᡵᡝᠨ ᠠᠪᠠᠯᡳ ?storage= ᡩᡝ ᡝᠵᡝᠨ ᡥᠠᠯᠠᠮᡝ᠉
ᡝᠮᡠ ᡤᡳᠰᡠᠨ ᡝᠮᡠ ᠮᠣᡩᡝᠯ ᡩᡝtype, url, content_type, width, height ᠮᠠᠩᡤᡳ duration᠈ ᠵᠠᠯᠠᠨ᠈ ᠪᡠᠵᡠᠮᠪᡳ ᠮᠠᠩᡤᡳ ᠵᡝᡵᡤᡳ ᡩᡝᠨᡳ᠈ output ᠮᠣᡩᡝᠯᡳᠨᡳ ᡝᠮᡠ ᠵᠠᠯᠠᠨ
ᠪᡠᠶᡝᠮᡝᠨᡳ ᡤᡳᠰᡠᠨ
video
object {url, content_type, file_name, file_size}Q2 ᠮᠣᡩᡝᠯ ᡳ ᡥᡡᠯᠠᠨ ᡳ ᠪᡠᠶᡝᠮᡝᠩᡤᡝ ᠰᡠᠨᡤᠠ᠉

ᡝᠯᡤᡳ ᡩᠠᠯᡳᠨ: ᡥᡡᠯᠠᠨ ᡩᡝ ᠰᡠᠨᡤᠠ

AI ᠠᡤᡝᠨᡨᡳ ᡠᠴᡠᠷᡳ᠈ ᡝᡵᡝ ᡩᡝᠪᡝᡵᡳ Markdown ᠰᡳᠨᡩᠠᡵᡳ https://doitong.com/mnc/developers/models/vidu/q2/text-to-video.md. ᡝᡵᡝ ᠮᠣᡩᡝᠯ ᠵᠠᡴᡠᠨ ᠰᡠᠯᡠᠮᡝ https://doitong.com/developers/llms.txt