Neidio i'r cynnwys

Fibo

Integreiddio

ID y model bria/fibo/generate
# 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/generate?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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.04 40 o gredydau API · ≈ ₽4.22 Ei redeg ar y dudalen hon

Cael allwedd API
Bria AI Testun i Ddelwedd #bria#fibo#prompt-adherence

Model testun-i-ddelwedd wedi'i yrru gan anogwyr plaen neu JSON strwythuredig, gyda delwedd gyfeirio ddewisol ac allbwn 1MP neu 4MP

Bria AI · Delwedd

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.

Anogiad a ddefnyddiwyd i gynhyrchu delweddau.

aspect_ratio rhagosodedig 1:1

Cymhareb agwedd delwedd; y gwerthoedd sydd ar gael yw 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9.

resolution rhagosodedig 1MP

Cydraniad y ddelwedd a gynhyrchir.

Uwch negative_prompt · image · steps_num · seed · structured_prompt
rhagosodedig

Anogiad negyddol a ddefnyddir wrth gynhyrchu delweddau.

image_url
Gollyngwch ffeil, neu

Delwedd gyfeirio a ddarperir fel ffeil neu URL.

rhagosodedig 50

Cyfanswm y camau casglu.

rhagosodedig 5555

Hadau sy'n rheoli haprwydd er mwyn atgynhyrchu canlyniadau.

Anogiad strwythuredig a ddefnyddir ar gyfer cynhyrchu delwedd.

POST /run/bria/fibo/generate?wait=20 dyfynbris → $0.04
# 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/generate?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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

Yn cynhyrchu delweddau o `prompt` neu o `structured_prompt` JSON, a gall dderbyn delwedd gyfeirio drwy `image_url`. Mae `resolution` yn 1MP neu 4MP, mae `steps_num` yn amrywio o 20 i 50, ac mae naw cymhareb agwedd ar gael. Mae hefyd yn cefnogi `negative_prompt` a `seed`, ac yn dychwelyd yr anogwr strwythuredig a ddefnyddiodd.

Paramedrau

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

EnwMath RhagosodedigCaniateir Disgrifiad
promptdewisol
Mathstring | null
Anogiad a ddefnyddiwyd i gynhyrchu delweddau.
structured_promptdewisol
Mathobject
Anogiad strwythuredig a ddefnyddir ar gyfer cynhyrchu delwedd.
structured_prompt.short_descriptiondewisol
Mathstring | null
Disgrifiad byr o'r ddelwedd allbwn arfaethedig.
structured_prompt.objectsdewisol
Mathobject[]
Rhagosodedig[]
Nodwch gynnwys y ddelwedd a gynhyrchir fel rhestr, gan gofnodi priodoleddau pob gwrthrych a'i berthynas â'r gwrthrychau eraill a ddangosir.
structured_prompt.objects[].descriptiondewisol
Mathstring | null
Disgrifiad o'r gwrthrych allbwn arfaethedig.
structured_prompt.objects[].locationdewisol
Mathstring | null
Safle'r gwrthrych yn y ddelwedd.
structured_prompt.objects[].relationshipgofynnol
Mathstring
Perthynas y gwrthrych â gwrthrychau eraill y ddelwedd.
structured_prompt.objects[].relative_sizedewisol
Mathstring | null
Maint y gwrthrych mewn perthynas â'r ddelwedd.
structured_prompt.objects[].shape_and_colordewisol
Mathstring | null
Siâp a lliw'r gwrthrych.
structured_prompt.objects[].texturedewisol
Mathstring | null
Gwead y gwrthrych.
structured_prompt.objects[].appearance_detailsdewisol
Mathstring | null
Manylion sy'n disgrifio golwg y gwrthrych.
structured_prompt.objects[].number_of_objectsdewisol
Mathinteger | null
Nifer y gwrthrychau yn y ddelwedd.
structured_prompt.objects[].posedewisol
Mathstring | null
Ystum y gwrthrych a ddangosir.
structured_prompt.objects[].expressiondewisol
Mathstring | null
Mynegiant y gwrthrych a ddangosir.
structured_prompt.objects[].clothingdewisol
Mathstring | null
Dillad y gwrthrych a ddangosir.
structured_prompt.objects[].actiondewisol
Mathstring | null
Gweithred a gyflawnir gan y gwrthrych a ddangosir.
structured_prompt.objects[].genderdewisol
Mathstring | null
Rhyw y gwrthrych a ddangosir.
structured_prompt.objects[].skin_tone_and_texturedewisol
Mathstring | null
Gwead a thôn croen y gwrthrych a ddangosir.
structured_prompt.objects[].orientationdewisol
Mathstring | null
Cyfeiriadedd y gwrthrych a ddangosir.
structured_prompt.background_settingdewisol
Mathstring | null
Gosodiad cefndir ar gyfer y ddelwedd a gynhyrchir.
structured_prompt.lightingdewisol
Mathobject
Goleuadau ar gyfer y ddelwedd a gynhyrchir.
structured_prompt.lighting.conditionsdewisol
Mathstring | null
Amodau goleuo ar gyfer y ddelwedd a gynhyrchir.
structured_prompt.lighting.directiondewisol
Mathstring | null
Cyfeiriad y goleuni ar gyfer y ddelwedd a gynhyrchir.
structured_prompt.lighting.shadowsdewisol
Mathstring | null
Cysgodion i'w dangos yn y ddelwedd a gynhyrchir.
structured_prompt.aestheticsdewisol
Mathobject
Rhinweddau esthetig ar gyfer y ddelwedd a gynhyrchir.
structured_prompt.aesthetics.compositiondewisol
Mathstring | null
Cyfansoddiad y ddelwedd a gynhyrchir.
structured_prompt.aesthetics.color_schemedewisol
Mathstring | null
Palet lliwiau ar gyfer y ddelwedd a gynhyrchir.
structured_prompt.aesthetics.mood_atmospheredewisol
Mathstring | null
Naws ac awyrgylch y ddelwedd a gynhyrchir.
structured_prompt.aesthetics.aesthetic_scoredewisol
Mathstring | null
Sgôr esthetig ar gyfer y ddelwedd sy'n cael ei chynhyrchu.
structured_prompt.aesthetics.preference_scoredewisol
Mathstring | null
Sgôr dewis ar gyfer y ddelwedd sy'n cael ei chynhyrchu.
structured_prompt.photographic_characteristicsdewisol
Mathobject
Priodweddau ffotograffig y ddelwedd a gynhyrchir.
structured_prompt.photographic_characteristics.depth_of_fielddewisol
Mathstring | null
Dyfnder maes y ddelwedd a gynhyrchir.
structured_prompt.photographic_characteristics.focusdewisol
Mathstring | null
Ffocws y ddelwedd a gynhyrchir.
structured_prompt.photographic_characteristics.camera_angledewisol
Mathstring | null
Ongl camera'r ddelwedd a gynhyrchir.
structured_prompt.photographic_characteristics.lens_focal_lengthdewisol
Mathstring | null
Gosodiad lens ar gyfer y ddelwedd a gynhyrchir, wedi'i fynegi fel hyd ffocal.
structured_prompt.style_mediumdewisol
Mathstring | null
Cyfrwng arddull y ddelwedd a gynhyrchir.
structured_prompt.text_renderdewisol
Mathany[]
Rhagosodedig[]
Rhestr o gofnodion testun i'w cynnwys yn y ddelwedd.
structured_prompt.contextdewisol
Mathstring | null
Cyd-destun y ddelwedd a gynhyrchir.
structured_prompt.artistic_styledewisol
Mathstring | null
Arddull artistig y ddelwedd a gynhyrchir.
structured_prompt.trigger_worddewisol
Mathstring | null
structured_prompt.sub_trigger_worddewisol
Mathstring | null
structured_prompt.art_directiondewisol
Mathstring | null
structured_prompt.action_descriptiondewisol
Mathstring | null
structured_prompt.actor_prefixdewisol
Mathstring | null
image_urldewisol image
Mathurl · image
Delwedd gyfeirio a ddarperir fel ffeil neu URL.
seeddewisol
Mathinteger
Rhagosodedig5555
Hadau sy'n rheoli haprwydd er mwyn atgynhyrchu canlyniadau.
steps_numdewisol
Mathinteger
Rhagosodedig50
20 – 50
Cyfanswm y camau casglu.
aspect_ratiodewisol
Mathenum
Rhagosodedig1:1
1:12:33:23:44:34:55:49:1616:9
Cymhareb agwedd delwedd; y gwerthoedd sydd ar gael yw 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9.
negative_promptdewisol
Mathstring
Rhagosodedig
Anogiad negyddol a ddefnyddir wrth gynhyrchu delweddau.
resolutiondewisol
Mathenum
Rhagosodedig1MP
1MP4MP
Cydraniad y ddelwedd a gynhyrchir.
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/generate",
  "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": 40,
    "usd": "0.04",
    "charged": 40,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "image": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768
    },
    "images": [
      {}
    ],
    "structured_prompt": {}
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "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
image
object {url, content_type, file_name, file_size, width, height}Delwedd a gynhyrchir gan y model.
images
array of objectDelweddau a gynhyrchir.
structured_prompt
objectAnogiad a ddefnyddir ar hyn o bryd.

Mwy o fodelau: Testun i Ddelwedd

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