Op den Inhalt sprangen

Fibo Edit [Structured Instruction]

Integréieren

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

Dës Ufro: 0,01 $ 10 API-Kreditter · ≈ 1,05 ₽ Op dëser Säit ausféieren

API-Schlëssel kréien
Bria AI · Donnéeën (JSON)

Äin éischt Resultat kënnt hei hin

Baut hei drënner eng Ufro a féiert se mat Ärem API-Schlëssel aus. Output gëtt an eis Späicherung kopéiert, fir ëmmer oder 7 Deeg gratis gespäichert.

Eng Ufro erstellen

D'Kontrolle ginn aus dem Modellschema generéiert. De Code an de Präis aktualiséiere sech, wann s du se ännerst.

Erweidert instruction · image · mask · seed

Instruktioun, déi d'Bild-Editing beschreift.

image_url
Fichier erofzéien, oder

Referenzbild, dat als Datei oder URL geliwwert gëtt.

mask_url
Fichier erofzéien, oder

Optional Mask fir d'Referenzbild, als Datei oder URL uginn.

Standard 5555

Seed, deen d'Zoufällegkeet fir reproduzéierbar Resultater steiert.

POST /run/bria/fibo-edit/edit/structured_instruction?wait=20 Präis → 0,01 $
# 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"

Dës Ufro ausféieren

Äre Schlëssel bleift an dësem Browser: e gëtt nëmmen un d'Doitong API geschéckt an nëmme gespäichert (localStorage), wann s du „Erënneren“ aktivéiers. En API-Schlëssel kréien

Iwwer Fibo Edit [Structured Instruction]

Generéiert nëmmen déi strukturéiert Instruktioun fir eng Ännerung, kee Bild. D'Inputs sinn en optionalen `image_url`, `mask_url`, `instruction` an `seed`. De JSON-Output deckt Felder of wéi Objeten, Beliichtung, Ästhetik, Hannergrondastellung, fotografesch Charakteristiken an ze renderenden Text.

Parameteren

Schéck entweder den kanoneschen Numm oder den natierlechen Numm, net béid. Kanonesch Nimm

NummTyp StandardErlaabt Beschreiwung
image_urloptional image
Typurl · image
Referenzbild, dat als Datei oder URL geliwwert gëtt.
mask_urloptional mask
Typurl · image
Optional Mask fir d'Referenzbild, als Datei oder URL uginn.
instructionoptional
Typstring | null
Instruktioun, déi d'Bild-Editing beschreift.
seedoptional
Typinteger
Standard5555
Seed, deen d'Zoufällegkeet fir reproduzéierbar Resultater steiert.
obligatoresch Kanoneschen Numm, och akzeptéiert

Fichierparameter akzeptéieren eng ëffentlech https:// URL, eng data: URI bis zu 10 MB oder de file_url vun engem Upload. Fichieren

Output

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"
  }
}
Är Fichieren, Är WielAll outputs[].url ass eng Kopie an eiser Späicherung: fir ëmmer gespäichert (bezuelbar pro GB-Mount) oder 7 Deeg gratis, jee no Ärer Kontastellung oder ?storage=.
D'selwecht Struktur bei all Modelltype, url, content_type, width, height an duration, fir Biller, Video an Audio gläichermoossen. output ass dem Modell säin eegent Resultatobjet.
Output-Felder
short_description
string | nullKuerz Beschreiwung vum geplangten Output-Bild.
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} | nullSpezifizéiert den Inhalt vum generéierte Bild als Lëscht, an där d'Attributer vun all Objet a seng Bezéiunge mat den aneren duergestallten Objete festgehale ginn.
background_setting
string | nullHannergrondëmfeld fir dat generéiert Bild.
lighting
object {conditions, direction, shadows} | nullBeliichtung fir dat generéiert Bild.
aesthetics
object {composition, color_scheme, mood_atmosphere, preference_score, aesthetic_score} | nullÄsthetesch Eegeschafte fir dat generéiert Bild.
photographic_characteristics
object {depth_of_field, focus, camera_angle, lens_focal_length} | nullFotografesch Eegeschafte vum generéierte Bild.
style_medium
string | nullStilistesch Technik fir dat generéiert Bild.
text_render
array of any | nullLëscht vun Texteinträg, déi an d'Bild opgeholl ginn.
context
string | nullKontext fir dat generéiert Bild.
artistic_style
string | nullKënschtleresche Stil fir dat generéiert Bild.
edit_instruction
string | nullInstruktioun, déi beschreift, wéi d'Bild geännert soll ginn.

Méi Modeller: LLM

Fir AI-Agenten: dës Säit als Markdown ass ënner https://doitong.com/lb/developers/models/bria/fibo-edit/edit/structured_instruction.md. All Modeller a Guiden: https://doitong.com/developers/llms.txt