Léim chuig an ábhar

Fibo

Comhtháthú

Aitheantas na samhla 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.com/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

An t-iarratas seo: $0.04 40 gcreidmheas API Rith ar an leathanach seo

Faigh eochair API
Bria AI Téacs go hÍomhá #bria#fibo#prompt-adherence

Múnla téacs-go híomhá faoi stiúir leideanna simplí nó struchtúrtha JSON, le híomhá thagartha roghnach agus aschur 1MP nó 4MP

Bria AI · Íomhá

Beidh do chéad toradh anseo

Tóg iarratas thíos agus rith é le d’eochair API. Cóipeáiltear na haschuir chuig ár stóráil, coinnithe go deo nó ar feadh 7 lá saor in aisce.

Tóg iarratas

Gintear na rialtáin ó scéim na samhla. Nuashonraítear an cód agus an praghas de réir mar a athraíonn tú iad.

Leid a úsáideadh chun íomhánna a ghiniúint.

aspect_ratio réamhshocrú 1:1

Cóimheas gné íomhá; is iad na luachanna atá ar fáil 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9.

resolution réamhshocrú 1MP

Taifeach na híomhá ginte.

Ardleibhéal negative_prompt · image · steps_num · seed · structured_prompt
réamhshocrú

Leid dhiúltach a úsáideadh agus íomhánna á nginiúint.

image_url
Scaoil comhad, nó

Íomhá thagartha a sholáthraítear mar chomhad nó URL.

réamhshocrú 50

Líon iomlán na gcéimeanna tátail.

réamhshocrú 5555

Síol a rialaíonn randamacht le torthaí in-atáirgthe.

Leid struchtúrtha a úsáideadh do ghiniúint íomhá.

POST /run/bria/fibo/generate?wait=20 luachan → $0.04
# 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/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Rith an t-iarratas seo

Fanann d'eochair sa bhrabhsálaí seo: seoltar chuig Doitong API amháin í agus sábháiltear (localStorage) í ach amháin má chuireann tú tic le Meabhraigh. Faigh eochair API

Maidir le Fibo

Gineann sé íomhánna ó `prompt` nó ó `structured_prompt` JSON, agus is féidir íomhá thagartha a thabhairt trí `image_url`. Is é `resolution` 1MP nó 4MP, raonta `steps_num` ó 20 go 50, agus tá naoi gcóimheas gné ar fáil. Tacaíonn sé freisin le `negative_prompt` agus `seed`, agus tugann sé an leid struchtúrtha a úsáideadh ar ais.

Paraiméadair

Seol an t-ainm canónach nó an t-ainm dúchasach, ní an dá cheann. Ainmneacha canónacha

AinmCineál RéamhshocrúCeadaithe Cur síos
promptroghnach
Cineálstring | null
Leid a úsáideadh chun íomhánna a ghiniúint.
structured_promptroghnach
Cineálobject
Leid struchtúrtha a úsáideadh do ghiniúint íomhá.
structured_prompt.short_descriptionroghnach
Cineálstring | null
Cur síos gairid ar an íomhá aschuir atá beartaithe.
structured_prompt.objectsroghnach
Cineálobject[]
Réamhshocrú[]
Sonraigh ábhar na híomhá ginte mar liosta, ag taifeadadh tréithe gach réada agus a ghaolta leis na réada eile a léirítear.
structured_prompt.objects[].descriptionroghnach
Cineálstring | null
Cur síos ar an réad aschuir atá beartaithe.
structured_prompt.objects[].locationroghnach
Cineálstring | null
Suíomh an réada laistigh den íomhá.
structured_prompt.objects[].relationshipriachtanach
Cineálstring
Gaol an réada le réada eile na híomhá.
structured_prompt.objects[].relative_sizeroghnach
Cineálstring | null
Méid an réada i gcoibhneas leis an íomhá.
structured_prompt.objects[].shape_and_colorroghnach
Cineálstring | null
Cruth agus dath an réada.
structured_prompt.objects[].textureroghnach
Cineálstring | null
Uigeacht an réada.
structured_prompt.objects[].appearance_detailsroghnach
Cineálstring | null
Sonraí a chuireann síos ar chuma an réada.
structured_prompt.objects[].number_of_objectsroghnach
Cineálinteger | null
Líon na réad san íomhá.
structured_prompt.objects[].poseroghnach
Cineálstring | null
Staidiúir an réada a léirítear.
structured_prompt.objects[].expressionroghnach
Cineálstring | null
An léiriú atá ar an réad a léirítear.
structured_prompt.objects[].clothingroghnach
Cineálstring | null
Éadaí atá á gcaitheamh ag an réad a léirítear.
structured_prompt.objects[].actionroghnach
Cineálstring | null
Gníomh a dhéanann an réad a léirítear.
structured_prompt.objects[].genderroghnach
Cineálstring | null
Inscne an réada a léirítear.
structured_prompt.objects[].skin_tone_and_textureroghnach
Cineálstring | null
Uigeacht agus ton craicinn an réada a léirítear.
structured_prompt.objects[].orientationroghnach
Cineálstring | null
Treoshuíomh an réada a léirítear.
structured_prompt.background_settingroghnach
Cineálstring | null
Suíomh cúlra na híomhá ginte.
structured_prompt.lightingroghnach
Cineálobject
Soilsiú na híomhá ginte.
structured_prompt.lighting.conditionsroghnach
Cineálstring | null
Coinníollacha soilsithe na híomhá ginte.
structured_prompt.lighting.directionroghnach
Cineálstring | null
Treo an tsolais sa íomhá ginte.
structured_prompt.lighting.shadowsroghnach
Cineálstring | null
Scáthanna le léiriú san íomhá ginte.
structured_prompt.aestheticsroghnach
Cineálobject
Cáilíochtaí aeistéitiúla na híomhá ginte.
structured_prompt.aesthetics.compositionroghnach
Cineálstring | null
Comhdhéanamh na híomhá ginte.
structured_prompt.aesthetics.color_schemeroghnach
Cineálstring | null
Pailéad dathanna na híomhá ginte.
structured_prompt.aesthetics.mood_atmosphereroghnach
Cineálstring | null
Giúmar agus atmaisféar na híomhá ginte.
structured_prompt.aesthetics.aesthetic_scoreroghnach
Cineálstring | null
Scór aeistéitiúil don íomhá atá á giniúint.
structured_prompt.aesthetics.preference_scoreroghnach
Cineálstring | null
Scór tosaíochta don íomhá atá á giniúint.
structured_prompt.photographic_characteristicsroghnach
Cineálobject
Airíonna grianghrafadóireachta na híomhá ginte.
structured_prompt.photographic_characteristics.depth_of_fieldroghnach
Cineálstring | null
Doimhneacht réimse na híomhá ginte.
structured_prompt.photographic_characteristics.focusroghnach
Cineálstring | null
Fócas na híomhá ginte.
structured_prompt.photographic_characteristics.camera_angleroghnach
Cineálstring | null
Uillinn ceamara na híomhá ginte.
structured_prompt.photographic_characteristics.lens_focal_lengthroghnach
Cineálstring | null
Socrú lionsa na híomhá ginte, sainráite mar fhad fócasach.
structured_prompt.style_mediumroghnach
Cineálstring | null
Meán stíle na híomhá ginte.
structured_prompt.text_renderroghnach
Cineálany[]
Réamhshocrú[]
Liosta iontrálacha téacs le cur san íomhá.
structured_prompt.contextroghnach
Cineálstring | null
Comhthéacs na híomhá ginte.
structured_prompt.artistic_styleroghnach
Cineálstring | null
Stíl ealaíonta na híomhá ginte.
structured_prompt.trigger_wordroghnach
Cineálstring | null
structured_prompt.sub_trigger_wordroghnach
Cineálstring | null
structured_prompt.art_directionroghnach
Cineálstring | null
structured_prompt.action_descriptionroghnach
Cineálstring | null
structured_prompt.actor_prefixroghnach
Cineálstring | null
image_urlroghnach image
Cineálurl · image
Íomhá thagartha a sholáthraítear mar chomhad nó URL.
seedroghnach
Cineálinteger
Réamhshocrú5555
Síol a rialaíonn randamacht le torthaí in-atáirgthe.
steps_numroghnach
Cineálinteger
Réamhshocrú50
20 – 50
Líon iomlán na gcéimeanna tátail.
aspect_ratioroghnach
Cineálenum
Réamhshocrú1:1
1:12:33:23:44:34:55:49:1616:9
Cóimheas gné íomhá; is iad na luachanna atá ar fáil 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9.
negative_promptroghnach
Cineálstring
Réamhshocrú
Leid dhiúltach a úsáideadh agus íomhánna á nginiúint.
resolutionroghnach
Cineálenum
Réamhshocrú1MP
1MP4MP
Taifeach na híomhá ginte.
riachtanach Ainm canónach, glactar leis freisin

Glacann paraiméadair chomhaid le URL poiblí https://, URI data: suas le 10 MB, nó file_url uaslódála. Comhaid

Aschur

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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Do chuid comhad, do roghaIs cóip ar ár stóráil é gach outputs[].url: coinnithe go deo (íoctha in aghaidh GB-mhí) nó ar feadh 7 lá saor in aisce, de réir shocrú do chuntais nó ?storage=.
An cruth céanna ar gach samhailtype, url, content_type, width, height agus duration, d'íomhánna, d'fhíseáin agus d'fhuaim araon. Is é output réad toraidh na samhla féin.
Réimsí aschuir
image
object {url, content_type, file_name, file_size, width, height}Íomhá a tháirgeann an tsamhail.
images
array of objectÍomhánna a tháirgtear leis an nginiúint.
structured_prompt
objectLeid atá in úsáid faoi láthair.

Tuilleadh samhlacha: Téacs go hÍomhá

Do ghníomhairí AI: tá an leathanach seo mar Markdown ag https://doitong.com/ga/developers/models/bria/fibo/generate.md. Gach samhail agus treoir: https://doitong.com/developers/llms.txt