ᡤᡝᠯᡳ ᡩᡝ ᠵᡠᠸᡝᠨ

Cosmos Predict 2.5 2B · Image to Video

ᠵᡠᠸᡝᠪᡠᠮᠪᡳ

ᠮᠣᡩᡝᠯ id cosmos-predict-2.5/image-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/cosmos-predict-2.5/image-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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

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

ᡝᠨᡳ ᠵᠠᠯᡳᠨ: $0.20 200 API ᠺᠷᡝᡩᡳᠲ · ≈ ₽21.52 ᡝᡵᡝ ᠵᠠᠯᡳᠨᡩᡝ ᠠᠰᡠᠮᠪᡳ

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

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

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

ᡤᡳᠰᡠᠨ ᠪᡠᠶᡝᠮᡝ

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

•ᡴᠠᠷᠠᡴᡡ

ᠪᠠᡥᠠᡴᡳ ᠰᡝᡵᡝ ᠰᡠᠨᡤᠠ ᡳ ᡥᡝᡵᡤᡝᠨ ᡳ ᡤᡳᠶᠠᠨ᠉

•ᡴᠠᠷᠠᡴᡡ image_url
ᠪᡠᠮᠪᡳ ᡝᠮᡠ ᡩᠠᡵᠠᠮᡝ

ᡨᡠᡴᡳᠶᡝᡵᡝ ᡶᡳᠯᡝᠮᡝ ᠣᠪᡠᠮᡝ ᠪᠠᡳᡨᠠᠯᠠᡵᡝ ᡤᠠᠳᠠᠨ ᡳ URL᠉

ᠵᡠᠯᡤᡝ ᠵᡝᡵᡤᡳ negative_prompt · video_output_type · video_quality · num_frames · num_inference_steps · guidance_scale · seed · enable_safety_checker
ᠵᡠᠯᡝ The video captures a ...

ᠪᠠᡥᠠᡴᡳ ᠰᡝᡵᡝᡴᡡ ᠪᠠᡳᡨᠠ ᠪᡝ ᡥᡝᡥᡝᡵᡝ ᠸᠠᡴᠠ ᡥᡡᠯᠠᠨ᠉

video_output_type ᠵᡠᠯᡝ X264 (.mp4)

ᠪᡠᠶᡝᠮᡝ ᠰᡠᠨᡤᠠ ᡳ ᡶᡳᠯᡝ ᡳ ᡴᡝᠮᡠᠨ᠉

video_quality ᠵᡠᠯᡝ high

ᠪᡠᠶᡝᠮᡝ ᠰᡠᠨᡤᠠ ᡳ ᡴᡳᠪᡠᠨ ᡳ ᡨᠣᡴᡨᠣᠪᡠᠨ᠉

ᠵᡠᠯᡝ 93

ᠪᡠᠶᡝᠮᡝ ᡶᡳᠯᡝᠮᡝ ᡳ ᡨᠣᠨ᠈ 9 ᠴᡳ 93 ᡩᡝᡵᡤᡳ ᠪᡳ᠉

ᠵᡠᠯᡝ 35

ᡶᠠᡴᠴᠠᡵᠠ ᠪᡝ ᠸᠠᠵᡳᠪᡠᡵᡝ ᡶᠠᡶᡠᠨ ᡳ ᡨᠣᠨ᠈ ᡨᠣᠨ ᠠᠮᠪᠠ ᠪᡳᠴᡳ ᡴᡳᠪᡠᠨ ᠰᠠᡳᡴᠠᠨ ᠪᡳ᠈ ᠪᡳᠴᡳᠪᡝ ᡝᡵᡳᠨ ᡤᠣᠯᠣᠮᠪᡳ᠉

ᠵᡠᠯᡝ 7

classifier-free guidance ᡳ ᡴᡝᠮᡠᠨ; ᡝᡵᡝ ᠪᡝ ᠠᠮᠪᠠ ᠣᠪᡠᠴᡳ ᠪᡠᠶᡝᠮᡝ ᠪᠠᡳᡨᠠ ᡥᡡᠯᠠᠨ ᠪᡝ ᡩᠠᡥᠠᠮᠪᡳ᠉

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

POST /run/cosmos-predict-2.5/image-to-video?wait=20 ᠵᠠᠯᡳᠨ → $0.20
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/cosmos-predict-2.5/image-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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

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

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

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

Cosmos Predict 2.5 2B · Image to Video ᡠᡵᡝᠮᡝ

`image_url` ᡳ ᠠᠩᡤᡳ ᡶᠠᠮᡳᠯᡥᠠ ᠵᠠᠯᠠᠨ ᠠᠵᡳᠯᠠᠮᡝ᠈ ᡨᡝᡴᠰᡨ `prompt` ᡳ ᡠᠨᡩᡝ. `num_frames` 9 ᡩᡝ 93, `num_inference_steps` 50 ᡩᡝ ᠠᠴᡳ ᠠᠨᡩᠠᠯᠠᠮᡝ (ᠠᠩᡤᡳ 35) ᡳ `guidance_scale` 1 ᡩᡝ 20. ᡤᠠᡵᡤᠠᠵᡠ ᠪᡠᡶᠠᠮᡝ mp4, webm, mov ᠶᠠᠮᠠᡴᠠ GIF ᡝᡵᡝᠨᡩᡝ᠈ ᡝᡵᡝᠨ ᠰᠠᠶᠠᠨ ᠵᡝᡵᡤᡳ.

ᠵᠠᡴᡠᠨ

ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ ᠵᡝᠯᡤᡳ ᠠᠪᠠᠮᠪᡳ᠈ ᠨᡝᠮᡝ ᠮᡠᠰᡝ ᡠᠯᠠᠮᠪᡳ ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ

ᠵᡝᡵᡤᡳᡠᠯᠠᠮᡝ ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝᠠᠪᠠᠮᡝ ᠵᠠᠪᡠᠨ ᠵᠠᠯᠠᠨᡳ ᡤᡳᠰᡠᠨ
promptᡴᠠᠷᠠᡴᡡ
ᡠᠯᠠᠮᡝstring
ᠪᠠᡥᠠᡴᡳ ᠰᡝᡵᡝ ᠰᡠᠨᡤᠠ ᡳ ᡥᡝᡵᡤᡝᠨ ᡳ ᡤᡳᠶᠠᠨ᠉
negative_promptᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝstring
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝThe video captures a series of frames showing ugly scenes, static with no motion, motion blur, over-saturation, shaky footage, low resolution, grainy texture, pixelated images, poorly lit areas, underexposed and overexposed scenes, poor color balance, washed out colors, choppy sequences, jerky movements, low frame rate, artifacting, color banding, unnatural transitions, outdated special effects, fake elements, unconvincing visuals, poorly edited content, jump cuts, visual noise, and flickering. Overall, the video is of poor quality.
ᠪᠠᡥᠠᡴᡳ ᠰᡝᡵᡝᡴᡡ ᠪᠠᡳᡨᠠ ᠪᡝ ᡥᡝᡥᡝᡵᡝ ᠸᠠᡴᠠ ᡥᡡᠯᠠᠨ᠉
num_framesᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ93
9 – 93
ᠪᡠᠶᡝᠮᡝ ᡶᡳᠯᡝᠮᡝ ᡳ ᡨᠣᠨ᠈ 9 ᠴᡳ 93 ᡩᡝᡵᡤᡳ ᠪᡳ᠉
num_inference_stepsᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ35
1 – 50
ᡶᠠᡴᠴᠠᡵᠠ ᠪᡝ ᠸᠠᠵᡳᠪᡠᡵᡝ ᡶᠠᡶᡠᠨ ᡳ ᡨᠣᠨ᠈ ᡨᠣᠨ ᠠᠮᠪᠠ ᠪᡳᠴᡳ ᡴᡳᠪᡠᠨ ᠰᠠᡳᡴᠠᠨ ᠪᡳ᠈ ᠪᡳᠴᡳᠪᡝ ᡝᡵᡳᠨ ᡤᠣᠯᠣᠮᠪᡳ᠉
guidance_scaleᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝnumber
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ7
1 – 20
classifier-free guidance ᡳ ᡴᡝᠮᡠᠨ; ᡝᡵᡝ ᠪᡝ ᠠᠮᠪᠠ ᠣᠪᡠᠴᡳ ᠪᡠᠶᡝᠮᡝ ᠪᠠᡳᡨᠠ ᡥᡡᠯᠠᠨ ᠪᡝ ᡩᠠᡥᠠᠮᠪᡳ᠉
seedᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger | null
ᠪᡠᠶᡝᠮᡝ ᠵᡠᠯᡝᠮᡝ ᠠᠩᡤᠠᠨᡳ ᠰᡝᠨᡩᡝᠨᡳ ᠵᠠᠯᡳᠨ᠉
video_output_typeᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝX264 (.mp4)
X264 (.mp4)VP9 (.webm)PRORES4444 (.mov)GIF (.gif)
ᠪᡠᠶᡝᠮᡝ ᠰᡠᠨᡤᠠ ᡳ ᡶᡳᠯᡝ ᡳ ᡴᡝᠮᡠᠨ᠉
video_qualityᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝhigh
lowmediumhighmaximum
ᠪᡠᠶᡝᠮᡝ ᠰᡠᠨᡤᠠ ᡳ ᡴᡳᠪᡠᠨ ᡳ ᡨᠣᡴᡨᠣᠪᡠᠨ᠉
enable_safety_checkerᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝboolean
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝtrue
ᠠᠰᡠᡵᠠᠮᡝ ᠠᠨᡩᠠ ᠪᡳᠮᡝ ᠰᠠᡳᠨ᠈ ᠵᡠᠴᡝᠨ ᠵᡠᠰᡝ ᠠᠰᡠᡵᠠᠮᡝ᠉
image_urlᡴᠠᠷᠠᡴᡡ image
ᡠᠯᠠᠮᡝurl · image
ᡨᡠᡴᡳᠶᡝᡵᡝ ᡶᡳᠯᡝᠮᡝ ᠣᠪᡠᠮᡝ ᠪᠠᡳᡨᠠᠯᠠᡵᡝ ᡤᠠᠳᠠᠨ ᡳ URL᠉
ᡴᠠᠷᠠᡴᡡ ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ᠈ ᠮᡠᠰᡝ ᡝᠮᡠ ᠠᠪᠠᠮᠪᡳ

ᠪᡠᠮᠪᡳᠯᡝᠰᡝ ᡝᠮᡠ ᡤᡝᠮᡠᠨᡳ https:// URL᠈ 10 MB ᡩᡝ ᡩᡝᠷᡤᡳ data: URI ᠵᡝᡵᡤᡳ ᡝᠮᡝ᠈ ᡳᠨᡝ ᠪᡠᠮᠪᡳᠯᡝᠰᡝᠨᡳ file_url ᠠᠪᠠᠮᠪᡳ ᠪᡠᠮᠪᡳ

ᠪᡠᠶᡝᠮᡝ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "cosmos-predict-2.5/image-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": 200,
    "usd": "0.20",
    "charged": 200,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "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,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "seed": 42
  },
  "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/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, width, height, fps, duration, num_frames}ᠪᡠᠶᡝᠮᡝ ᠵᡠᠴᡝᠨ ᡳ ᡶᡳᠯᡝ᠉
seed
integerᠪᡠᠶᡝᠮᡝ ᡝᡵᡳᠨ ᡩᡝ ᠰᠣᠨᠵᠣᠮᡝ ᠪᠠᡳᡨᠠᠯᠠᡵᡝ ᠮᡠᡴᡝ ᡶᡳᠶᡝᠨ᠉

ᡝᠯᡤᡳ ᡩᠠᠯᡳᠨ: ᡤᠠᠳᠠᠨ ᡩᡝ ᠰᡠᠨᡤᠠ

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