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

Fibo Edit [Structured Instruction]

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

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

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

API ကီး ရယူရန်
Bria AI LLM #structured-prompt-generation#fibo-edit#json

ရုပ်ပုံမထုတ်လုပ်ဘဲ တည်းဖြတ်ရန် တောင်းဆိုချက်ကို ဖွဲ့စည်းထားသော JSON ဖော်ပြချက်အဖြစ် ပြောင်းလဲသည်

Bria AI · ဒေတာ (JSON)

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

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

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

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

အဆင့်မြင့် instruction · image · mask · seed

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

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

ဖိုင် သို့မဟုတ် URL အဖြစ် ပေးပို့သည့် ကိုးကားပုံ။

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

ဖိုင် သို့မဟုတ် URL အဖြစ် ပေးပို့သော ကိုးကားပုံအတွက် ရွေးချယ်စရာ မျက်နှာဖုံး။

မူလ 5555

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

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

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

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

Fibo Edit [Structured Instruction] အကြောင်း

ရုပ်ပုံမဟုတ်ဘဲ တည်းဖြတ်ရန်အတွက် ဖွဲ့စည်းထားသော ညွှန်ကြားချက်ကိုသာ ထုတ်လုပ်သည်။ ထည့်သွင်းတန်ဖိုးများမှာ ရွေးချယ်နိုင်သော `image_url`၊ `mask_url`၊ `instruction` နှင့် `seed` တို့ ဖြစ်သည်။ JSON ရလဒ်တွင် အရာဝတ္ထုများ၊ အလင်းရောင်၊ အလှအပဆိုင်ရာ အင်္ဂါရပ်များ၊ နောက်ခံအပြင်အဆင်၊ ဓာတ်ပုံဆိုင်ရာ လက္ခဏာများနှင့် ပြန်လည်ဖော်ပြရမည့် စာသားကဲ့သို့သော အကွက်များ ပါဝင်သည်။

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

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

အမည်အမျိုးအစား မူလတန်ဖိုးခွင့်ပြုထားသည် ဖော်ပြချက်
image_urlရွေးချယ်နိုင်သည် image
အမျိုးအစားurl · image
ဖိုင် သို့မဟုတ် URL အဖြစ် ပေးပို့သည့် ကိုးကားပုံ။
mask_urlရွေးချယ်နိုင်သည် mask
အမျိုးအစားurl · image
ဖိုင် သို့မဟုတ် URL အဖြစ် ပေးပို့သော ကိုးကားပုံအတွက် ရွေးချယ်စရာ မျက်နှာဖုံး။
instructionရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ပုံကို တည်းဖြတ်ရန် ဖော်ပြထားသော ညွှန်ကြားချက်။
seedရွေးချယ်နိုင်သည်
အမျိုးအစားinteger
မူလတန်ဖိုး5555
တူညီသောရလဒ်များ ပြန်လည်ရရှိရန် ကျပန်းဖြစ်မှုကို ထိန်းချုပ်သည့် seed။
လိုအပ်သည် စံအမည်၊ ထို့အပြင် လက်ခံသည်

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

ထွက်ရလဒ်

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bria/fibo-edit/edit/structured_instruction",
  "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": 10,
    "usd": "0.01",
    "charged": 10,
    "refunded": 0
  },
  "input": {},
  "output": {
    "short_description": "string",
    "objects": [
      {
        "description": "string",
        "location": "string",
        "relationship": "string",
        "relative_size": "string",
        "shape_and_color": "string",
        "texture": "string",
        "appearance_details": "string",
        "number_of_objects": 1,
        "pose": "string",
        "expression": "string",
        "clothing": "string",
        "action": "string",
        "gender": "string",
        "skin_tone_and_texture": "string",
        "orientation": "string"
      }
    ],
    "background_setting": "string",
    "lighting": {
      "conditions": "string",
      "direction": "string",
      "shadows": "string"
    },
    "aesthetics": {
      "composition": "string",
      "color_scheme": "string",
      "mood_atmosphere": "string",
      "preference_score": "string",
      "aesthetic_score": "string"
    },
    "photographic_characteristics": {
      "depth_of_field": "string",
      "focus": "string",
      "camera_angle": "string",
      "lens_focal_length": "string"
    },
    "style_medium": "string",
    "text_render": [],
    "context": "string",
    "artistic_style": "string",
    "edit_instruction": "string"
  },
  "outputs": [
    {
      "type": "file",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "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 များ
short_description
string | nullရည်ရွယ်ထားသော ထွက်ရလဒ်ပုံ၏ အကျဉ်းချုပ်ဖော်ပြချက်။
objects
array of object {description, location, relationship, relative_size, shape_and_color, texture, appearance_details, number_of_objects, pose, expression, clothing, action, gender, skin_tone_and_texture, orientation} | nullဖန်တီးထားသောပုံ၏ အကြောင်းအရာကို စာရင်းအဖြစ် သတ်မှတ်ပြီး အရာဝတ္ထုတစ်ခုချင်းစီ၏ အရည်အသွေးများနှင့် ဖော်ပြထားသော အခြားအရာဝတ္ထုများနှင့် ဆက်နွယ်မှုများကို မှတ်တမ်းတင်ရန်။
background_setting
string | nullဖန်တီးထားသောပုံအတွက် နောက်ခံအပြင်အဆင်။
lighting
object {conditions, direction, shadows} | nullဖန်တီးထားသောပုံအတွက် အလင်းရောင်။
aesthetics
object {composition, color_scheme, mood_atmosphere, preference_score, aesthetic_score} | nullဖန်တီးထားသောပုံအတွက် အလှအပဆိုင်ရာ အရည်အသွေးများ။
photographic_characteristics
object {depth_of_field, focus, camera_angle, lens_focal_length} | nullဖန်တီးထားသောပုံအတွက် ဓာတ်ပုံဆိုင်ရာ အရည်အသွေးများ။
style_medium
string | nullဖန်တီးထားသောပုံအတွက် အနုပညာဖော်ပြမှုပုံစံ။
text_render
array of any | nullပုံထဲတွင် ထည့်သွင်းမည့် စာသားများ၏ စာရင်း။
context
string | nullဖန်တီးထားသောပုံအတွက် အကြောင်းအရာနောက်ခံ။
artistic_style
string | nullဖန်တီးထားသောပုံအတွက် အနုပညာပုံစံ။
edit_instruction
string | nullပုံကို တည်းဖြတ်ပုံကို ဖော်ပြသည့် လမ်းညွှန်ချက်။

နောက်ထပ် မော်ဒယ်များ: LLM

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