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

Kling Image · v3 · Text to Image

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

မော်ဒယ် id kling-image/v3/text-to-image
# 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/kling-image/v3/text-to-image?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"

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

API ကီး ရယူရန်
Kling စာသားမှ ပုံ ရည်ညွှန်း ထည့်သွင်းချက်များ2K အထိ #text-to-image

အနုတ်လက္ခဏာပရောမ့်နှင့် မျက်နှာဒြပ်စင်ထိန်းချုပ်မှုပါသော 1K သို့မဟုတ် 2K v3 စာသားမှပုံ

Doitong တွင် ဖန်တီးထားသည်

Doitong အသိုင်းအဝိုင်းက Kling Image ဖြင့် ဖန်တီးထားသော အများပြည်သူသုံး လက်ရာများ။ ပရောမ့်ကို တစ်ချက်နှိပ်၍ ပြန်အသုံးပြုပါ။

ပြသထားသော အများပြည်သူသုံး လက်ရာများ: 16
**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... ဗီဒီယို

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... ဗီဒီယို

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... ဗီဒီယို

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе... ဗီဒီယို

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе с панорамными окнами. Внутри деревянный интерьер, мягкие диваны и живые цветы. Они садятся за столик, перед ними стоят дымящиеся чашки чая. Мягкий свет ламп создает уют. Средний план, уровень глаз. (...

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... ဗီဒီယို

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты вн... ဗီဒီယို

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты внешности, возраст, причёски и одежду. Мужчины слегка поворачивают головы, естественно моргают и едва заметно улыбаются. Женщина слева спокойно смотрит в камеру и мягко моргает. Маленький ребёнок слегка...

A five-second orbital camera move circling completely around a red-haired woman in a yellow rainc... ဗီဒီယို

A five-second orbital camera move circling completely around a red-haired woman in a yellow raincoat standing in an autumn forest holding a vintage lantern, she remains stationary facing forward while the camera circles 180 degrees from her left side to her right side at eye level, golden fallen...

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a w... ဗီဒီယို

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a wooden cutting board in a bright kitchen, camera suddenly swings in a rapid blur motion panning right at high speed creating motion blur, ending sharply focused on a barista pouring latte art in a...

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

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

•လိုအပ်သည် 88 / 2500

အက္ခရာ 2500 အထိ ကန့်သတ်ထားသော ပုံဖန်တီးရေးပရောမ့်။

resolution မူလ 1K

ထွက်ရလဒ်ပုံ၏ ရုပ်ထွက်အရည်အသွေး၊ ပုံမှန်အတွက် 1K သို့မဟုတ် မြင့်မားသောအရည်အသွေးအတွက် 2K။

aspect_ratio မူလ 16:9

ဖန်တီးမည့်ပုံများ၏ အကျယ်နှင့် အမြင့်အချိုး။

num_images မူလ 1

ထွက်ရလဒ်ပုံအရေအတွက်၊ 1 မှ 9 အထိ။

အဆင့်မြင့် negative_prompt · output_format · enable_safety_checker · elements
0 / 2500

မလိုလားအပ်သော အကြောင်းအရာကို ဤအနုတ်လက္ခဏာပရောမ့်ဖြင့် သတ်မှတ်ပါ။ အကြံပြုထားသော ဖြည့်စွက်နည်းမှာ အပြုသဘောပရောမ့်များအတွင်း ဖယ်ထုတ်လိုသည့်အရာများကို အနုတ်လက္ခဏာဝါကျများအဖြစ် ဖော်ပြရန်ဖြစ်သည်။

output_format မူလ png

ရလဒ်ပုံအတွက် ဖိုင်ဖော်မတ်။

မျက်နှာထိန်းချုပ်မှုအတွက် ရွေးချယ်နိုင်သော စုစည်းမှု၊ ထည့်သွင်းမှုတစ်ခုစီတွင် ရှေ့မျက်နှာမူပုံနှင့် ရွေးချယ်နိုင်သော ရည်ညွှန်းပုံများ ပါဝင်သည်။ ထည့်သွင်းမှုများက ပုံတွင် ပေါ်လာမည့် ဇာတ်ကောင်များ သို့မဟုတ် အရာဝတ္ထုများကို ဖော်ပြသည်။

POST /run/kling-image/v3/text-to-image?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/kling-image/v3/text-to-image?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"

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

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

Kling Image · v3 · Text to Image အကြောင်း

အက္ခရာ 2500 အထိရှိသော ပရောမ့်မှ ပုံ 1-9 ပုံကို ဖန်တီးပြီး `negative_prompt` ဖြင့် မလိုလားသော အကြောင်းအရာများမှ ရှောင်လွှဲစေနိုင်သည်။ `resolution` သည် 1K သို့မဟုတ် 2K ဖြစ်ပြီး `aspect_ratio` တွင် 21:9 အပါအဝင် အချိုး ၈ မျိုး ပါဝင်သည်။ `elements` တွင် မျက်နှာများ တစ်သမတ်တည်းဖြစ်စေရန် ရှေ့မျက်နှာပုံနှင့် ရွေးချယ်နိုင်သော ကိုးကားပုံများ ပါဝင်သည်။ ထွက်ရလဒ်သည် jpeg၊ png သို့မဟုတ် webp ဖြစ်သည်။

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

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

အမည်အမျိုးအစား မူလတန်ဖိုးခွင့်ပြုထားသည် ဖော်ပြချက်
promptလိုအပ်သည်
အမျိုးအစားstring
စာလုံး ၂,၅၀၀ လုံးထက် မပိုပါ
အက္ခရာ 2500 အထိ ကန့်သတ်ထားသော ပုံဖန်တီးရေးပရောမ့်။
negative_promptရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
စာလုံး ၂,၅၀၀ လုံးထက် မပိုပါ
မလိုလားအပ်သော အကြောင်းအရာကို ဤအနုတ်လက္ခဏာပရောမ့်ဖြင့် သတ်မှတ်ပါ။ အကြံပြုထားသော ဖြည့်စွက်နည်းမှာ အပြုသဘောပရောမ့်များအတွင်း ဖယ်ထုတ်လိုသည့်အရာများကို အနုတ်လက္ခဏာဝါကျများအဖြစ် ဖော်ပြရန်ဖြစ်သည်။
elementsရွေးချယ်နိုင်သည်
အမျိုးအစားobject[]
မျက်နှာထိန်းချုပ်မှုအတွက် ရွေးချယ်နိုင်သော စုစည်းမှု၊ ထည့်သွင်းမှုတစ်ခုစီတွင် ရှေ့မျက်နှာမူပုံနှင့် ရွေးချယ်နိုင်သော ရည်ညွှန်းပုံများ ပါဝင်သည်။ ထည့်သွင်းမှုများက ပုံတွင် ပေါ်လာမည့် ဇာတ်ကောင်များ သို့မဟုတ် အရာဝတ္ထုများကို ဖော်ပြသည်။
elements[].frontal_image_urlရွေးချယ်နိုင်သည်
အမျိုးအစားurl · image
အကြောင်းအရာ၏ အဓိကမြင်ကွင်းကို ပေးသည့် ရွေးချယ်နိုင်သော ရှေ့မျက်နှာမူပုံ။ ဖိုင်အရွယ်အစားသည် 10.0 MB ထက် မကျော်ရ၊ အကျယ်နှင့် အမြင့်တစ်ခုစီသည် အနည်းဆုံး 300px ဖြစ်ရပြီး အချိုးအစားမှာ 0.40 မှ 2.50 အတွင်း ဖြစ်ရမည်။
elements[].reference_image_urlsရွေးချယ်နိုင်သည်
အမျိုးအစားurl[] · image
အခြားထောင့်များကို ပြသသည့် ရွေးချယ်နိုင်သော ထပ်ဆောင်းပုံ 0–3 ပုံ။ ဖိုင်တစ်ခုစီသည် 10.0 MB ထက် မကြီးရ၊ အကျယ်နှင့် အမြင့်တစ်ခုစီသည် အနည်းဆုံး 300px ဖြစ်ရပြီး အချိုးအစားမှာ 0.40 မှ 2.50 အတွင်း ဖြစ်ရမည်။
resolutionရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုး1K
1K2K
ထွက်ရလဒ်ပုံ၏ ရုပ်ထွက်အရည်အသွေး၊ ပုံမှန်အတွက် 1K သို့မဟုတ် မြင့်မားသောအရည်အသွေးအတွက် 2K။
num_imagesရွေးချယ်နိုင်သည် num_outputs
အမျိုးအစားinteger
မူလတန်ဖိုး1
၁ – ၉
ထွက်ရလဒ်ပုံအရေအတွက်၊ 1 မှ 9 အထိ။
aspect_ratioရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုး16:9
16:99:161:14:33:43:22:321:9
ဖန်တီးမည့်ပုံများ၏ အကျယ်နှင့် အမြင့်အချိုး။
output_formatရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုးpng
jpegpngwebp
ရလဒ်ပုံအတွက် ဖိုင်ဖော်မတ်။
enable_safety_checkerရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးtrue
caller က ခွင့်ပြုချက်ရှိပါက false သတ်မှတ်ခြင်းဖြင့် စစ်ဆေးမှုကို လျှော့ချနိုင်သည်။
လိုအပ်သည် စံအမည်၊ ထို့အပြင် လက်ခံသည်

ထွက်ရလဒ်

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-image/v3/text-to-image",
  "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": 28,
    "usd": "0.028",
    "charged": 28,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200,
        "width": 1024,
        "height": 768
      }
    ]
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "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 များ
images
array of object {url, content_type, file_name, file_size, width, height}မော်ဒယ်က ဖန်တီးထားသော ပုံများ။

နောက်ထပ် မော်ဒယ်များ: စာသားမှ ပုံ

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