Njuolgga sisdollui

Fibo Lite · Structured Prompt

Integrere

Modealla-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át ohcamuš: 0,008 $ 8 API-kreditta Vuodje dán siiddu alde

Oza API-čoavdaga
Bria AI LLM Jođán #bria#fibo#structured-prompt

Rievdá teavstta dahje gova Fibo Lite-struktuvralaš JSON-promptan, iige ráhkat gova

Bria AI · Diehtu (JSON)

Dát lea du vuosttaš bohtos

Daga jearaldaga vuolábealde ja vuodje dan iežat API-čoavddain. Boađusat kopierejuvvojit min vurkemii, bisuhuvvojit álo dahje 7 beaivvi nuvttá.

Ráhkat jearaldaga

Kontrollat ráhkaduvvojit modealla skeama vuođul. Koda ja haddi ođasmahttojuvvojit go rievddadat daid.

Ráhkadeapmái geavahuvvon bivdda.

Viiddiduvvon image · seed · structured_prompt
image_url
Luoitte fiilla, dahje

Sisa-addi gova URL.

standárda 7

Seed mii geavahuvvo tilfeldig lohku-ráhkadeaddjis.

Ráhkadeapmái geavahuvvon struktuvrerejejuvvon bivdda.

POST /run/bria/fibo-lite/generate/structured_prompt?wait=20 haddemearrádus → 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"

Geavat dán ohcamuša

Du key báhcá dán fierpmádatlogan: dat sáddejuvvo dušše Doitong API:ii ja vurkejuvvo (localStorage) dušše jos válljet Remember. Viečča API-keya

Dát lea Fibo Lite · Structured Prompt birra

Máhcahta struktuvralaš čilgehusa geavahussan Fibo Liteain gova sajis. Inputat leat `prompt`, dálá `structured_prompt` dahje `image_url`, lassin `seed`. JSON-bohtos gokčá estetihka, dáiddalaš stiilla, duogáža, čuovgga, ávdnasiid, fotografalaš iešvuođaid, fáttá dovdduid ja renderet teavstta.

Parametterat

Sádde kanonala nama dahje iežas nama, ii goappašiid. Kanonala namat

NammaŠládja StandárdaDohkkehuvvon Govvádus
prompteaktodáhtolaš
Šládjastring | null
Ráhkadeapmái geavahuvvon bivdda.
structured_prompteaktodáhtolaš
Šládjaobject
Ráhkadeapmái geavahuvvon struktuvrerejejuvvon bivdda.
structured_prompt.short_descriptiongáibiduvvo
Šládjastring
Oanehis govvádus das, maid govva sisttisdoallá, eanemus 200 sáni.
structured_prompt.objectsgáibiduvvo
Šládjaobject[]
Lohkku fuomášumi arddiid ovddabealde dahje gasku.
structured_prompt.objects[].descriptiongáibiduvvo
Šládjastring
Oanehis čoahkkáigeassu máhtu birra.
structured_prompt.objects[].locationgáibiduvvo
Šládjastring
Báiki, ovdamearkka dihte: 'center', 'top-left', dahje 'bottom-right foreground'.
structured_prompt.objects[].relationshipgáibiduvvo
Šládjastring
Govvit mo dát máhttu lea čadnon earáide govvageahččái.
structured_prompt.objects[].relative_sizeeaktodáhtolaš
Šládjastring | null
Sturrodat, ovdamearkka dihte: 'small', 'medium', dahje 'large within frame'.
structured_prompt.objects[].shape_and_coloreaktodáhtolaš
Šládjastring | null
Máhtu vuođđohápmi ja váldovärre.
structured_prompt.objects[].textureeaktodáhtolaš
Šládjastring | null
Tekstuvra, ovdamearkka dihte: 'smooth', 'rough', 'metallic', dahje 'furry'.
structured_prompt.objects[].appearance_detailseaktodáhtolaš
Šládjastring | null
Lassivisuála iešvuođat maid vátná fuomášit.
structured_prompt.objects[].number_of_objectseaktodáhtolaš
Šládjainteger | null
Máhtuid lohku čoahkis.
structured_prompt.objects[].poseeaktodáhtolaš
Šládjastring | null
Rumaša sajádat.
structured_prompt.objects[].expressioneaktodáhtolaš
Šládjastring | null
Oaivomuštá mii čájehuvvo.
structured_prompt.objects[].clothingeaktodáhtolaš
Šládjastring | null
Biktasat mat leat alde.
structured_prompt.objects[].actioneaktodáhtolaš
Šládjastring | null
Doaibma maid olmmoš dahká.
structured_prompt.objects[].gendereaktodáhtolaš
Šládjastring | null
Olbmo sohkabealli.
structured_prompt.objects[].skin_tone_and_textureeaktodáhtolaš
Šládjastring | null
Geahpádaga ivdni ja tekstuvra.
structured_prompt.objects[].orientationeaktodáhtolaš
Šládjastring | null
Olbmo guovddášdilli.
structured_prompt.background_settinggáibiduvvo
Šládjastring
Olles dáhpáhusa govvádus: gos dat dáhpáhuvvo, biras dahje duogáš, ja eará fuomášumi mielde duogášiešvuođat.
structured_prompt.lightinggáibiduvvo
Šládjaobject
Dieđut čuovgga birra.
structured_prompt.lighting.conditionsgáibiduvvo
Šládjastring
Čuovgga ovdamearkkat leat 'bright daylight', 'dim indoor', 'studio lighting', ja 'golden hour'.
structured_prompt.lighting.directiongáibiduvvo
Šládjastring
Čuovgga guovlu; ovdamearkkat leat 'front-lit', 'backlit', ja 'side-lit from left'.
structured_prompt.lighting.shadowseaktodáhtolaš
Šládjastring | null
Govvageahččái gullevaš čuovggahámát.
structured_prompt.aestheticsgáibiduvvo
Šládjaobject
Dieđut gova estetihka birra.
structured_prompt.aesthetics.compositiongáibiduvvo
Šládjastring
Komposišuvdnastiila; ovdamearkkat leat 'rule of thirds', 'symmetrical', 'centered', ja 'leading lines'.
structured_prompt.aesthetics.color_schemegáibiduvvo
Šládjastring
Várrečoahkádus; ovdamearkkat leat 'monochromatic blue', 'warm complementary colors', ja 'high contrast'.
structured_prompt.aesthetics.mood_atmospheregáibiduvvo
Šládjastring
Dovdu dahje atmosfára, ovdamearkka dihte `joyful`, `serene`, `mysterious`, dahje `energetic`.
structured_prompt.aesthetics.aesthetic_scoregáibiduvvo
Šládjastring
Čilgehus poaŋttas, ovdamearkka dihte medium, very low, low, very high, dahje high.
structured_prompt.aesthetics.preference_scoregáibiduvvo
Šládjastring
Čilgehus poaŋttas, ovdamearkka dihte medium, very low, low, very high, dahje high.
structured_prompt.photographic_characteristicseaktodáhtolaš
Šládjaobject
Dieđut fotografalaš iešvuođaid birra.
structured_prompt.photographic_characteristics.depth_of_fieldgáibiduvvo
Šládjastring
Čuovgga vuođđu; ovdamearkkat leat 'shallow', 'deep', ja 'bokeh background'.
structured_prompt.photographic_characteristics.focusgáibiduvvo
Šládjastring
Fokus-iešvuođat; ovdamearkkat leat 'sharp focus on subject', 'soft focus', ja 'motion blur'.
structured_prompt.photographic_characteristics.camera_anglegáibiduvvo
Šládjastring
Kameravihki; ovdamearkkat leat 'eye-level', 'low angle', 'high angle', ja 'dutch angle'.
structured_prompt.photographic_characteristics.lens_focal_lengthgáibiduvvo
Šládjastring
Linsašládja dahje fokallávuohta, ovdamearkka dihte `macro`, `fisheye`, `wide-angle`, dahje `telephoto`.
structured_prompt.style_mediumeaktodáhtolaš
Šládjastring | null
Dáiddalaš medium dahje geavahuvvon stiila.
structured_prompt.text_rendereaktodáhtolaš
Šládjaobject[]
Teakstaelemeanttaid lohku, mat čájehuvvojit govvageahččái.
structured_prompt.text_render[].textgáibiduvvo
Šládjastring
Teavstta sisdoallu.
structured_prompt.text_render[].locationgáibiduvvo
Šládjastring
Báiki, ovdamearkka dihte: 'center', 'top-left', dahje 'bottom-right foreground'.
structured_prompt.text_render[].sizegáibiduvvo
Šládjastring
Sturrodat, ovdamearkka dihte: 'small', 'medium', dahje 'large within frame'.
structured_prompt.text_render[].colorgáibiduvvo
Šládjastring
Ivdni, ovdamearkka dihte `green`, `red`, dahje `blue`.
structured_prompt.text_render[].fontgáibiduvvo
Šládjastring
Fontastiila, ovdamearkka dihte `minimalist`, `realistic`, dahje `cartoonish`.
structured_prompt.text_render[].appearance_detailseaktodáhtolaš
Šládjastring | null
Lassivisuála iešvuođat maid vátná fuomášit.
structured_prompt.contextgáibiduvvo
Šládjastring
Lassikonteaksta gova dulkoma várás.
structured_prompt.artistic_stylegáibiduvvo
Šládjastring
Iešguđet dáiddalaš iešvuođat, eanemus 3 sániin.
structured_prompt.subject_emotionseaktodáhtolaš
Šládjastring | null
Čielga govvádus ávdnasiid oidnosis oaivomuštáin dahje dovdduin.
image_urleaktodáhtolaš image
Šládjaurl · image
Sisa-addi gova URL.
seedeaktodáhtolaš
Šládjainteger
Standárda7
Seed mii geavahuvvo tilfeldig lohku-ráhkadeaddjis.
gáibiduvvo Kanonala namma, maid sáhttá geavahit

Fiilaparametterat váldet almmolaš https:// URL:a, data: URI:a gitta 10 MB, dahje uploada file_url:a. Fiillat

Boađus

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"
  }
}
Du fiillat, du válljenJuohke outputs[].url lea kopia min vurkemis: bisuhuvvo álo (mákso GB-mánu mielde) dahje 7 beaivvi nuvttá, du konto­o heiveheami dahje ?storage= mielde.
Seammá hápmi juohke modeallastype, url, content_type, width, height ja duration, govvii, videoii ja jienai seammá ládje. output lea modealla iežas boađusobjekta.
Outputa giettit
short_description
stringOanehis govvádus das, maid govva sisttisdoallá, eanemus 200 sáni.
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}Lohkku fuomášumi arddiid ovddabealde dahje gasku.
background_setting
stringOlles dáhpáhusa govvádus: gos dat dáhpáhuvvo, biras dahje duogáš, ja eará fuomášumi mielde duogášiešvuođat.
lighting
object {conditions, direction, shadows}Dieđut čuovgga birra.
aesthetics
object {composition, color_scheme, mood_atmosphere, aesthetic_score, preference_score}Dieđut gova estetihka birra.
photographic_characteristics
object {depth_of_field, focus, camera_angle, lens_focal_length} | nullDieđut fotografalaš iešvuođaid birra.
style_medium
string | nullDáiddalaš medium dahje geavahuvvon stiila.
text_render
array of object {text, location, size, color, font, appearance_details} | nullTeakstaelemeanttaid lohku, mat čájehuvvojit govvageahččái.
context
stringLassikonteaksta gova dulkoma várás.
artistic_style
stringIešguđet dáiddalaš iešvuođat, eanemus 3 sániin.
subject_emotions
string | nullČielga govvádus ávdnasiid oidnosis oaivomuštáin dahje dovdduin.

Eanet modeallat: LLM

AI-agenttaide: dán siidu Markdowna lea dáppe https://doitong.com/se/developers/models/bria/fibo-lite/generate/structured_prompt.md. Buot modeallat ja ráđit: https://doitong.com/developers/llms.txt