Neidio i'r cynnwys

Fibo Edit [Structured Instruction]

Integreiddio

ID y model 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"

Y cais hwn: $0.01 10 o gredydau API · ≈ ₽1.05 Ei redeg ar y dudalen hon

Cael allwedd API
Bria AI · Data (JSON)

Mae eich canlyniad cyntaf yn mynd yma

Adeiladwch gais isod a'i redeg gyda'ch allwedd API. Mae allbynnau'n cael eu copïo i'n storio, wedi'u cadw am byth neu am 7 diwrnod am ddim.

Adeiladu cais

Cynhyrchir rheolyddion o sgema'r model. Mae'r cod a'r pris yn diweddaru wrth i chi eu newid.

Uwch instruction · image · mask · seed

Cyfarwyddyd sy'n disgrifio golygu'r ddelwedd.

image_url
Gollyngwch ffeil, neu

Delwedd gyfeirio a ddarperir fel ffeil neu URL.

mask_url
Gollyngwch ffeil, neu

Mwgwd dewisol ar gyfer y ddelwedd gyfeirio, wedi'i gyflenwi fel ffeil neu URL.

rhagosodedig 5555

Hadau sy'n rheoli haprwydd er mwyn atgynhyrchu canlyniadau.

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

Rhedeg y cais hwn

Mae'ch allwedd yn aros yn y porwr hwn: caiff ei hanfon at Doitong API yn unig a'i chadw (localStorage) dim ond os ticiwch Cofio. Cael allwedd API

Ynglŷn â Fibo Edit [Structured Instruction]

Yn cynhyrchu'r cyfarwyddyd strwythuredig ar gyfer golygiad yn unig, nid llun. Mae'r mewnbynnau'n cynnwys `image_url`, `mask_url`, `instruction` a `seed` dewisol. Mae allbwn JSON yn cwmpasu meysydd megis gwrthrychau, goleuo, estheteg, gosodiad y cefndir, nodweddion ffotograffig a thestun i'w rendro.

Paramedrau

Anfonwch naill ai'r enw canonaidd neu'r enw brodorol, nid y ddau. Enwau canonaidd

EnwMath RhagosodedigCaniateir Disgrifiad
image_urldewisol image
Mathurl · image
Delwedd gyfeirio a ddarperir fel ffeil neu URL.
mask_urldewisol mask
Mathurl · image
Mwgwd dewisol ar gyfer y ddelwedd gyfeirio, wedi'i gyflenwi fel ffeil neu URL.
instructiondewisol
Mathstring | null
Cyfarwyddyd sy'n disgrifio golygu'r ddelwedd.
seeddewisol
Mathinteger
Rhagosodedig5555
Hadau sy'n rheoli haprwydd er mwyn atgynhyrchu canlyniadau.
gofynnol Enw canonaidd, derbyniol hefyd

Mae paramedrau ffeil yn derbyn URL cyhoeddus https://, URI data: hyd at 10 MB, neu file_url uwchlwythiad. Ffeiliau

Allbwn

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"
  }
}
Eich ffeiliau, eich dewisMae pob outputs[].url yn gopi ar ein storio: wedi'i gadw am byth (telir fesul GB-mis) neu am 7 diwrnod am ddim, yn ôl gosodiad eich cyfrif neu ?storage=.
Yr un siâp ar bob modeltype, url, content_type, width, height a duration, ar gyfer delweddau, fideo a sain fel ei gilydd. Gwrthrych canlyniad y model ei hun yw output.
Meysydd yr allbwn
short_description
string | nullDisgrifiad byr o'r ddelwedd allbwn arfaethedig.
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} | nullNodwch gynnwys y ddelwedd a gynhyrchir fel rhestr, gan gofnodi priodoleddau pob gwrthrych a'i berthynas â'r gwrthrychau eraill a ddangosir.
background_setting
string | nullGosodiad cefndir ar gyfer y ddelwedd a gynhyrchir.
lighting
object {conditions, direction, shadows} | nullGoleuadau ar gyfer y ddelwedd a gynhyrchir.
aesthetics
object {composition, color_scheme, mood_atmosphere, preference_score, aesthetic_score} | nullRhinweddau esthetig ar gyfer y ddelwedd a gynhyrchir.
photographic_characteristics
object {depth_of_field, focus, camera_angle, lens_focal_length} | nullPriodweddau ffotograffig y ddelwedd a gynhyrchir.
style_medium
string | nullCyfrwng arddull y ddelwedd a gynhyrchir.
text_render
array of any | nullRhestr o gofnodion testun i'w cynnwys yn y ddelwedd.
context
string | nullCyd-destun y ddelwedd a gynhyrchir.
artistic_style
string | nullArddull artistig y ddelwedd a gynhyrchir.
edit_instruction
string | nullCyfarwyddyd sy'n disgrifio sut i olygu'r ddelwedd.

Mwy o fodelau: LLM

Ar gyfer asiantau AI: mae'r dudalen hon fel Markdown ar gael yn https://doitong.com/cy/developers/models/bria/fibo-edit/edit/structured_instruction.md. Pob model a chanllaw: https://doitong.com/developers/llms.txt