ᡤᡝᠯᡳ ᡩᡝ ᠵᡠᠸᡝᠨ

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.com/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

ᡝᠨᡳ ᠵᠠᠯᡳᠨ: $0.01 10 API ᠺᠷᡝᡩᡳᠲ ᡝᡵᡝ ᠵᠠᠯᡳᠨᡩᡝ ᠠᠰᡠᠮᠪᡳ

API ᡩᠠᠮᡠᠨ ᡤᠠᠯᠠ
Bria AI LLM #structured-prompt-generation#fibo-edit#json

ᠠᠰᡥᠠᡵᠠᠮᠪᡝ ᡤᡝᠯᡳ ᠵᠠᠯᠠᠨ JSON ᠵᠠᡵᡤᠠ ᡩᡝ ᠠᠮᠠᠯᡤᠠᠮᠪᡳ᠂ ᡳᠮᠪᡝ ᠣᠪᡠᠮᠪᡠᠷᡝ

Bria AI · ᡩᠠᡳᠯᠠᠮᡝ (JSON)

ᡳᠨᡝ ᡝᠮᡠᠨᡳᠩᡤᡝ ᡝᡵᡝᠮᡝ ᡩᡝ

ᡝᡵᡝ ᠵᡠᠯᡝᠨ ᡩᡝ ᡤᡝᡪᡳᠯᡝᠨ ᠪᠠᠶᠠᠨᠠᠮᡝ ᠠᠮᡪᠠᠯᠠ ᡶᡳᠯᡝᠮᡝ ᠪᡝᠶᡝᠮᡝ᠃ API ᠵᡳᡵᡤᠠᡳ ᡤᠠᡳᡥᠠᡩᡝ ᡤᡝᡪᡳᠯᡝᠨ ᠵᠠᠯᠠᠨᠠᠮᡝ ᠪᡠᠶᡝᠮᡝ ᠮᡠᠰᡝᡳ ᠰᡠᠯᡠᠨᡩᡝ ᠪᠠᠶᠠᠨᠠᠮᡝ᠂ ᠝ᠮᡤᡳ ᠮᡠᠰᡝ ᠠᠶᠠᠨ 7 ᡥᠠᠨ ᠰᠠᡳᠨᠠᠮᡝ᠃

ᡤᡳᠰᡠᠨ ᠪᡠᠶᡝᠮᡝ

ᠵᠠᡴᡠᠨᡳ ᠵᡠᠯᡝ ᡩᡝᡵᡤᡳ ᡩᡝᠪᡝᠰᡠᠮᡝ ᠵᡠᠯᡤᡝ ᠪᡠᠶᡝᠮᡝ᠈ ᡳᠨᡳ ᡤᡳᠰᡠᠨ ᠪᠠᡳ ᡝᠨᡝᠩᡤᡳ ᠠᠮᠪᡳ

ᠵᡠᠯᡤᡝ ᠵᡝᡵᡤᡳ instruction · image · mask · seed

ᡤᠠᠳᠠᠨᡳ ᠵᠠᠰᠠᡴᡳ ᠵᠠᠯᡳᠨ ᠵᠠᠰᠠᠨ.

image_url
ᠪᡠᠮᠪᡳ ᡝᠮᡠ ᡩᠠᡵᠠᠮᡝ

ᡶᡳᠯᡝ ᠪᡠᠶᡝ ᠰᠠᠮᠪᡳ ᠠᠰᡥᠠᠨ ᠵᠠᠯᡳᠨ ᠵᠠᠯᠠᠨᡳ ᠵᡳᠯᠠᠨ ᠤᠯᡥᡳᠶᡝᠮᡝ.

mask_url
ᠪᡠᠮᠪᡳ ᡝᠮᡠ ᡩᠠᡵᠠᠮᡝ

ᠠᠰᡥᠠᠨ ᠵᠠᠯᡳᠨᡳ ᠮᠠᠰᡴᠠ, ᡶᡳᠯᡝ ᠪᡠᠶᡝ URL ᠰᡳ ᠣᠨᠣᠯᠣᠮᠪᡳ.

ᠵᡠᠯᡝ 5555

ᠨᠠᠮᡠ ᡨᡠᡶᡳ ᠵᠠᠯᡤᠠᠶᡳ ᡝᠮᡤᡝᠯᡝᠮᡝ ᠵᡠᠯᡝ᠈

POST /run/bria/fibo-edit/edit/structured_instruction?wait=20 ᠵᠠᠯᡳᠨ → $0.01
# 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/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

ᡝᠨᡳ ᠵᠠᠯᡳᠨ ᠪᡝ ᠵᠠᠯᠠᠨᠠᠮᡝ

ᡳᠨᡝ ᠵᠠᠯᠠᠨ ᡝᡵᡝ ᠪᡠᡵᡝᠪᡝᡵᡳ ᡩᡝ ᠪᡳᠮᡝ᠈ Doitong API ᡩᡝ ᠵᡝᠯᡤᡳ ᡩᠠᡵᠠᠮᡝ᠈ Remember ᠵᡠᠯᡝᠮᡝ ᡤᡳᠯᠠᠮᡝ localStorage ᡩᡝ ᠰᡠᠯᡝᠮᡝ ᠪᡳᠮᡝ API ᠵᠠᠯᠠᠨ ᠠᠪᠠᠮᡝ

Fibo Edit [Structured Instruction] ᡠᡵᡝᠮᡝ

ᠠᠰᡥᠠᡵᠠᠮᠪᡝ ᠵᠠᠯᠠᠨ ᠪᡝ ᠪᠠᡵᡠᠮᠪᡠᠷᡝ ᠵᠠᠯᠠᠨ ᡳ ᠵᠠᡵᡤᠠ ᠵᠠᠪᡠᠨ ᠪᡠᠶᡝᠨ ᠪᡝ ᠪᠠᡵᡠᠮᠪᡳ᠉ ᠠᠯᡳᠨ `image_url`᠂ `mask_url`᠂ `instruction` ᠵᠠᡳ `seed` ᠪᡝ ᠣᠯᡥᠣᠮᠪᡳ᠉ JSON ᠵᠠᠯᠠᠨ ᡳ ᠵᠠᡵᡤᠠ ᠣᠪᡠᠯᠠᠨᠠᠮᠪᡳ ᠰᡝᠮᡝ ᠵᠠᡵᡤᠠᠨ᠂ ᠵᠠᠯᡠᠨ ᡤᡝᠮᡠ᠂ ᠠᠰᡥᠠᡵᠠᠨ ᠵᠠᡵᡤᠠ᠂ ᠵᡠᠰᡳ ᡳ ᡨᠠᠴᡳᠯᠠᠨ᠂ ᠮᡠᠶᠠᡥᠠ ᡳ ᠴᡳᠯᡤᠠᠨ ᠵᠠᡳ ᡤᡝᠪᡠ ᠪᡝ ᠪᠠᠨᠵᡳᠮᠪᡳ᠉

ᠵᠠᡴᡠᠨ

ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ ᠵᡝᠯᡤᡳ ᠠᠪᠠᠮᠪᡳ᠈ ᠨᡝᠮᡝ ᠮᡠᠰᡝ ᡠᠯᠠᠮᠪᡳ ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ

ᠵᡝᡵᡤᡳᡠᠯᠠᠮᡝ ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝᠠᠪᠠᠮᡝ ᠵᠠᠪᡠᠨ ᠵᠠᠯᠠᠨᡳ ᡤᡳᠰᡠᠨ
image_urlᠵᡠᠯᡝ image
ᡠᠯᠠᠮᡝurl · image
ᡶᡳᠯᡝ ᠪᡠᠶᡝ ᠰᠠᠮᠪᡳ ᠠᠰᡥᠠᠨ ᠵᠠᠯᡳᠨ ᠵᠠᠯᠠᠨᡳ ᠵᡳᠯᠠᠨ ᠤᠯᡥᡳᠶᡝᠮᡝ.
mask_urlᠵᡠᠯᡝ mask
ᡠᠯᠠᠮᡝurl · image
ᠠᠰᡥᠠᠨ ᠵᠠᠯᡳᠨᡳ ᠮᠠᠰᡴᠠ, ᡶᡳᠯᡝ ᠪᡠᠶᡝ URL ᠰᡳ ᠣᠨᠣᠯᠣᠮᠪᡳ.
instructionᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝstring | null
ᡤᠠᠳᠠᠨᡳ ᠵᠠᠰᠠᡴᡳ ᠵᠠᠯᡳᠨ ᠵᠠᠰᠠᠨ.
seedᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ5555
ᠨᠠᠮᡠ ᡨᡠᡶᡳ ᠵᠠᠯᡤᠠᠶᡳ ᡝᠮᡤᡝᠯᡝᠮᡝ ᠵᡠᠯᡝ᠈
ᡴᠠᠷᠠᡴᡡ ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ᠈ ᠮᡠᠰᡝ ᡝᠮᡠ ᠠᠪᠠᠮᠪᡳ

ᠪᡠᠮᠪᡳᠯᡝᠰᡝ ᡝᠮᡠ ᡤᡝᠮᡠᠨᡳ 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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
ᡤᡝᠯᡝᠮᡝ ᡥᡡᠯᡤᡠᠨᡳ ᡳᠨᡠᡝᠯᡝᡥᡝ outputs[].url ᠰᡠᠯᡠᠨ ᡩᡝ ᠰᡳᡵᡝ ᡶᡳᠯᡝ᠈ ᠝ᠮᡤᡳ ᠮᡠᠰᡝ ᠠᠪᠠᠯᡳ ᠵᡝᠮᡤᡳᠨ GB-ᠪᡳᠶᠠ ᠵᡝᠮᡤᡳᠨ ᠪᡝ ᡝᠮᡠᠯᡝᠮᡝ ᠠᠪᠠᠯᡳ 7 ᡥᠠᠨ ᠰᡳᠯᡤᠠᠨ ᡩᡝ᠈ ᠰᡳᠨᡳ ᠪᠠᠯᠠᠨᠰᡳ ᠵᡠᠶᡝᡵᡝᠨ ᠠᠪᠠᠯᡳ ?storage= ᡩᡝ ᡝᠵᡝᠨ ᡥᠠᠯᠠᠮᡝ᠉
ᡝᠮᡠ ᡤᡳᠰᡠᠨ ᡝᠮᡠ ᠮᠣᡩᡝᠯ ᡩᡝtype, url, content_type, width, height ᠮᠠᠩᡤᡳ duration᠈ ᠵᠠᠯᠠᠨ᠈ ᠪᡠᠵᡠᠮᠪᡳ ᠮᠠᠩᡤᡳ ᠵᡝᡵᡤᡳ ᡩᡝᠨᡳ᠈ output ᠮᠣᡩᡝᠯᡳᠨᡳ ᡝᠮᡠ ᠵᠠᠯᠠᠨ
ᠪᡠᠶᡝᠮᡝᠨᡳ ᡤᡳᠰᡠᠨ
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/mnc/developers/models/bria/fibo-edit/edit/structured_instruction.md. ᡝᡵᡝ ᠮᠣᡩᡝᠯ ᠵᠠᡴᡠᠨ ᠰᡠᠯᡠᠮᡝ https://doitong.com/developers/llms.txt