Op den Inhalt sprangen

Fibo

Integréieren

Modell-ID 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"

Dës Ufro: 0,04 $ 40 API-Kreditter Op dëser Säit ausféieren

API-Schlëssel kréien
Bria AI Text zu Bild #bria#fibo#prompt-adherence

Text-zu-Bild-Modell op Basis vun einfachen oder strukturéierte JSON-Prompts, mat optionalem Referenzbild an 1MP- oder 4MP-Output

Bria AI · Bild

Äin éischt Resultat kënnt hei hin

Baut hei drënner eng Ufro a féiert se mat Ärem API-Schlëssel aus. Output gëtt an eis Späicherung kopéiert, fir ëmmer oder 7 Deeg gratis gespäichert.

Eng Ufro erstellen

D'Kontrolle ginn aus dem Modellschema generéiert. De Code an de Präis aktualiséiere sech, wann s du se ännerst.

Prompt, deen zur Bildgeneratioun benotzt gëtt.

aspect_ratio Standard 1:1

Bildverhältnis; verfügbar Wäerter sinn 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9.

resolution Standard 1MP

Opléisung vum generéierte Bild.

Erweidert negative_prompt · image · steps_num · seed · structured_prompt
Standard

Negative Prompt fir d'Bildgeneratioun.

image_url
Fichier erofzéien, oder

Referenzbild, dat als Datei oder URL geliwwert gëtt.

Standard 50

Total Zuel vun den Inference-Schrëtt.

Standard 5555

Seed, deen d'Zoufällegkeet fir reproduzéierbar Resultater steiert.

Strukturéierte Prompt fir d'Bildgeneratioun.

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

Dës Ufro ausféieren

Äre Schlëssel bleift an dësem Browser: e gëtt nëmmen un d'Doitong API geschéckt an nëmme gespäichert (localStorage), wann s du „Erënneren“ aktivéiers. En API-Schlëssel kréien

Iwwer Fibo

Generéiert Biller aus engem `prompt` oder engem JSON-`structured_prompt` a kann iwwer `image_url` e Referenzbild kréien. `resolution` ass 1MP oder 4MP, `steps_num` geet vun 20 bis 50, an néng Aspektverhältnisser si verfügbar. Och `negative_prompt` an `seed` ginn ënnerstëtzt, an de benotzte strukturéierte Prompt gëtt zeréckginn.

Parameteren

Schéck entweder den kanoneschen Numm oder den natierlechen Numm, net béid. Kanonesch Nimm

NummTyp StandardErlaabt Beschreiwung
promptoptional
Typstring | null
Prompt, deen zur Bildgeneratioun benotzt gëtt.
structured_promptoptional
Typobject
Strukturéierte Prompt fir d'Bildgeneratioun.
structured_prompt.short_descriptionoptional
Typstring | null
Kuerz Beschreiwung vum geplangten Output-Bild.
structured_prompt.objectsoptional
Typobject[]
Standard[]
Spezifizéiert den Inhalt vum generéierte Bild als Lëscht, an där d'Attributer vun all Objet a seng Bezéiunge mat den aneren duergestallten Objete festgehale ginn.
structured_prompt.objects[].descriptionoptional
Typstring | null
Beschreiwung vum geplangten Output-Objet.
structured_prompt.objects[].locationoptional
Typstring | null
Positioun vum Objet am Bild.
structured_prompt.objects[].relationshipobligatoresch
Typstring
Bezéiung vum Objet zu den aneren Objete vum Bild.
structured_prompt.objects[].relative_sizeoptional
Typstring | null
Gréisst vum Objet relativ zum Bild.
structured_prompt.objects[].shape_and_coloroptional
Typstring | null
Form a Faarf vum Objet.
structured_prompt.objects[].textureoptional
Typstring | null
Textur vum Objet.
structured_prompt.objects[].appearance_detailsoptional
Typstring | null
Detailer zur Beschreiwung vum Ausgesinn vum Objet.
structured_prompt.objects[].number_of_objectsoptional
Typinteger | null
Zuel vun den Objeten am Bild.
structured_prompt.objects[].poseoptional
Typstring | null
Pose vum duergestallten Objet.
structured_prompt.objects[].expressionoptional
Typstring | null
Ausdrock vum duergestallten Objet.
structured_prompt.objects[].clothingoptional
Typstring | null
Kleedung vum duergestallten Objet.
structured_prompt.objects[].actionoptional
Typstring | null
Handlung, déi vum duergestallten Objet ausgefouert gëtt.
structured_prompt.objects[].genderoptional
Typstring | null
Geschlecht vum duergestallten Objet.
structured_prompt.objects[].skin_tone_and_textureoptional
Typstring | null
Hauttextur an -faarf vum duergestallten Objet.
structured_prompt.objects[].orientationoptional
Typstring | null
Orientéierung vum duergestallten Objet.
structured_prompt.background_settingoptional
Typstring | null
Hannergrondëmfeld fir dat generéiert Bild.
structured_prompt.lightingoptional
Typobject
Beliichtung fir dat generéiert Bild.
structured_prompt.lighting.conditionsoptional
Typstring | null
Beliichtungsbedingunge fir dat generéiert Bild.
structured_prompt.lighting.directionoptional
Typstring | null
Beliichtungsrichtung fir dat generéiert Bild.
structured_prompt.lighting.shadowsoptional
Typstring | null
Schatten, déi am generéierte Bild duergestallt solle ginn.
structured_prompt.aestheticsoptional
Typobject
Ästhetesch Eegeschafte fir dat generéiert Bild.
structured_prompt.aesthetics.compositionoptional
Typstring | null
Kompositioun fir dat generéiert Bild.
structured_prompt.aesthetics.color_schemeoptional
Typstring | null
Faarfpalette fir dat generéiert Bild.
structured_prompt.aesthetics.mood_atmosphereoptional
Typstring | null
Stëmmung an Atmosphär vum generéierte Bild.
structured_prompt.aesthetics.aesthetic_scoreoptional
Typstring | null
Ästhetesche Score fir d'Bild, dat generéiert gëtt.
structured_prompt.aesthetics.preference_scoreoptional
Typstring | null
Preferenzscore fir d'Bild, dat generéiert gëtt.
structured_prompt.photographic_characteristicsoptional
Typobject
Fotografesch Eegeschafte vum generéierte Bild.
structured_prompt.photographic_characteristics.depth_of_fieldoptional
Typstring | null
Schäerfendéift vum generéierte Bild.
structured_prompt.photographic_characteristics.focusoptional
Typstring | null
Fokus vum generéierte Bild.
structured_prompt.photographic_characteristics.camera_angleoptional
Typstring | null
Kameraeënkel vum generéierte Bild.
structured_prompt.photographic_characteristics.lens_focal_lengthoptional
Typstring | null
Objektivastellung fir dat generéiert Bild, als Brennwäit ausgedréckt.
structured_prompt.style_mediumoptional
Typstring | null
Stilistesch Technik fir dat generéiert Bild.
structured_prompt.text_renderoptional
Typany[]
Standard[]
Lëscht vun Texteinträg, déi an d'Bild opgeholl ginn.
structured_prompt.contextoptional
Typstring | null
Kontext fir dat generéiert Bild.
structured_prompt.artistic_styleoptional
Typstring | null
Kënschtleresche Stil fir dat generéiert Bild.
structured_prompt.trigger_wordoptional
Typstring | null
structured_prompt.sub_trigger_wordoptional
Typstring | null
structured_prompt.art_directionoptional
Typstring | null
structured_prompt.action_descriptionoptional
Typstring | null
structured_prompt.actor_prefixoptional
Typstring | null
image_urloptional image
Typurl · image
Referenzbild, dat als Datei oder URL geliwwert gëtt.
seedoptional
Typinteger
Standard5555
Seed, deen d'Zoufällegkeet fir reproduzéierbar Resultater steiert.
steps_numoptional
Typinteger
Standard50
20 – 50
Total Zuel vun den Inference-Schrëtt.
aspect_ratiooptional
Typenum
Standard1:1
1:12:33:23:44:34:55:49:1616:9
Bildverhältnis; verfügbar Wäerter sinn 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9.
negative_promptoptional
Typstring
Standard
Negative Prompt fir d'Bildgeneratioun.
resolutionoptional
Typenum
Standard1MP
1MP4MP
Opléisung vum generéierte Bild.
obligatoresch Kanoneschen Numm, och akzeptéiert

Fichierparameter akzeptéieren eng ëffentlech https:// URL, eng data: URI bis zu 10 MB oder de file_url vun engem Upload. Fichieren

Output

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"
  }
}
Är Fichieren, Är WielAll outputs[].url ass eng Kopie an eiser Späicherung: fir ëmmer gespäichert (bezuelbar pro GB-Mount) oder 7 Deeg gratis, jee no Ärer Kontastellung oder ?storage=.
D'selwecht Struktur bei all Modelltype, url, content_type, width, height an duration, fir Biller, Video an Audio gläichermoossen. output ass dem Modell säin eegent Resultatobjet.
Output-Felder
image
object {url, content_type, file_name, file_size, width, height}Bild, dat vum Modell produzéiert gëtt.
images
array of objectBiller, déi duerch d'Generatioun erstallt goufen.
structured_prompt
objectAktuell benotzte Prompt.

Méi Modeller: Text zu Bild

Fir AI-Agenten: dës Säit als Markdown ass ënner https://doitong.com/lb/developers/models/bria/fibo/generate.md. All Modeller a Guiden: https://doitong.com/developers/llms.txt