שפּרינגען צו אינהאַלט

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"

דער דאָזיקער ריקוועסט: ⁨$ 0.01⁩ 10 API־קרעדיטן · ≈ ⁨₽ 1.05⁩ לויפֿן עס אויף דער דאָזיקער בלאַט

באַקומען אַן API שליסל
Bria AI · דאַטן (JSON)

דאָ קומט אײַער ערשטער רעזולטאַט

בויט אונטן אַ בקשה און לויפט זי מיט אײַער API שליסל. רעזולטאַטן ווערן קאַפּירט צו אונדזער סטאָרידזש, געהאַלטן אויף אייביק אָדער 7 טעג אומזיסט.

בויען אַ בעטן

קאָנטראָלן ווערן דזשענערירט פֿון דעם מאָדעל־סכעמע. דער קאָד און דער פּרײַז דערהײַנטיקן זיך ווען איר ענדערט זיי.

פֿאָרגעשריטן instruction · image · mask · seed

אינסטרוקציע וואָס באַשרײַבט דעם בילד־עדיט.

image_url
לייגט אַרײַן אַ טעקע, אָדער

רעפֿערענץ־בילד צוגעשטעלט ווי פֿײַל אָדער 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.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 און אָפּגעהיט (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
סיד וואָס קאָנטראָלירט צופאַל פֿאַר רעפּראָדוצירבאַרע רעזולטאַטן.
פארלאנגט קאַנאָנישער נאָמען, אויך אַקצעפּטירט

טעקע־פּאַראַמעטערס נעמען אַן עפֿנטלעכע https:// URL, אַ data: URI ביז 10 MB, אָדער דעם 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־חודש) אָדער 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/yi/developers/models/bria/fibo-edit/edit/structured_instruction.md. אַלע מאָדעלן און גוידעס: https://doitong.com/developers/llms.txt