Peke ki ngā ihirangi

Fibo

Whakauru

id tauira 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"

Tēnei tono: $ 0.04 40 whiwhinga API · ≈ ₽ 4.22 Whakahaerehia ki tēnei whārangi

Tikina he kī API
Bria AI Kuputuhi ki te Atahanga #bria#fibo#prompt-adherence

He tauira kuputuhi-ki-whakaahua e whakahaerehia ana e ngā tohutohu māori, JSON rānei kua hanganga, me te whakaahua tohutoro kōwhiringa me te putanga 1MP, 4MP rānei

Bria AI · Atahanga

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

Tohutohu i whakamahia hei whakaputa atahanga.

aspect_ratio taunoa 1:1

Ōwehenga āhuatanga atahanga; ko ngā uara e wātea ana ko 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9.

resolution taunoa 1MP

Te taumira o te atahanga whakaputaina.

Arā atu negative_prompt · image · steps_num · seed · structured_prompt
taunoa

Tohutohu tōraro i whakamahia mō te whakaputa atahanga.

image_url
Whakataka he kōnae,

Atahanga tohutoro i tukuna hei kōnae, hei URL rānei.

taunoa 50

Te tatau katoa o ngā hipanga inference.

taunoa 5555

Kākano hei whakahaere i te matapōkeretanga mō ngā putanga ka taea te tārua.

Tohutohu hanganga i whakamahia mō te whakaputanga atahanga.

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

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Fibo

Ka waihanga whakaahua mai i `prompt`, i `structured_prompt` JSON rānei, ā, ka taea te whakamahi i tētahi whakaahua tohutoro mā `image_url`. Ko `resolution` he 1MP, 4MP rānei, ko te awhe o `steps_num` mai i te 20 ki te 50, ā, e iwa ngā ōwehenga āhuatanga. Ka tautoko hoki i `negative_prompt` me `seed`, ā, ka whakahoki i te tohutohu hanganga i whakamahia.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
promptkōwhiringa
Momostring | null
Tohutohu i whakamahia hei whakaputa atahanga.
structured_promptkōwhiringa
Momoobject
Tohutohu hanganga i whakamahia mō te whakaputanga atahanga.
structured_prompt.short_descriptionkōwhiringa
Momostring | null
Whakamārama poto o te atahanga putanga e whāia ana.
structured_prompt.objectskōwhiringa
Momoobject[]
Taunoa[]
Tauwhāitihia ngā ihirangi o te atahanga whakaputaina hei rārangi, me te tuhi i ngā āhuatanga o ia ahanoa me ō rātou hononga ki ērā atu ahanoa kua whakaaturia.
structured_prompt.objects[].descriptionkōwhiringa
Momostring | null
Whakamārama o te ahanoa putanga e whāia ana.
structured_prompt.objects[].locationkōwhiringa
Momostring | null
Te tūnga o te ahanoa i roto i te atahanga.
structured_prompt.objects[].relationshipe hiahiatia ana
Momostring
Te hononga o te ahanoa ki ērā atu ahanoa o te atahanga.
structured_prompt.objects[].relative_sizekōwhiringa
Momostring | null
Te rahinga o te ahanoa e pā ana ki te atahanga.
structured_prompt.objects[].shape_and_colorkōwhiringa
Momostring | null
Te āhua me te tae o te ahanoa.
structured_prompt.objects[].texturekōwhiringa
Momostring | null
Te kakano o te ahanoa.
structured_prompt.objects[].appearance_detailskōwhiringa
Momostring | null
Ngā taipitopito e whakaahua ana i te āhua o te ahanoa.
structured_prompt.objects[].number_of_objectskōwhiringa
Momointeger | null
Te tatau o ngā ahanoa i roto i te atahanga.
structured_prompt.objects[].posekōwhiringa
Momostring | null
Te tū āhua o te ahanoa kua whakaaturia.
structured_prompt.objects[].expressionkōwhiringa
Momostring | null
Te āhua kanohi o te ahanoa kua whakaaturia.
structured_prompt.objects[].clothingkōwhiringa
Momostring | null
Ngā kākahu e mau ana te ahanoa kua whakaaturia.
structured_prompt.objects[].actionkōwhiringa
Momostring | null
Te mahi a te ahanoa kua whakaaturia.
structured_prompt.objects[].genderkōwhiringa
Momostring | null
Te ira tangata o te ahanoa kua whakaaturia.
structured_prompt.objects[].skin_tone_and_texturekōwhiringa
Momostring | null
Te kakano me te tae kiri o te ahanoa kua whakaaturia.
structured_prompt.objects[].orientationkōwhiringa
Momostring | null
Te aronga o te ahanoa kua whakaaturia.
structured_prompt.background_settingkōwhiringa
Momostring | null
Te papamuri o te atahanga whakaputaina.
structured_prompt.lightingkōwhiringa
Momoobject
Te rama mō te atahanga whakaputaina.
structured_prompt.lighting.conditionskōwhiringa
Momostring | null
Ngā tikanga rama mō te atahanga whakaputaina.
structured_prompt.lighting.directionkōwhiringa
Momostring | null
Te ahunga rama mō te atahanga whakaputaina.
structured_prompt.lighting.shadowskōwhiringa
Momostring | null
Ngā atarangi hei whakaatu ki te atahanga whakaputaina.
structured_prompt.aestheticskōwhiringa
Momoobject
Ngā kounga rerehua mō te atahanga whakaputaina.
structured_prompt.aesthetics.compositionkōwhiringa
Momostring | null
Te whakatakotoranga o te atahanga whakaputaina.
structured_prompt.aesthetics.color_schemekōwhiringa
Momostring | null
Te huinga tae mō te atahanga whakaputaina.
structured_prompt.aesthetics.mood_atmospherekōwhiringa
Momostring | null
Te wairua me te āhua o te taiao mō te atahanga whakaputaina.
structured_prompt.aesthetics.aesthetic_scorekōwhiringa
Momostring | null
Kaute rerehua mō te atahanga e whakaputaina ana.
structured_prompt.aesthetics.preference_scorekōwhiringa
Momostring | null
Kaute manakohanga mō te atahanga e whakaputaina ana.
structured_prompt.photographic_characteristicskōwhiringa
Momoobject
Ngā āhuatanga whakaahua mō te atahanga whakaputaina.
structured_prompt.photographic_characteristics.depth_of_fieldkōwhiringa
Momostring | null
Te hōhonu o te wāhi arotahi mō te atahanga whakaputaina.
structured_prompt.photographic_characteristics.focuskōwhiringa
Momostring | null
Te arotahi mō te atahanga whakaputaina.
structured_prompt.photographic_characteristics.camera_anglekōwhiringa
Momostring | null
Te koki kāmera mō te atahanga whakaputaina.
structured_prompt.photographic_characteristics.lens_focal_lengthkōwhiringa
Momostring | null
Tautuhinga arotahi mō te atahanga whakaputaina, ka whakaaturia hei roa arotahi.
structured_prompt.style_mediumkōwhiringa
Momostring | null
Te momo toi mō te atahanga whakaputaina.
structured_prompt.text_renderkōwhiringa
Momoany[]
Taunoa[]
Rārangi tāurunga kuputuhi hei whakauru ki te atahanga.
structured_prompt.contextkōwhiringa
Momostring | null
Horopaki mō te atahanga whakaputaina.
structured_prompt.artistic_stylekōwhiringa
Momostring | null
Te kāhua toi mō te atahanga whakaputaina.
structured_prompt.trigger_wordkōwhiringa
Momostring | null
structured_prompt.sub_trigger_wordkōwhiringa
Momostring | null
structured_prompt.art_directionkōwhiringa
Momostring | null
structured_prompt.action_descriptionkōwhiringa
Momostring | null
structured_prompt.actor_prefixkōwhiringa
Momostring | null
image_urlkōwhiringa image
Momourl · image
Atahanga tohutoro i tukuna hei kōnae, hei URL rānei.
seedkōwhiringa
Momointeger
Taunoa5555
Kākano hei whakahaere i te matapōkeretanga mō ngā putanga ka taea te tārua.
steps_numkōwhiringa
Momointeger
Taunoa50
20 – 50
Te tatau katoa o ngā hipanga inference.
aspect_ratiokōwhiringa
Momoenum
Taunoa1:1
1:12:33:23:44:34:55:49:1616:9
Ōwehenga āhuatanga atahanga; ko ngā uara e wātea ana ko 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9.
negative_promptkōwhiringa
Momostring
Taunoa
Tohutohu tōraro i whakamahia mō te whakaputa atahanga.
resolutionkōwhiringa
Momoenum
Taunoa1MP
1MP4MP
Te taumira o te atahanga whakaputaina.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

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"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
image
object {url, content_type, file_name, file_size, width, height}Atahanga i whakaputaina e te tauira.
images
array of objectNgā atahanga i whakaputaina.
structured_prompt
objectTohutohu e whakamahia ana i tēnei wā.

Ētahi atu tauira: Kuputuhi ki te Atahanga

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/bria/fibo/generate.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt