အကြောင်းအရာသို့ ကျော်ရန်

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"

ဤတောင်းဆိုချက်: ၀.၂၀ $ ၂၀၀ API ခရက်ဒစ် · ≈ ၂၁.၅၂ ₽ ဤစာမျက်နှာတွင် လုပ်ဆောင်ရန်

API ကီး ရယူရန်

ထည့်သွင်းသောပုံကို ပထမဖရိမ်အဖြစ် အသုံးပြုသည့် Cosmos Predict 2.5 2B ကလစ်ထုတ်လုပ်မှု

NVIDIA · ဗီဒီယို

သင့်ပထမဆုံးရလဒ် ဤနေရာတွင် ပေါ်လာမည်

အောက်တွင် တောင်းဆိုချက်တစ်ခု တည်ဆောက်ပြီး သင့် API ကီးဖြင့် လုပ်ဆောင်ပါ။ ထွက်ရလဒ်များကို ကျွန်ုပ်တို့၏ သိုလှောင်မှုသို့ ကူးယူပြီး အမြဲတမ်း သို့မဟုတ် ၇ ရက် အခမဲ့ သိမ်းထားသည်။

တောင်းဆိုမှုတစ်ခု တည်ဆောက်ရန်

ထိန်းချုပ်မှုများကို မော်ဒယ် schema မှ အလိုအလျောက်ဖန်တီးသည်။ ၎င်းတို့ကို ပြောင်းလဲသည်နှင့် code နှင့် စျေးနှုန်းတို့လည်း ပြောင်းလဲမည်။

•လိုအပ်သည်

လိုချင်သော ဗီဒီယို၏ စာသားဖော်ပြချက်။

•လိုအပ်သည် 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

Denoising အဆင့်အရေအတွက်။ အရေအတွက်တိုးလာသည်နှင့် လုပ်ဆောင်ချိန်ပိုကြာသော်လည်း အရည်အသွေး ပိုကောင်းလာသည်။

မူလ 7

Classifier-free guidance အတွက် စကေး။ တန်ဖိုးတိုးလေ ဖန်တီးမှုသည် ပရောမ့်ကို ပိုမိုနီးကပ်စွာ လိုက်နာလေ ဖြစ်သည်။

ဖန်တီးမှုကို ထပ်တူပြန်လုပ်နိုင်စေသော ကျပန်း seed။

POST /run/cosmos-predict-2.5/image-to-video?wait=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"

ဤတောင်းဆိုချက်ကို လုပ်ဆောင်ရန်

သင့် 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 အထိ။
num_inference_stepsရွေးချယ်နိုင်သည်
အမျိုးအစားinteger
မူလတန်ဖိုး35
၁ – ၅၀
Denoising အဆင့်အရေအတွက်။ အရေအတွက်တိုးလာသည်နှင့် လုပ်ဆောင်ချိန်ပိုကြာသော်လည်း အရည်အသွေး ပိုကောင်းလာသည်။
guidance_scaleရွေးချယ်နိုင်သည်
အမျိုးအစားnumber
မူလတန်ဖိုး7
၁ – ၂၀
Classifier-free guidance အတွက် စကေး။ တန်ဖိုးတိုးလေ ဖန်တီးမှုသည် ပရောမ့်ကို ပိုမိုနီးကပ်စွာ လိုက်နာလေ ဖြစ်သည်။
seedရွေးချယ်နိုင်သည်
အမျိုးအစားinteger | null
ဖန်တီးမှုကို ထပ်တူပြန်လုပ်နိုင်စေသော ကျပန်း seed။
video_output_typeရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုးX264 (.mp4)
X264 (.mp4)VP9 (.webm)PRORES4444 (.mov)GIF (.gif)
ရရှိလာသော ဗီဒီယို၏ ဖိုင်ပုံစံ။
video_qualityရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုးhigh
lowmediumhighmaximum
ရရှိလာသော ဗီဒီယို၏ အရည်အသွေးသတ်မှတ်ချက်။
enable_safety_checkerရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးtrue
caller က ခွင့်ပြုချက်ရှိပါက false သတ်မှတ်ခြင်းဖြင့် စစ်ဆေးမှုကို လျှော့ချနိုင်သည်။
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-month အလိုက် ငွေပေးရသည်) သို့မဟုတ် ၇ ရက် အခမဲ့၊ သင့်အကောင့်ဆက်တင် သို့မဟုတ် ?storage= ဖြင့် သိမ်းထားသည်။
မော်ဒယ်တိုင်းတွင် ပုံစံတူပုံ၊ ဗီဒီယိုနှင့် အသံတို့အတွက် type၊ url၊ content_type၊ width၊ height နှင့် duration။ output သည် မော်ဒယ်ကိုယ်တိုင်၏ ရလဒ် object ဖြစ်သည်။
ထွက်ရလဒ်၏ Fields များ
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}ဖန်တီးမှုမှ ထွက်ရှိသည့် ဗီဒီယိုဖိုင်။
seed
integerဖန်တီးမှုအတွင်း ကျပန်းဖြစ်မှုကို ထိန်းချုပ်သည့် seed။

နောက်ထပ် မော်ဒယ်များ: ပုံမှ ဗီဒီယို

AI အေးဂျင့်များအတွက်- ဤစာမျက်နှာ၏ Markdown ကို ဤနေရာတွင် ရရှိနိုင်သည် https://doitong.com/my/developers/models/cosmos-predict-2.5/image-to-video.md. မော်ဒယ်များနှင့် လမ်းညွှန်များအားလုံး: https://doitong.com/developers/llms.txt