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

Lynx

ပေါင်းစည်းရန်

မော်ဒယ် id bytedance/lynx
# 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/bytedance/lynx?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "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"

နမူနာကဲ့သို့ ဖိုင်များ: ၃.၀၃၈ $ ၃,၀၃၈ API ခရက်ဒစ် လုပ်ဆောင်မီ သင့်ဖိုင်များကို တိုင်းတာသည် ဤစာမျက်နှာတွင် လုပ်ဆောင်ရန်

API ကီး ရယူရန်
ByteDance ပုံမှ ဗီဒီယို 720p အထိ #image-to-video#subject

အကြောင်းအရာ၏ ကိုယ်ပိုင်လက္ခဏာကို တစ်သမတ်တည်း ထိန်းသိမ်းပေးသော image-to-video၊ 480p မှ 720p နှင့် 9 မှ 81 ဖရိမ်

ByteDance · ဗီဒီယို

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

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

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

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

•လိုအပ်သည်

ဗီဒီယိုဖန်တီးမှုကို ညွှန်ကြားသည့် စာသားညွှန်ကြားချက်များ။

•လိုအပ်သည် image_url
ဖိုင်ကို ဆွဲချပါ၊ သို့မဟုတ်

ဗီဒီယိုဖန်တီးရန် အသုံးပြုသော အကြောင်းအရာပုံကို ညွှန်ပြသော URL။

resolution မူလ 720p

ထွက်ရလဒ်ဗီဒီယို ရုပ်ထွက်အရည်အသွေး။ 480p၊ 580p သို့မဟုတ် 720p မှ ရွေးချယ်သည်။

aspect_ratio မူလ 16:9

ထွက်ရလဒ်ဗီဒီယို အချိုး။ 16:9၊ 9:16 သို့မဟုတ် 1:1 မှ ရွေးချယ်သည်။

မူလ 16

ထွက်ရလဒ်ဗီဒီယို၏ ဖရိမ်နှုန်းကို ဖရိမ် per စက္ကန့် ဖြင့် ဖော်ပြပြီး 5 မှ 30 အထိသာ ခွင့်ပြုသည်။

မူလ 81

ထွက်ရလဒ်ဗီဒီယို ဖရိမ်အရေအတွက်။ 9 မှ 100 အထိသာ ခွင့်ပြုသည်။

အဆင့်မြင့် negative_prompt · num_inference_steps · ip_scale · strength · guidance_scale · guidance_scale_2 · seed · enable_safety_checker
မူလ Bright tones, overexp...

မလိုချင်သော ဗီဒီယိုအကြောင်းအရာကို ဤအနုတ်လက္ခဏာပရောမ့်တွင် ဖော်ပြ၍ ဖန်တီးမှုကို ၎င်းမှ ရှောင်လွှဲပါ။

မူလ 50

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

မူလ 1

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

မူလ 1

စကေးသတ်မှတ်ခြင်းဖြင့် ဖန်တီးထားသော ဗီဒီယိုက ရည်ညွှန်းပုံကို မည်မျှအသုံးပြုရမည်ကို ချိန်ညှိပါ။

မူလ 5

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

မူလ 2

ဗီဒီယိုဖန်တီးမှုအတွက် ပုံလမ်းညွှန်မှုစကေး။ ရည်ညွှန်းပုံနှင့် တူညီမှုနှင့် အရည်အသွေးကို မျှတစေသည်။ စကေးမြင့်လာပါက ပိုမိုနီးကပ်စွာ ကိုက်ညီသော်လည်း အရည်အသွေးကျဆင်းနိုင်သည်။

ဖန်တီးမှုကို ထပ်တူပြန်လည်ပြုလုပ်နိုင်စေသည့် seed။ None သတ်မှတ်ပါက seed ကို ကျပန်းရွေးချယ်သည်။

POST /run/bytedance/lynx?wait=20 ကုန်ကျစရိတ် → ၃.၀၃၈ $
# 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/bytedance/lynx?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "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"

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

သင့် key သည် ဤဘရောက်ဇာထဲတွင်သာ ရှိမည်ဖြစ်ပြီး Doitong API သို့သာ ပို့မည်။ Remember ကို အမှန်ခြစ်ထားမှသာ (localStorage) တွင် သိမ်းမည်။ API ကီး ရယူရန်

Lynx အကြောင်း

အကြောင်းအရာပုံ (`image_url`) ကို စာသား `prompt` အတိုင်း အန်နီမေးရှင်းပြုလုပ်သည်။ အထောက်အထားကို ထိန်းသိမ်းမှုကို `ip_scale` နှင့် `strength` (နှစ်ခုစလုံး 0 မှ 2 အထိ) ဖြင့် ချိန်ညှိနိုင်သည်။ ရုပ်ထွက်အရည်အသွေးသည် 480p၊ 580p သို့မဟုတ် 720p ဖြစ်နိုင်ပြီး အချိုးအစားမှာ 16:9၊ 9:16 သို့မဟုတ် 1:1 ဖြစ်သည်။ `num_frames` သည် 5 မှ 30 ဖရိမ်/စက္ကန့်နှုန်းဖြင့် 9 မှ 81 အထိ လုပ်ဆောင်သည်။ နဂ္ဂတစ် ပရောမ့်၊ လမ်းညွှန်မှုစကေး ၂ ခု၊ Inference အဆင့် 1 မှ 75 အထိနှင့် စီးဒ်တို့ကိုလည်း ပံ့ပိုးသည်။

ပါရာမီတာများ

စံအမည် သို့မဟုတ် မူရင်းအမည် တစ်ခုခုကိုသာ ပို့ပါ၊ နှစ်ခုလုံး မပို့ပါနှင့်။ စံအမည်များ

အမည်အမျိုးအစား မူလတန်ဖိုးခွင့်ပြုထားသည် ဖော်ပြချက်
image_urlလိုအပ်သည် image
အမျိုးအစားurl · image
ဗီဒီယိုဖန်တီးရန် အသုံးပြုသော အကြောင်းအရာပုံကို ညွှန်ပြသော URL။
promptလိုအပ်သည်
အမျိုးအစားstring
ဗီဒီယိုဖန်တီးမှုကို ညွှန်ကြားသည့် စာသားညွှန်ကြားချက်များ။
negative_promptရွေးချယ်နိုင်သည်
အမျိုးအစားstring
မူလတန်ဖိုးBright tones, overexposed, blurred background, static, subtitles, style, works, paintings, images, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture, messy background, three legs, many people in the background, walking backwards
မလိုချင်သော ဗီဒီယိုအကြောင်းအရာကို ဤအနုတ်လက္ခဏာပရောမ့်တွင် ဖော်ပြ၍ ဖန်တီးမှုကို ၎င်းမှ ရှောင်လွှဲပါ။
num_inference_stepsရွေးချယ်နိုင်သည်
အမျိုးအစားinteger
မူလတန်ဖိုး50
၁ – ၇၅
နမူနာယူမှု အဆင့်အရေအတွက်။ အရေအတွက်မြင့်လာသည်နှင့်အမျှ လုပ်ဆောင်ချိန် ပိုကြာသော်လည်း အရည်အသွေး ပိုကောင်းလာသည်။
seedရွေးချယ်နိုင်သည်
အမျိုးအစားinteger | null
ဖန်တီးမှုကို ထပ်တူပြန်လည်ပြုလုပ်နိုင်စေသည့် seed။ None သတ်မှတ်ပါက seed ကို ကျပန်းရွေးချယ်သည်။
resolutionရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုး720p
480p580p720p
ထွက်ရလဒ်ဗီဒီယို ရုပ်ထွက်အရည်အသွေး။ 480p၊ 580p သို့မဟုတ် 720p မှ ရွေးချယ်သည်။
aspect_ratioရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုး16:9
16:99:161:1
ထွက်ရလဒ်ဗီဒီယို အချိုး။ 16:9၊ 9:16 သို့မဟုတ် 1:1 မှ ရွေးချယ်သည်။
ip_scaleရွေးချယ်နိုင်သည်
အမျိုးအစားnumber
မူလတန်ဖိုး1
၀ – ၂
ရည်ညွှန်းပုံတွင် ဖော်ပြထားသော လူ သို့မဟုတ် အကြောင်းအရာ၏ identity ကို ဗီဒီယိုက မည်မျှတိကျစွာ ထိန်းသိမ်းရမည်ကို သတ်မှတ်ပါ။
strengthရွေးချယ်နိုင်သည်
အမျိုးအစားnumber
မူလတန်ဖိုး1
၀ – ၂
စကေးသတ်မှတ်ခြင်းဖြင့် ဖန်တီးထားသော ဗီဒီယိုက ရည်ညွှန်းပုံကို မည်မျှအသုံးပြုရမည်ကို ချိန်ညှိပါ။
frames_per_secondရွေးချယ်နိုင်သည်
အမျိုးအစားinteger
မူလတန်ဖိုး16
၅ – ၃၀
ထွက်ရလဒ်ဗီဒီယို၏ ဖရိမ်နှုန်းကို ဖရိမ် per စက္ကန့် ဖြင့် ဖော်ပြပြီး 5 မှ 30 အထိသာ ခွင့်ပြုသည်။
guidance_scaleရွေးချယ်နိုင်သည်
အမျိုးအစားnumber
မူလတန်ဖိုး5
၁ – ၂၀
Classifier-free guidance အား။ စကေးမြင့်လာသည်နှင့်အမျှ ဖြစ်နိုင်သော အရည်အသွေးကျဆင်းမှုကို လက်ခံကာ ပရောမ့်နှင့် ပိုမိုနီးကပ်စွာ ကိုက်ညီစေသည်။
guidance_scale_2ရွေးချယ်နိုင်သည်
အမျိုးအစားnumber
မူလတန်ဖိုး2
၀ – ၁၀
ဗီဒီယိုဖန်တီးမှုအတွက် ပုံလမ်းညွှန်မှုစကေး။ ရည်ညွှန်းပုံနှင့် တူညီမှုနှင့် အရည်အသွေးကို မျှတစေသည်။ စကေးမြင့်လာပါက ပိုမိုနီးကပ်စွာ ကိုက်ညီသော်လည်း အရည်အသွေးကျဆင်းနိုင်သည်။
num_framesရွေးချယ်နိုင်သည်
အမျိုးအစားinteger
မူလတန်ဖိုး81
၉ – ၈၁
ထွက်ရလဒ်ဗီဒီယို ဖရိမ်အရေအတွက်။ 9 မှ 100 အထိသာ ခွင့်ပြုသည်။
enable_safety_checkerရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးtrue
caller က ခွင့်ပြုချက်ရှိပါက false သတ်မှတ်ခြင်းဖြင့် စစ်ဆေးမှုကို လျှော့ချနိုင်သည်။
လိုအပ်သည် စံအမည်၊ ထို့အပြင် လက်ခံသည်

ဖိုင်ပါရာမီတာများသည် အများပြည်သူသုံး https:// URL၊ 10 MB အထိ data: URI သို့မဟုတ် အပ်လုဒ်လုပ်ထားသောဖိုင်၏ file_url ကို လက်ခံသည်။ ဖိုင်များ

ထွက်ရလဒ်

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/lynx",
  "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": 3038,
    "usd": "3.038",
    "charged": 3038,
    "refunded": 0
  },
  "input": {
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "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,
      "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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/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/bytedance/lynx.md. မော်ဒယ်များနှင့် လမ်းညွှန်များအားလုံး: https://doitong.com/developers/llms.txt