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

Fibo · Structured Prompt

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

မော်ဒယ် id bria/fibo/generate/structured_prompt
# 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/generate/structured_prompt?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 ကီး ရယူရန်
Bria AI LLM #bria#fibo#structured-prompting

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

Bria AI · ဒေတာ (JSON)

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

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

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

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

ပုံများ ဖန်တီးရန် အသုံးပြုသော ပရောမ့်။

အဆင့်မြင့် image · seed · structured_prompt
image_url
ဖိုင်ကို ဆွဲချပါ၊ သို့မဟုတ်

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

မူလ 5555

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

ပုံဖန်တီးမှုအတွက် အသုံးပြုသော ဖွဲ့စည်းထားသည့် ပရောမ့်။

POST /run/bria/fibo/generate/structured_prompt?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/generate/structured_prompt?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 ကီး ရယူရန်

Fibo · Structured Prompt အကြောင်း

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

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

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

အမည်အမျိုးအစား မူလတန်ဖိုးခွင့်ပြုထားသည် ဖော်ပြချက်
promptရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ပုံများ ဖန်တီးရန် အသုံးပြုသော ပရောမ့်။
structured_promptရွေးချယ်နိုင်သည်
အမျိုးအစားobject
ပုံဖန်တီးမှုအတွက် အသုံးပြုသော ဖွဲ့စည်းထားသည့် ပရောမ့်။
structured_prompt.short_descriptionရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ရည်ရွယ်ထားသော ထွက်ရလဒ်ပုံ၏ အကျဉ်းချုပ်ဖော်ပြချက်။
structured_prompt.objectsရွေးချယ်နိုင်သည်
အမျိုးအစားobject[]
မူလတန်ဖိုး[]
ဖန်တီးထားသောပုံ၏ အကြောင်းအရာကို စာရင်းအဖြစ် သတ်မှတ်ပြီး အရာဝတ္ထုတစ်ခုချင်းစီ၏ အရည်အသွေးများနှင့် ဖော်ပြထားသော အခြားအရာဝတ္ထုများနှင့် ဆက်နွယ်မှုများကို မှတ်တမ်းတင်ရန်။
structured_prompt.objects[].descriptionရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ရည်ရွယ်ထားသော ထွက်ရလဒ်အရာဝတ္ထု၏ ဖော်ပြချက်။
structured_prompt.objects[].locationရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ပုံအတွင်းရှိ အရာဝတ္ထု၏ နေရာ။
structured_prompt.objects[].relationshipလိုအပ်သည်
အမျိုးအစားstring
ပုံအတွင်းရှိ အခြားအရာဝတ္ထုများနှင့် အရာဝတ္ထု၏ ဆက်နွယ်မှု။
structured_prompt.objects[].relative_sizeရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ပုံနှင့် နှိုင်းယှဉ်ထားသော အရာဝတ္ထုအရွယ်အစား။
structured_prompt.objects[].shape_and_colorရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
အရာဝတ္ထု၏ ပုံသဏ္ဍာန်နှင့် အရောင်။
structured_prompt.objects[].textureရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
အရာဝတ္ထု၏ အထိအတွေ့။
structured_prompt.objects[].appearance_detailsရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
အရာဝတ္ထု၏ အသွင်အပြင်ကို ဖော်ပြသည့် အသေးစိတ်များ။
structured_prompt.objects[].number_of_objectsရွေးချယ်နိုင်သည်
အမျိုးအစားinteger | null
ပုံအတွင်းရှိ အရာဝတ္ထုအရေအတွက်။
structured_prompt.objects[].poseရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖော်ပြထားသော အရာဝတ္ထု၏ ကိုယ်ဟန်အနေအထား။
structured_prompt.objects[].expressionရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖော်ပြထားသော အရာဝတ္ထု၏ မျက်နှာအမူအရာ။
structured_prompt.objects[].clothingရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖော်ပြထားသော အရာဝတ္ထု ဝတ်ဆင်ထားသည့် အဝတ်အစား။
structured_prompt.objects[].actionရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖော်ပြထားသော အရာဝတ္ထု လုပ်ဆောင်နေသည့် အပြုအမူ။
structured_prompt.objects[].genderရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖော်ပြထားသော အရာဝတ္ထု၏ လိင်အမျိုးအစား။
structured_prompt.objects[].skin_tone_and_textureရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖော်ပြထားသော အရာဝတ္ထု၏ အသားအရေ အထိအတွေ့နှင့် အရောင်။
structured_prompt.objects[].orientationရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖော်ပြထားသော အရာဝတ္ထု၏ ဦးတည်ချက်။
structured_prompt.background_settingရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံအတွက် နောက်ခံအပြင်အဆင်။
structured_prompt.lightingရွေးချယ်နိုင်သည်
အမျိုးအစားobject
ဖန်တီးထားသောပုံအတွက် အလင်းရောင်။
structured_prompt.lighting.conditionsရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံအတွက် အလင်းရောင်အခြေအနေများ။
structured_prompt.lighting.directionရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံအတွက် အလင်းရောင်ဦးတည်ချက်။
structured_prompt.lighting.shadowsရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံတွင် ဖော်ပြမည့် အရိပ်များ။
structured_prompt.aestheticsရွေးချယ်နိုင်သည်
အမျိုးအစားobject
ဖန်တီးထားသောပုံအတွက် အလှအပဆိုင်ရာ အရည်အသွေးများ။
structured_prompt.aesthetics.compositionရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံအတွက် ဖွဲ့စည်းပုံ။
structured_prompt.aesthetics.color_schemeရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံအတွက် အရောင်စပ်စု။
structured_prompt.aesthetics.mood_atmosphereရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံ၏ ခံစားချက်နှင့် ပတ်ဝန်းကျင်အငွေ့အသက်။
structured_prompt.aesthetics.aesthetic_scoreရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးနေသော ပုံ၏ အလှအပအမှတ်။
structured_prompt.aesthetics.preference_scoreရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးနေသော ပုံ၏ နှစ်သက်မှုအမှတ်။
structured_prompt.photographic_characteristicsရွေးချယ်နိုင်သည်
အမျိုးအစားobject
ဖန်တီးထားသောပုံအတွက် ဓာတ်ပုံဆိုင်ရာ အရည်အသွေးများ။
structured_prompt.photographic_characteristics.depth_of_fieldရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံအတွက် field of depth။
structured_prompt.photographic_characteristics.focusရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံအတွက် focus။
structured_prompt.photographic_characteristics.camera_angleရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံအတွက် ကင်မရာထောင့်။
structured_prompt.photographic_characteristics.lens_focal_lengthရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
focal length ဖြင့် ဖော်ပြထားသော ဖန်တီးထားသောပုံအတွက် lens setting။
structured_prompt.style_mediumရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံအတွက် အနုပညာဖော်ပြမှုပုံစံ။
structured_prompt.text_renderရွေးချယ်နိုင်သည်
အမျိုးအစားany[]
မူလတန်ဖိုး[]
ပုံထဲတွင် ထည့်သွင်းမည့် စာသားများ၏ စာရင်း။
structured_prompt.contextရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံအတွက် အကြောင်းအရာနောက်ခံ။
structured_prompt.artistic_styleရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
ဖန်တီးထားသောပုံအတွက် အနုပညာပုံစံ။
structured_prompt.trigger_wordရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
structured_prompt.sub_trigger_wordရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
structured_prompt.art_directionရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
structured_prompt.action_descriptionရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
structured_prompt.actor_prefixရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
image_urlရွေးချယ်နိုင်သည် image
အမျိုးအစားurl · image
ဖိုင် သို့မဟုတ် URL အဖြစ် ပေးပို့သည့် ကိုးကားပုံ။
seedရွေးချယ်နိုင်သည်
အမျိုးအစားinteger
မူလတန်ဖိုး5555
တူညီသောရလဒ်များ ပြန်လည်ရရှိရန် ကျပန်းဖြစ်မှုကို ထိန်းချုပ်သည့် seed။
လိုအပ်သည် စံအမည်၊ ထို့အပြင် လက်ခံသည်

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

ထွက်ရလဒ်

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bria/fibo/generate/structured_prompt",
  "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": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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",
      "aesthetic_score": "string",
      "preference_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"
  },
  "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.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 များ
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, aesthetic_score, preference_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ဖန်တီးထားသောပုံအတွက် အနုပညာပုံစံ။

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

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