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

Fibo Edit 1.5 Image Editing

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

မော်ဒယ် id bria/fibo-edit-1.5/edit
# 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/bria/fibo-edit-1.5/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

# 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 ကီး ရယူရန်
Bria AI ပုံတည်းဖြတ်ခြင်း #stylized#transform#editing

စာသားညွှန်ကြားချက်များအတိုင်း လုပ်ဆောင်သည့် ရည်ညွှန်းချက်များစွာပါ ပုံတည်းဖြတ်ကိရိယာ၊ ပုံ 4 ပုံအထိနှင့် ရွေးချယ်နိုင်သော မတ်စ်ပါဝင်သည်

Bria AI · ပုံ

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

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

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

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

aspect_ratio

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

အဆင့်မြင့် instruction · images · mask · seed · structured_instruction

ပုံကို တည်းဖြတ်ရန် ဖော်ပြထားသော ညွှန်ကြားချက်။

image_urls
ဖိုင်ကို ဆွဲချပါ၊ သို့မဟုတ်

တင်သွင်းသည့် အစီအစဉ်က ညွှန်ကြားချက်ကို မည်သို့ဖြေရှင်းမည်ကို သတ်မှတ်ပေးသော ကိုးကားထည့်သွင်းချက်များ။ ပုံ 1–4 ပုံကို ဖိုင်များ သို့မဟုတ် URL များအဖြစ် ပေးပို့ပါ။

mask_url
ဖိုင်ကို ဆွဲချပါ၊ သို့မဟုတ်

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

မူလ 5555

တူညီသောရလဒ်များ ပြန်လည်ရရှိရန် ကျပန်းဖြစ်မှုကို ထိန်းချုပ်သည့် seed။

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

POST /run/bria/fibo-edit-1.5/edit?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/bria/fibo-edit-1.5/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

# 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 ကီး ရယူရန်

Fibo Edit 1.5 Image Editing အကြောင်း

သဘာဝဘာသာစကား `instruction` ဖြင့် ပုံများကို တည်းဖြတ်ပြီး အစီအစဉ်အရေးကြီးသော `image_urls` ထဲရှိ ကိုးကားပုံ 1 ပုံမှ 4 ပုံအထိကို အသုံးပြုသည်။ အွန်လိုင်းဝတ်စုံစမ်းဝတ်ခြင်း၊ နောက်ခံအစားထိုးခြင်းနှင့် စတိုင်ပြောင်းခြင်းတို့ကဲ့သို့ အလုပ်များအတွက် သင့်လျော်သည်။ ပုံတစ်ပုံတည်းပါ တောင်းဆိုချက်များတွင် `mask_url` သည် တည်းဖြတ်မှုကို ကန့်သတ်ပေးပြီး `structured_instruction` သည် ယခင်ရလဒ်ကို ပြန်လည်အသုံးပြုနိုင်သည်။ `aspect_ratio` သည် ပုံ 2 ပုံနှင့်အထက် အသုံးပြုသည့်အခါသာ သက်ရောက်သည်။

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

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

အမည်အမျိုးအစား မူလတန်ဖိုးခွင့်ပြုထားသည် ဖော်ပြချက်
image_urlsရွေးချယ်နိုင်သည် images
အမျိုးအစားurl[] · image
တင်သွင်းသည့် အစီအစဉ်က ညွှန်ကြားချက်ကို မည်သို့ဖြေရှင်းမည်ကို သတ်မှတ်ပေးသော ကိုးကားထည့်သွင်းချက်များ။ ပုံ 1–4 ပုံကို ဖိုင်များ သို့မဟုတ် URL များအဖြစ် ပေးပို့ပါ။
instructionရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ပုံကို တည်းဖြတ်ရန် ဖော်ပြထားသော ညွှန်ကြားချက်။
aspect_ratioရွေးချယ်နိုင်သည်
အမျိုးအစားenum
1:12:33:23:44:34:55:49:1616:9
ကိုးကားပုံများစွာပါသော တောင်းဆိုချက်များအတွက် ထွက်ရလဒ်အချိုးကို အစားထိုးသတ်မှတ်ခြင်း။ ကိုးကားပုံတစ်ပုံတည်းရှိလျှင် ထိုပုံက အချိုးကို အမြဲဆုံးဖြတ်သည်။ ကိုးကားပုံများစွာရှိပြီး ဤတန်ဖိုးကို မသတ်မှတ်ထားလျှင် ပထမကိုးကားပုံ၏ အချိုးကို အသုံးပြုသည်။
seedရွေးချယ်နိုင်သည်
အမျိုးအစားinteger
မူလတန်ဖိုး5555
တူညီသောရလဒ်များ ပြန်လည်ရရှိရန် ကျပန်းဖြစ်မှုကို ထိန်းချုပ်သည့် seed။
mask_urlရွေးချယ်နိုင်သည် mask
အမျိုးအစားurl · image
ကိုးကားပုံတစ်ပုံတည်းနှင့်သာ အသုံးပြုနိုင်သော တည်းဖြတ်မျက်နှာဖုံး။ မျက်နှာဖုံးနှင့် ဖန်တီးထားသော ထွက်ရလဒ်နှစ်ခုစလုံးသည် ထိုကိုးကားပုံ၏ အရွယ်အစားကို အသုံးပြုသည်။ အဖြူရောင်ဖြင့် ပြန်လည်ဖန်တီးရမည့် ဧရိယာများနှင့် အနက်ရောင်ဖြင့် ကျန်ဧရိယာများကို သတ်မှတ်ထားသော ဖိုင် သို့မဟုတ် URL ကို ပေးပို့ပါ။
structured_instructionရွေးချယ်နိုင်သည်
အမျိုးအစားobject
ပြန်လည်အသုံးပြုနိုင်သော ဖွဲ့စည်းထားသည့် ပရောမ့်၊ ယခင်တည်းဖြတ်မှုမှ ပြန်ရရှိထားသော ပရောမ့်လည်း ဖြစ်နိုင်သည်။ ညွှန်ကြားချက်မပေးထားလျှင် ဤပရောမ့်ကို မပြောင်းလဲဘဲ အသုံးပြုပြီး VGL က အစားထိုးတစ်ခုကို မတည်ဆောက်ပါ။
structured_instruction.short_descriptionရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ရည်ရွယ်ထားသော ထွက်ရလဒ်ပုံ၏ အကျဉ်းချုပ်ဖော်ပြချက်။
structured_instruction.objectsရွေးချယ်နိုင်သည်
အမျိုးအစားobject[]
မူလတန်ဖိုး[]
ဖန်တီးထားသောပုံ၏ အကြောင်းအရာကို စာရင်းအဖြစ် သတ်မှတ်ပြီး အရာဝတ္ထုတစ်ခုချင်းစီ၏ အရည်အသွေးများနှင့် ဖော်ပြထားသော အခြားအရာဝတ္ထုများနှင့် ဆက်နွယ်မှုများကို မှတ်တမ်းတင်ရန်။
structured_instruction.objects[].descriptionရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ရည်ရွယ်ထားသော ထွက်ရလဒ်အရာဝတ္ထု၏ ဖော်ပြချက်။
structured_instruction.objects[].locationရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ပုံအတွင်းရှိ အရာဝတ္ထု၏ နေရာ။
structured_instruction.objects[].relationshipလိုအပ်သည်
အမျိုးအစားstring
ပုံအတွင်းရှိ အခြားအရာဝတ္ထုများနှင့် အရာဝတ္ထု၏ ဆက်နွယ်မှု။
structured_instruction.objects[].relative_sizeရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ပုံနှင့် နှိုင်းယှဉ်ထားသော အရာဝတ္ထုအရွယ်အစား။
structured_instruction.objects[].shape_and_colorရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
အရာဝတ္ထု၏ ပုံသဏ္ဍာန်နှင့် အရောင်။
structured_instruction.objects[].textureရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
အရာဝတ္ထု၏ အထိအတွေ့။
structured_instruction.objects[].appearance_detailsရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
အရာဝတ္ထု၏ အသွင်အပြင်ကို ဖော်ပြသည့် အသေးစိတ်များ။
structured_instruction.objects[].number_of_objectsရွေးချယ်နိုင်သည်
အမျိုးအစားinteger | null
ပုံအတွင်းရှိ အရာဝတ္ထုအရေအတွက်။
structured_instruction.objects[].poseရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖော်ပြထားသော အရာဝတ္ထု၏ ကိုယ်ဟန်အနေအထား။
structured_instruction.objects[].expressionရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖော်ပြထားသော အရာဝတ္ထု၏ မျက်နှာအမူအရာ။
structured_instruction.objects[].clothingရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖော်ပြထားသော အရာဝတ္ထု ဝတ်ဆင်ထားသည့် အဝတ်အစား။
structured_instruction.objects[].actionရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖော်ပြထားသော အရာဝတ္ထု လုပ်ဆောင်နေသည့် အပြုအမူ။
structured_instruction.objects[].genderရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖော်ပြထားသော အရာဝတ္ထု၏ လိင်အမျိုးအစား။
structured_instruction.objects[].skin_tone_and_textureရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖော်ပြထားသော အရာဝတ္ထု၏ အသားအရေ အထိအတွေ့နှင့် အရောင်။
structured_instruction.objects[].orientationရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖော်ပြထားသော အရာဝတ္ထု၏ ဦးတည်ချက်။
structured_instruction.background_settingရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံအတွက် နောက်ခံအပြင်အဆင်။
structured_instruction.lightingရွေးချယ်နိုင်သည်
အမျိုးအစားobject
ဖန်တီးထားသောပုံအတွက် အလင်းရောင်။
structured_instruction.lighting.conditionsရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံအတွက် အလင်းရောင်အခြေအနေများ။
structured_instruction.lighting.directionရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံအတွက် အလင်းရောင်ဦးတည်ချက်။
structured_instruction.lighting.shadowsရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံတွင် ဖော်ပြမည့် အရိပ်များ။
structured_instruction.aestheticsရွေးချယ်နိုင်သည်
အမျိုးအစားobject
ဖန်တီးထားသောပုံအတွက် အလှအပဆိုင်ရာ အရည်အသွေးများ။
structured_instruction.aesthetics.compositionရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံအတွက် ဖွဲ့စည်းပုံ။
structured_instruction.aesthetics.color_schemeရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံအတွက် အရောင်စပ်စု။
structured_instruction.aesthetics.mood_atmosphereရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံ၏ ခံစားချက်နှင့် ပတ်ဝန်းကျင်အငွေ့အသက်။
structured_instruction.aesthetics.aesthetic_scoreရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးနေသော ပုံ၏ အလှအပအမှတ်။
structured_instruction.aesthetics.preference_scoreရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးနေသော ပုံ၏ နှစ်သက်မှုအမှတ်။
structured_instruction.photographic_characteristicsရွေးချယ်နိုင်သည်
အမျိုးအစားobject
ဖန်တီးထားသောပုံအတွက် ဓာတ်ပုံဆိုင်ရာ အရည်အသွေးများ။
structured_instruction.photographic_characteristics.depth_of_fieldရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံအတွက် field of depth။
structured_instruction.photographic_characteristics.focusရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံအတွက် focus။
structured_instruction.photographic_characteristics.camera_angleရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံအတွက် ကင်မရာထောင့်။
structured_instruction.photographic_characteristics.lens_focal_lengthရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
focal length ဖြင့် ဖော်ပြထားသော ဖန်တီးထားသောပုံအတွက် lens setting။
structured_instruction.style_mediumရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံအတွက် အနုပညာဖော်ပြမှုပုံစံ။
structured_instruction.text_renderရွေးချယ်နိုင်သည်
အမျိုးအစားany[]
မူလတန်ဖိုး[]
ပုံထဲတွင် ထည့်သွင်းမည့် စာသားများ၏ စာရင်း။
structured_instruction.contextရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံအတွက် အကြောင်းအရာနောက်ခံ။
structured_instruction.artistic_styleရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံအတွက် အနုပညာပုံစံ။
structured_instruction.edit_instructionရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ပုံကို တည်းဖြတ်ပုံကို ဖော်ပြသည့် လမ်းညွှန်ချက်။
လိုအပ်သည် စံအမည်၊ ထို့အပြင် လက်ခံသည်

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

ထွက်ရလဒ်

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bria/fibo-edit-1.5/edit",
  "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": 40,
    "usd": "0.04",
    "charged": 40,
    "refunded": 0
  },
  "input": {},
  "output": {
    "image": {
      "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
    },
    "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
      }
    ],
    "structured_instruction": {}
  },
  "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 များ
image
object {url, content_type, file_name, file_size, width, height}aspect_ratio သတ်မှတ်ထားလျှင် ထိုအချိုးအတိုင်း၊ မသတ်မှတ်ထားလျှင် မူရင်းပုံအတိုင်း အချိုးအစားရှိသော တည်းဖြတ်ပြီး ထွက်ရလဒ်။
images
array of object {url, content_type, file_name, file_size, width, height}အဟောင်း Fibo Edit API လမ်းကြောင်းကို အသုံးပြုသည့် client များအတွက် နောက်ပြန်လိုက်ဖက်သော တုံ့ပြန်ချက်။ တစ်ခုတည်းသော ထည့်သွင်းချက်အဖြစ် တူညီသောပုံပါရှိသည့် စာရင်းဖြစ်သည်။
structured_instruction
objectအကျဉ်းချုပ်ညွှန်ကြားချက်ကို ချဲ့ထွင်ဖော်ပြထားသော အဓိပ္ပာယ်ဖွင့်ဆိုချက်။ အမှန်တကယ်လုပ်ဆောင်ခဲ့သည့် ဖွဲ့စည်းထားသော ညွှန်ကြားချက်အဖြစ် ပြန်ပေးပြီး ထည့်သွင်းတည်ဆောက်ထားသော ညွှန်ကြားချက်နှင့် `instruction` မှတစ်ဆင့် ပေးပို့သည့် အကြောင်းအရာနှစ်ခုစလုံးကို ထည့်သွင်းထားသည်။

နောက်ထပ် မော်ဒယ်များ: ပုံတည်းဖြတ်ခြင်း

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