Op den Inhalt sprangen

Fibo Lite · Structured Prompt

Integréieren

Modell-ID bria/fibo-lite/generate/structured_prompt
# 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-lite/generate/structured_prompt?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,008 $ 8 API-Kreditter Op dëser Säit ausféieren

API-Schlëssel kréien
Bria AI LLM Schnell #bria#fibo#structured-prompt

Konvertéiert Text oder e Bild an e strukturéierte Fibo Lite JSON-Prompt amplaz e Bild ze produzéieren

Bria AI · Donnéeën (JSON)

Ä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, dee fir d'Generatioun benotzt gëtt.

Erweidert image · seed · structured_prompt
image_url
Fichier erofzéien, oder

URL vum Input-Bild.

Standard 7

Seed, dee vum Zoufallszuelengenerator benotzt gëtt.

Strukturéierte Prompt, dee fir d'Generatioun benotzt gëtt.

POST /run/bria/fibo-lite/generate/structured_prompt?wait=20 Präis → 0,008 $
# 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-lite/generate/structured_prompt?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 Lite · Structured Prompt

Gëtt eng strukturéiert Beschreiwung fir d'Benotzung mat Fibo Lite zeréck, amplaz vun engem Bild. D'Inputs sinn `prompt`, en existéierenden `structured_prompt` oder en `image_url`, plus `seed`. De JSON-Output deckt Ästhetik, kënschtleresche Stil, Hannergrondastellung, Beliichtung, Objeten, fotografesch Charakteristiken, Emotioune vum Sujet an ze renderenden Text of.

Parameteren

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

NummTyp StandardErlaabt Beschreiwung
promptoptional
Typstring | null
Prompt, dee fir d'Generatioun benotzt gëtt.
structured_promptoptional
Typobject
Strukturéierte Prompt, dee fir d'Generatioun benotzt gëtt.
structured_prompt.short_descriptionobligatoresch
Typstring
Kuerzen Iwwerbléck iwwer den Inhalt vum Bild, limitéiert op 200 Wierder.
structured_prompt.objectsobligatoresch
Typobject[]
Lëscht vun de bemierkenswäerten Objeten am Vir- oder Mëttelgrond.
structured_prompt.objects[].descriptionobligatoresch
Typstring
Kuerz Zesummefaassung, déi den Objet beschreift.
structured_prompt.objects[].locationobligatoresch
Typstring
Positioun, zum Beispill: 'center', 'top-left' oder 'bottom-right foreground'.
structured_prompt.objects[].relationshipobligatoresch
Typstring
Beschreift, wéi dësen Objet mat aneren am Bild zesummenhänkt.
structured_prompt.objects[].relative_sizeoptional
Typstring | null
Gréisst, zum Beispill: 'small', 'medium' oder 'large within frame'.
structured_prompt.objects[].shape_and_coloroptional
Typstring | null
Basisform an Haaptfaarf vum Objet.
structured_prompt.objects[].textureoptional
Typstring | null
Textur, zum Beispill: 'smooth', 'rough', 'metallic' oder 'furry'.
structured_prompt.objects[].appearance_detailsoptional
Typstring | null
Zousätzlech visuell Eegenschaften, déi derwäert sinn ervirzehiewen.
structured_prompt.objects[].number_of_objectsoptional
Typinteger | null
Unzuel vun Objeten am Cluster.
structured_prompt.objects[].poseoptional
Typstring | null
Positioun vum Kierper.
structured_prompt.objects[].expressionoptional
Typstring | null
Gesichtsausdrock.
structured_prompt.objects[].clothingoptional
Typstring | null
Gedroe Kleedung.
structured_prompt.objects[].actionoptional
Typstring | null
Aktioun, déi d'Persoun ausféiert.
structured_prompt.objects[].genderoptional
Typstring | null
Geschlecht vun der Persoun.
structured_prompt.objects[].skin_tone_and_textureoptional
Typstring | null
Toun an Textur vun der Haut.
structured_prompt.objects[].orientationoptional
Typstring | null
Orientéierung vun der Persoun.
structured_prompt.background_settingobligatoresch
Typstring
Beschreiwung vun der ganzer Szen: wou se stattfënnt, hir Ëmgéigend oder hiren Hannergrond, an all bemierkenswäert Hannergronddetailer.
structured_prompt.lightingobligatoresch
Typobject
Informatioun iwwer d'Beliichtung.
structured_prompt.lighting.conditionsobligatoresch
Typstring
Beispiller fir Beliichtung sinn 'bright daylight', 'dim indoor', 'studio lighting' an 'golden hour'.
structured_prompt.lighting.directionobligatoresch
Typstring
Richtung vun der Beliichtung; Beispiller sinn 'front-lit', 'backlit' an 'side-lit from left'.
structured_prompt.lighting.shadowsoptional
Typstring | null
Beschreiwung vun all vorhandene Schatten.
structured_prompt.aestheticsobligatoresch
Typobject
Informatioun iwwer d'Ästhetik vum Bild.
structured_prompt.aesthetics.compositionobligatoresch
Typstring
Kompositiounsstil; Beispiller sinn 'rule of thirds', 'symmetrical', 'centered' an 'leading lines'.
structured_prompt.aesthetics.color_schemeobligatoresch
Typstring
Faarfschema; Beispiller sinn 'monochromatic blue', 'warm complementary colors' an 'high contrast'.
structured_prompt.aesthetics.mood_atmosphereobligatoresch
Typstring
Stëmmung oder Atmosphär, zum Beispill `joyful`, `serene`, `mysterious` oder `energetic`.
structured_prompt.aesthetics.aesthetic_scoreobligatoresch
Typstring
Beschreiwung vum Score, zum Beispill medium, very low, low, very high oder high.
structured_prompt.aesthetics.preference_scoreobligatoresch
Typstring
Beschreiwung vum Score, zum Beispill medium, very low, low, very high oder high.
structured_prompt.photographic_characteristicsoptional
Typobject
Informatioun iwwer déi fotografesch Eegenschaften.
structured_prompt.photographic_characteristics.depth_of_fieldobligatoresch
Typstring
Déifteschärft; Beispiller sinn 'shallow', 'deep' an 'bokeh background'.
structured_prompt.photographic_characteristics.focusobligatoresch
Typstring
Fokuseegenschaften; Beispiller sinn 'sharp focus on subject', 'soft focus' an 'motion blur'.
structured_prompt.photographic_characteristics.camera_angleobligatoresch
Typstring
Kamera-Wénkel; Beispiller sinn 'eye-level', 'low angle', 'high angle' an 'dutch angle'.
structured_prompt.photographic_characteristics.lens_focal_lengthobligatoresch
Typstring
Objektivtyp oder Brennwäit, zum Beispill `macro`, `fisheye`, `wide-angle` oder `telephoto`.
structured_prompt.style_mediumoptional
Typstring | null
Kënschtlerescht Medium oder benotzte Stil.
structured_prompt.text_renderoptional
Typobject[]
Lëscht vun den Texteelementer, déi am Bild duergestallt ginn.
structured_prompt.text_render[].textobligatoresch
Typstring
Inhalt vum Text.
structured_prompt.text_render[].locationobligatoresch
Typstring
Positioun, zum Beispill: 'center', 'top-left' oder 'bottom-right foreground'.
structured_prompt.text_render[].sizeobligatoresch
Typstring
Gréisst, zum Beispill: 'small', 'medium' oder 'large within frame'.
structured_prompt.text_render[].colorobligatoresch
Typstring
Faarf, zum Beispill `green`, `red` oder `blue`.
structured_prompt.text_render[].fontobligatoresch
Typstring
Schrëftstil, zum Beispill `minimalist`, `realistic` oder `cartoonish`.
structured_prompt.text_render[].appearance_detailsoptional
Typstring | null
Zousätzlech visuell Eegenschaften, déi derwäert sinn ervirzehiewen.
structured_prompt.contextobligatoresch
Typstring
Zousätzleche Kontext, fir d'Interpretatioun vum Bild ze erliichteren.
structured_prompt.artistic_styleobligatoresch
Typstring
Spezifesch kënschtleresch Eegenschaften, ausgedréckt a maximal 3 Wierder.
structured_prompt.subject_emotionsoptional
Typstring | null
Explizit Beschreiwung vun de siichtbaren Ausdréck oder Emotioune vun de Sujeten.
image_urloptional image
Typurl · image
URL vum Input-Bild.
seedoptional
Typinteger
Standard7
Seed, dee vum Zoufallszuelengenerator benotzt gëtt.
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-lite/generate/structured_prompt",
  "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": 8,
    "usd": "0.008",
    "charged": 8,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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",
      "aesthetic_score": "string",
      "preference_score": "string"
    },
    "photographic_characteristics": {
      "depth_of_field": "string",
      "focus": "string",
      "camera_angle": "string",
      "lens_focal_length": "string"
    },
    "style_medium": "string",
    "text_render": [
      {
        "text": "string",
        "location": "string",
        "size": "string",
        "color": "string",
        "font": "string",
        "appearance_details": "string"
      }
    ],
    "context": "string",
    "artistic_style": "string",
    "subject_emotions": "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.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
short_description
stringKuerzen Iwwerbléck iwwer den Inhalt vum Bild, limitéiert op 200 Wierder.
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}Lëscht vun de bemierkenswäerten Objeten am Vir- oder Mëttelgrond.
background_setting
stringBeschreiwung vun der ganzer Szen: wou se stattfënnt, hir Ëmgéigend oder hiren Hannergrond, an all bemierkenswäert Hannergronddetailer.
lighting
object {conditions, direction, shadows}Informatioun iwwer d'Beliichtung.
aesthetics
object {composition, color_scheme, mood_atmosphere, aesthetic_score, preference_score}Informatioun iwwer d'Ästhetik vum Bild.
photographic_characteristics
object {depth_of_field, focus, camera_angle, lens_focal_length} | nullInformatioun iwwer déi fotografesch Eegenschaften.
style_medium
string | nullKënschtlerescht Medium oder benotzte Stil.
text_render
array of object {text, location, size, color, font, appearance_details} | nullLëscht vun den Texteelementer, déi am Bild duergestallt ginn.
context
stringZousätzleche Kontext, fir d'Interpretatioun vum Bild ze erliichteren.
artistic_style
stringSpezifesch kënschtleresch Eegenschaften, ausgedréckt a maximal 3 Wierder.
subject_emotions
string | nullExplizit Beschreiwung vun de siichtbaren Ausdréck oder Emotioune vun de Sujeten.

Méi Modeller: LLM

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