Preskoči na vsebino

Fibo Lite · Structured Prompt

Integracija

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

Ta zahteva: 0,008 $ 8 API kreditov Zaženi na tej strani

Pridobi ključ API
Bria AI LLM Hitro #bria#fibo#structured-prompt

Besedilo ali sliko pretvori v strukturirani poziv JSON za Fibo Lite, namesto da bi ustvarila sliko

Bria AI · Podatki (JSON)

Tukaj bo vaš prvi rezultat

Spodaj sestavite zahtevo in jo zaženite s svojim ključem API. Izhodi se kopirajo v našo shrambo, kjer se hranijo za vedno ali 7 dni brezplačno.

Ustvari zahtevo

Kontrolniki se ustvarijo iz sheme modela. Koda in cena se posodobita, ko ju spreminjate.

Poziv, uporabljen za generiranje.

Napredno image · seed · structured_prompt
image_url
Spustite datoteko ali

URL vhodne slike.

privzeto 7

Seme, ki ga uporablja generator naključnih števil.

Strukturiran poziv, uporabljen za generiranje.

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

Zaženi to zahtevo

Vaš ključ ostane v tem brskalniku: pošlje se samo v Doitong API in shrani v localStorage samo, če označite možnost Zapomni si. Pridobi ključ API

O modelu Fibo Lite · Structured Prompt

Vrne strukturiran opis za uporabo s Fibo Lite namesto slike. Vnosi so `prompt`, obstoječi `structured_prompt` ali `image_url` ter `seed`. Izhod JSON zajema estetiko, umetniški slog, nastavitev ozadja, osvetlitev, objekte, fotografske značilnosti, čustva subjekta in upodobljeno besedilo.

Parametri

Pošlji kanonično ali izvorno ime, ne obeh. Kanonična imena

ImeVrsta PrivzetoDovoljeno Opis
promptneobvezno
Vrstastring | null
Poziv, uporabljen za generiranje.
structured_promptneobvezno
Vrstaobject
Strukturiran poziv, uporabljen za generiranje.
structured_prompt.short_descriptionobvezno
Vrstastring
Kratek pregled vsebine slike, omejen na 200 besed.
structured_prompt.objectsobvezno
Vrstaobject[]
Seznam pomembnih predmetov v ospredju ali srednjem planu.
structured_prompt.objects[].descriptionobvezno
Vrstastring
Kratek povzetek, ki opisuje predmet.
structured_prompt.objects[].locationobvezno
Vrstastring
Položaj, na primer: 'center', 'top-left' ali 'bottom-right foreground'.
structured_prompt.objects[].relationshipobvezno
Vrstastring
Opišite, kako je ta predmet povezan z drugimi v sliki.
structured_prompt.objects[].relative_sizeneobvezno
Vrstastring | null
Velikost, na primer: 'small', 'medium' ali 'large within frame'.
structured_prompt.objects[].shape_and_colorneobvezno
Vrstastring | null
Osnovna oblika in glavna barva predmeta.
structured_prompt.objects[].textureneobvezno
Vrstastring | null
Tekstura, na primer: 'smooth', 'rough', 'metallic' ali 'furry'.
structured_prompt.objects[].appearance_detailsneobvezno
Vrstastring | null
Dodatne pomembne vizualne značilnosti.
structured_prompt.objects[].number_of_objectsneobvezno
Vrstainteger | null
Število predmetov v skupini.
structured_prompt.objects[].poseneobvezno
Vrstastring | null
Položaj telesa.
structured_prompt.objects[].expressionneobvezno
Vrstastring | null
Izraz na obrazu.
structured_prompt.objects[].clothingneobvezno
Vrstastring | null
Oblačila, ki jih oseba nosi.
structured_prompt.objects[].actionneobvezno
Vrstastring | null
Dejanje, ki ga oseba izvaja.
structured_prompt.objects[].genderneobvezno
Vrstastring | null
Spol osebe.
structured_prompt.objects[].skin_tone_and_textureneobvezno
Vrstastring | null
Odtenek in tekstura kože.
structured_prompt.objects[].orientationneobvezno
Vrstastring | null
Usmerjenost osebe.
structured_prompt.background_settingobvezno
Vrstastring
Opis prizora kot celote: kraj dogajanja, okolica ali ozadje ter pomembne značilnosti ozadja.
structured_prompt.lightingobvezno
Vrstaobject
Informacije o osvetlitvi.
structured_prompt.lighting.conditionsobvezno
Vrstastring
Primeri osvetlitve vključujejo 'bright daylight', 'dim indoor', 'studio lighting' in 'golden hour'.
structured_prompt.lighting.directionobvezno
Vrstastring
Smer osvetlitve; primeri vključujejo 'front-lit', 'backlit' in 'side-lit from left'.
structured_prompt.lighting.shadowsneobvezno
Vrstastring | null
Opis prisotnih senc.
structured_prompt.aestheticsobvezno
Vrstaobject
Informacije o estetiki slike.
structured_prompt.aesthetics.compositionobvezno
Vrstastring
Slog kompozicije; primeri vključujejo 'rule of thirds', 'symmetrical', 'centered' in 'leading lines'.
structured_prompt.aesthetics.color_schemeobvezno
Vrstastring
Barvna shema; primeri vključujejo 'monochromatic blue', 'warm complementary colors' in 'high contrast'.
structured_prompt.aesthetics.mood_atmosphereobvezno
Vrstastring
Razpoloženje ali vzdušje, na primer `joyful`, `serene`, `mysterious` ali `energetic`.
structured_prompt.aesthetics.aesthetic_scoreobvezno
Vrstastring
Opis ocene, na primer medium, very low, low, very high ali high.
structured_prompt.aesthetics.preference_scoreobvezno
Vrstastring
Opis ocene, na primer medium, very low, low, very high ali high.
structured_prompt.photographic_characteristicsneobvezno
Vrstaobject
Informacije o fotografskih značilnostih.
structured_prompt.photographic_characteristics.depth_of_fieldobvezno
Vrstastring
Globinska ostrina; primeri vključujejo 'shallow', 'deep' in 'bokeh background'.
structured_prompt.photographic_characteristics.focusobvezno
Vrstastring
Značilnosti ostrenja; primeri vključujejo 'sharp focus on subject', 'soft focus' in 'motion blur'.
structured_prompt.photographic_characteristics.camera_angleobvezno
Vrstastring
Kot kamere; primeri vključujejo 'eye-level', 'low angle', 'high angle' in 'dutch angle'.
structured_prompt.photographic_characteristics.lens_focal_lengthobvezno
Vrstastring
Vrsta objektiva ali goriščna razdalja, na primer `macro`, `fisheye`, `wide-angle` ali `telephoto`.
structured_prompt.style_mediumneobvezno
Vrstastring | null
Uporabljeni umetniški medij ali slog.
structured_prompt.text_renderneobvezno
Vrstaobject[]
Seznam besedilnih elementov, upodobljenih v sliki.
structured_prompt.text_render[].textobvezno
Vrstastring
Vsebina besedila.
structured_prompt.text_render[].locationobvezno
Vrstastring
Položaj, na primer: 'center', 'top-left' ali 'bottom-right foreground'.
structured_prompt.text_render[].sizeobvezno
Vrstastring
Velikost, na primer: 'small', 'medium' ali 'large within frame'.
structured_prompt.text_render[].colorobvezno
Vrstastring
Barva, na primer `green`, `red` ali `blue`.
structured_prompt.text_render[].fontobvezno
Vrstastring
Slog pisave, na primer `minimalist`, `realistic` ali `cartoonish`.
structured_prompt.text_render[].appearance_detailsneobvezno
Vrstastring | null
Dodatne pomembne vizualne značilnosti.
structured_prompt.contextobvezno
Vrstastring
Dodatni kontekst za lažjo razlago slike.
structured_prompt.artistic_styleobvezno
Vrstastring
Posebne umetniške značilnosti, izražene z največ 3 besedami.
structured_prompt.subject_emotionsneobvezno
Vrstastring | null
Izrecen opis vidnih izrazov ali čustev oseb.
image_urlneobvezno image
Vrstaurl · image
URL vhodne slike.
seedneobvezno
Vrstainteger
Privzeto7
Seme, ki ga uporablja generator naključnih števil.
obvezno Kanonično ime, prav tako sprejeto

Parametri datotek sprejmejo javni https:// URL, podatkovni URI data: do 10 MB ali file_url naložene datoteke. Datoteke

Izhod

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"
  }
}
Vaše datoteke, vaša izbiraVsak outputs[].url je kopija v naši shrambi: hrani se za vedno (plačilo na GB-mesec) ali 7 dni brezplačno, glede na nastavitev računa ali ?storage=.
Enaka struktura pri vsakem modelutype, url, content_type, width, height in duration za slike, videoposnetke in zvok. output je lasten objekt rezultata modela.
Polja izhoda
short_description
stringKratek pregled vsebine slike, omejen na 200 besed.
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}Seznam pomembnih predmetov v ospredju ali srednjem planu.
background_setting
stringOpis prizora kot celote: kraj dogajanja, okolica ali ozadje ter pomembne značilnosti ozadja.
lighting
object {conditions, direction, shadows}Informacije o osvetlitvi.
aesthetics
object {composition, color_scheme, mood_atmosphere, aesthetic_score, preference_score}Informacije o estetiki slike.
photographic_characteristics
object {depth_of_field, focus, camera_angle, lens_focal_length} | nullInformacije o fotografskih značilnostih.
style_medium
string | nullUporabljeni umetniški medij ali slog.
text_render
array of object {text, location, size, color, font, appearance_details} | nullSeznam besedilnih elementov, upodobljenih v sliki.
context
stringDodatni kontekst za lažjo razlago slike.
artistic_style
stringPosebne umetniške značilnosti, izražene z največ 3 besedami.
subject_emotions
string | nullIzrecen opis vidnih izrazov ali čustev oseb.

Več modelov: LLM

Za agente AI: ta stran je v obliki Markdown na voljo na https://doitong.com/sl/developers/models/bria/fibo-lite/generate/structured_prompt.md. Vsi modeli in vodniki: https://doitong.com/developers/llms.txt