Njuolgga sisdollui

Fibo Edit [Structured Instruction]

Integrere

Modealla-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"

Dát ohcamuš: 0,01 $ 10 API-kreditta Vuodje dán siiddu alde

Oza API-čoavdaga
Bria AI · Diehtu (JSON)

Dát lea du vuosttaš bohtos

Daga jearaldaga vuolábealde ja vuodje dan iežat API-čoavddain. Boađusat kopierejuvvojit min vurkemii, bisuhuvvojit álo dahje 7 beaivvi nuvttá.

Ráhkat jearaldaga

Kontrollat ráhkaduvvojit modealla skeama vuođul. Koda ja haddi ođasmahttojuvvojit go rievddadat daid.

Viiddiduvvon instruction · image · mask · seed

Bagadus mii čilge gova dárkkisteami.

image_url
Luoitte fiilla, dahje

Referánsagovva addojuvvon fiilan dahje URL:an.

mask_url
Luoitte fiilla, dahje

Válljehuvvon maska referánsa-gova várás, čállojuvvon fiilan dahje URL:n.

standárda 5555

Seed mii stivre sluččadusa, nu ahte boađus sáhttá ođđasit ráhkaduvvot.

POST /run/bria/fibo-edit/edit/structured_instruction?wait=20 haddemearrádus → 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"

Geavat dán ohcamuša

Du key báhcá dán fierpmádatlogan: dat sáddejuvvo dušše Doitong API:ii ja vurkejuvvo (localStorage) dušše jos válljet Remember. Viečča API-keya

Dát lea Fibo Edit [Structured Instruction] birra

Ráhkada dušše rievdaninstruksuvnna struktuvrerejuvvon hámi, ii gova. Inputat leat eaktodáhtolaš `image_url`, `mask_url`, `instruction` ja `seed`. JSON-output gokčá giettiid nugo objeavttaid, čuovgga, estetihka, duogáža, fotografalaš iešvuođaid ja renderet čállosa.

Parametterat

Sádde kanonala nama dahje iežas nama, ii goappašiid. Kanonala namat

NammaŠládja StandárdaDohkkehuvvon Govvádus
image_urleaktodáhtolaš image
Šládjaurl · image
Referánsagovva addojuvvon fiilan dahje URL:an.
mask_urleaktodáhtolaš mask
Šládjaurl · image
Válljehuvvon maska referánsa-gova várás, čállojuvvon fiilan dahje URL:n.
instructioneaktodáhtolaš
Šládjastring | null
Bagadus mii čilge gova dárkkisteami.
seedeaktodáhtolaš
Šládjainteger
Standárda5555
Seed mii stivre sluččadusa, nu ahte boađus sáhttá ođđasit ráhkaduvvot.
gáibiduvvo Kanonala namma, maid sáhttá geavahit

Fiilaparametterat váldet almmolaš https:// URL:a, data: URI:a gitta 10 MB, dahje uploada file_url:a. Fiillat

Boađus

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"
  }
}
Du fiillat, du válljenJuohke outputs[].url lea kopia min vurkemis: bisuhuvvo álo (mákso GB-mánu mielde) dahje 7 beaivvi nuvttá, du konto­o heiveheami dahje ?storage= mielde.
Seammá hápmi juohke modeallastype, url, content_type, width, height ja duration, govvii, videoii ja jienai seammá ládje. output lea modealla iežas boađusobjekta.
Outputa giettit
short_description
string | nullOanehis čilgehus dárbbašlaš boađusgova birra.
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Čájet ráhkaduvvon gova sisdoalu listtan, čáli juohke dávviriid iežas iešvuođaid ja gaskavuođaid eará čájehuvvon dávviriidda.
background_setting
string | nullRáhkaduvvon gova duogášdilli.
lighting
object {conditions, direction, shadows} | nullRáhkaduvvon gova čuovga.
aesthetics
object {composition, color_scheme, mood_atmosphere, preference_score, aesthetic_score} | nullRáhkaduvvon gova estetiihkalaš iešvuođat.
photographic_characteristics
object {depth_of_field, focus, camera_angle, lens_focal_length} | nullRáhkaduvvon gova fotografalaš iešvuođat.
style_medium
string | nullRáhkaduvvon gova dáiddalaš medium.
text_render
array of any | nullTeakstaoččaid listu maid galgá govvii bidjat.
context
string | nullRáhkaduvvon gova konteksta.
artistic_style
string | nullRáhkaduvvon gova dáiddalaš stiila.
edit_instruction
string | nullBagadus mii čilge mo govva galgá dárkkistuvvot.

Eanet modeallat: LLM

AI-agenttaide: dán siidu Markdowna lea dáppe https://doitong.com/se/developers/models/bria/fibo-edit/edit/structured_instruction.md. Buot modeallat ja ráđit: https://doitong.com/developers/llms.txt