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

Krea 2 Turbo

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

မော်ဒယ် id krea-2/turbo
# 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/krea-2/turbo?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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

API ကီး ရယူရန်
Krea စာသားမှ ပုံ မြန်ဆန် #stylized#transform#typography

မြန်နှုန်းကို အဓိကထားသော text-to-image မော်ဒယ်ဖြစ်ပြီး ခေါ်ဆိုမှုတစ်ခုလျှင် ပုံ 1 မှ 4 ပုံအထိ ပြန်ပေးသည်။ ပရောမ့်ချဲ့ထွင်မှုနှင့် JPEG သို့မဟုတ် PNG ထွက်ရလဒ်ကို ရွေးချယ်နိုင်သည်

Krea · ပုံ

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

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

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

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

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

လိုချင်သောပုံကို စာသားဖြင့် သတ်မှတ်ဖော်ပြသည့် အခြေခံဖော်ပြချက်။

image_size မူလ square_hd

ဖန်တီးထားသောပုံ၏ အရွယ်အစား။

num_images မူလ 1

ဖန်တီးရန် တောင်းဆိုထားသည့် ပုံအရေအတွက်။

အဆင့်မြင့် acceleration · output_format · seed · enable_prompt_expansion · enable_safety_checker
acceleration မူလ none

ပုံဖန်တီးမှုအတွက် အရှိန်မြှင့်မှု သတ်မှတ်ချက်။

output_format မူလ png

ထွက်ရလဒ်ပုံ ကုဒ်သွင်းဖော်မတ်၊ မူလတန်ဖိုးမှာ "png" ဖြစ်သည်။

ထပ်တူပြန်လုပ်နိုင်သော ဖန်တီးမှုအတွက် ကျပန်းမှုကို ထိန်းချုပ်သည့် seed ဖြစ်ပြီး ပုံ *i* တွင် သတ်မှတ်ထားသော seed သည် `seed + i` ဖြစ်သည်။

POST /run/krea-2/turbo?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/krea-2/turbo?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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

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

Krea 2 Turbo အကြောင်း

စာသားပရောမ့် အများဆုံး စာလုံး 5000 အထိကို လျင်မြန်စွာ စမ်းသပ်ပြင်ဆင်နိုင်ရန် Krea 2 စီးရီး၏ ပိုမြန်သော မူကွဲဖြစ်သည်။ ကြိုတင်သတ်မှတ်ထားသော `image_size` ရွေးချယ်စရာ 6 ခု (စတုရန်း၊ ပုံတူ သို့မဟုတ် အခင်းအကျင်း) ထဲမှ တစ်ခုကို ရွေးပြီး `num_images` ဖြင့် ပုံ 1 မှ 4 ပုံအထိ တောင်းဆိုနိုင်သည်။ ရွေးချယ်နိုင်သော `enable_prompt_expansion` သည် ပရောမ့်ကို အသေးစိတ်ပြန်ရေးပေးသည်၊ `acceleration` သည် none သို့မဟုတ် regular ဖြစ်နိုင်ပြီး၊ ထွက်ရလဒ်သည် PNG သို့မဟုတ် JPEG ဖြစ်သည်။ ပုံ i သည် စီးဒ်နှင့် i ကို အသုံးပြုသည်။

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

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

အမည်အမျိုးအစား မူလတန်ဖိုးခွင့်ပြုထားသည် ဖော်ပြချက်
promptလိုအပ်သည်
အမျိုးအစားstring
စာလုံး ၅,၀၀၀ လုံးထက် မပိုပါ
လိုချင်သောပုံကို စာသားဖြင့် သတ်မှတ်ဖော်ပြသည့် အခြေခံဖော်ပြချက်။
seedရွေးချယ်နိုင်သည်
အမျိုးအစားinteger | null
ထပ်တူပြန်လုပ်နိုင်သော ဖန်တီးမှုအတွက် ကျပန်းမှုကို ထိန်းချုပ်သည့် seed ဖြစ်ပြီး ပုံ *i* တွင် သတ်မှတ်ထားသော seed သည် `seed + i` ဖြစ်သည်။
image_sizeရွေးချယ်နိုင်သည်
အမျိုးအစားobject
မူလတန်ဖိုးsquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
ဖန်တီးထားသောပုံ၏ အရွယ်အစား။
num_imagesရွေးချယ်နိုင်သည် num_outputs
အမျိုးအစားinteger
မူလတန်ဖိုး1
၁ – ၄
ဖန်တီးရန် တောင်းဆိုထားသည့် ပုံအရေအတွက်။
accelerationရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုးnone
noneregular
ပုံဖန်တီးမှုအတွက် အရှိန်မြှင့်မှု သတ်မှတ်ချက်။
enable_prompt_expansionရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးfalse
LLM ပရောမ့်ချဲ့ထွင်မှု အဖွင့်အပိတ်: true ဖြစ်ပါက အရည်အသွေးမြှင့်တင်ရန် ရည်ရွယ်ထားသော ပိုမိုအသေးစိတ်သည့် ပုံပရောမ့်ကို အသုံးပြု၍ ဖန်တီးမည်။ ချဲ့ထွင်မှု မအောင်မြင်ပါက မူလပရောမ့်ကို မပြောင်းလဲဘဲ အသုံးပြုမည်။
enable_safety_checkerရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးtrue
ထွက်ရလဒ် ဘေးကင်းမှုစစ်ဆေးခြင်း အဖွင့်အပိတ်: true သည် စစ်ဆေးမှုများကို ဖွင့်ပေးပြီး အကောင့်ခွင့်ပြုချက်မရှိသော တောင်းဆိုချက်များသည် ဤသတ်မှတ်ချက်မည်သို့ပင်ဖြစ်စေ စစ်ဆေးခံရသည်။ စစ်ဆေးမှုများကို ပိတ်ရန် ခွင့်ပြုချက်လိုအပ်ပြီး ဘေးမကင်းဟု သတ်မှတ်ခံရသော ရလဒ်တိုင်းကို အနက်ရောင်ပုံဖြင့် အစားထိုးသည်။
output_formatရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုးpng
jpegpng
ထွက်ရလဒ်ပုံ ကုဒ်သွင်းဖော်မတ်၊ မူလတန်ဖိုးမှာ "png" ဖြစ်သည်။
လိုအပ်သည် စံအမည်၊ ထို့အပြင် လက်ခံသည်

ထွက်ရလဒ်

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "krea-2/turbo",
  "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": 8,
    "usd": "0.008",
    "charged": 8,
    "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
      }
    ],
    "timings": {},
    "seed": 42,
    "has_nsfw_concepts": [
      false
    ],
    "prompt": "string",
    "actual_prompt": "string"
  },
  "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.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 များ
images
array of object {url, content_type, file_name, file_size, width, height}မော်ဒယ်မှ ထုတ်လုပ်ထားသောပုံများ။
timings
objectတောင်းဆိုချက်၏ အချိန်တိုင်းတာချက်များကို စက္ကန့်ဖြင့် ဖော်ပြထားသည်။
seed
integerပုံ သို့မဟုတ် ပုံများ ဖန်တီးစဉ် အသုံးပြုသည့် seed။
has_nsfw_concepts
array of booleanဖန်တီးထားသော ရလဒ်များရှိ ပုံတစ်ပုံချင်းစီအလိုက် NSFW အကြောင်းအရာ အညွှန်းများ။
prompt
stringထွက်ရလဒ်ဖန်တီးရန် အသုံးပြုခဲ့သော ပရောမ့်။
actual_prompt
string | nullပရောမ့်ချဲ့ထွင်မှု ဖွင့်ထားသောအခါ ဖန်တီးမှုအတွက် အသုံးပြုသည့် နောက်ဆုံးပရောမ့်ဖြစ်ပြီး ချဲ့ထွင်ရန် ကြိုးပမ်းမှုရလဒ်ကို ထင်ဟပ်စေသည်။

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

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