Přejít na obsah

Fibo Lite · Structured Prompt

Integrace

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

Tento požadavek: 0,008 $ 8 kreditů API Spustit na této stránce

Získat API klíč
Bria AI LLM Rychlé #bria#fibo#structured-prompt

Převede text nebo obrázek na strukturovaný JSON prompt Fibo Lite namísto vytvoření obrázku

Bria AI · Data (JSON)

Zde se zobrazí váš první výsledek

Níže sestavte požadavek a spusťte ho pomocí svého API klíče. Výstupy se kopírují do našeho úložiště a uchovávají se navždy nebo 7 dne zdarma.

Sestavit požadavek

Ovládací prvky se generují ze schématu modelu. Kód a cena se aktualizují podle provedených změn.

Prompt použitý pro generování.

Pokročilé image · seed · structured_prompt
image_url
Přetáhněte soubor nebo

URL vstupního obrázku.

výchozí 7

Seed použitý generátorem náhodných čísel.

Strukturovaný prompt použitý pro generování.

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"

Spustit tento požadavek

Váš klíč zůstává v tomto prohlížeči: odesílá se pouze do Doitong API a uloží se do localStorage jen tehdy, když zaškrtnete možnost Zapamatovat. Získat klíč API

O modelu Fibo Lite · Structured Prompt

Vrací strukturovaný popis pro použití s Fibo Lite namísto obrázku. Vstupy jsou `prompt`, existující `structured_prompt` nebo `image_url` a také `seed`. Výstup JSON pokrývá estetiku, umělecký styl, nastavení pozadí, osvětlení, objekty, fotografické charakteristiky, emoce subjektu a vykreslovaný text.

Parametry

Odešlete buď kanonický název, nebo nativní název, ne oba. Kanonické názvy

NázevTyp VýchozíPovolené Popis
promptvolitelné
Typstring | null
Prompt použitý pro generování.
structured_promptvolitelné
Typobject
Strukturovaný prompt použitý pro generování.
structured_prompt.short_descriptionpovinné
Typstring
Stručný přehled obsahu obrázku, omezený na 200 slov.
structured_prompt.objectspovinné
Typobject[]
Seznam významných objektů v popředí nebo střední vzdálenosti.
structured_prompt.objects[].descriptionpovinné
Typstring
Stručné shrnutí popisující objekt.
structured_prompt.objects[].locationpovinné
Typstring
Umístění, například: 'center', 'top-left' nebo 'bottom-right foreground'.
structured_prompt.objects[].relationshippovinné
Typstring
Popište, jak tento objekt souvisí s ostatními v obrázku.
structured_prompt.objects[].relative_sizevolitelné
Typstring | null
Velikost, například: 'small', 'medium' nebo 'large within frame'.
structured_prompt.objects[].shape_and_colorvolitelné
Typstring | null
Základní tvar a hlavní barva objektu.
structured_prompt.objects[].texturevolitelné
Typstring | null
Textura, například: 'smooth', 'rough', 'metallic' nebo 'furry'.
structured_prompt.objects[].appearance_detailsvolitelné
Typstring | null
Další významné vizuální prvky.
structured_prompt.objects[].number_of_objectsvolitelné
Typinteger | null
Počet objektů ve shluku.
structured_prompt.objects[].posevolitelné
Typstring | null
Poloha těla.
structured_prompt.objects[].expressionvolitelné
Typstring | null
Výraz ve tváři.
structured_prompt.objects[].clothingvolitelné
Typstring | null
Oblečení.
structured_prompt.objects[].actionvolitelné
Typstring | null
Činnost, kterou osoba provádí.
structured_prompt.objects[].gendervolitelné
Typstring | null
Pohlaví osoby.
structured_prompt.objects[].skin_tone_and_texturevolitelné
Typstring | null
Tón a textura pokožky.
structured_prompt.objects[].orientationvolitelné
Typstring | null
Orientace osoby.
structured_prompt.background_settingpovinné
Typstring
Popis celé scény: kde se odehrává, její okolí nebo pozadí a všechny významné prvky v pozadí.
structured_prompt.lightingpovinné
Typobject
Informace popisující osvětlení.
structured_prompt.lighting.conditionspovinné
Typstring
Příklady osvětlení zahrnují 'bright daylight', 'dim indoor', 'studio lighting' a 'golden hour'.
structured_prompt.lighting.directionpovinné
Typstring
Směr osvětlení; příklady zahrnují 'front-lit', 'backlit' a 'side-lit from left'.
structured_prompt.lighting.shadowsvolitelné
Typstring | null
Popis všech přítomných stínů.
structured_prompt.aestheticspovinné
Typobject
Informace popisující estetiku obrázku.
structured_prompt.aesthetics.compositionpovinné
Typstring
Styl kompozice; příklady zahrnují 'rule of thirds', 'symmetrical', 'centered' a 'leading lines'.
structured_prompt.aesthetics.color_schemepovinné
Typstring
Barevné schéma; příklady zahrnují 'monochromatic blue', 'warm complementary colors' a 'high contrast'.
structured_prompt.aesthetics.mood_atmospherepovinné
Typstring
Nálada nebo atmosféra, například `joyful`, `serene`, `mysterious` nebo `energetic`.
structured_prompt.aesthetics.aesthetic_scorepovinné
Typstring
Popis skóre, například medium, very low, low, very high nebo high.
structured_prompt.aesthetics.preference_scorepovinné
Typstring
Popis skóre, například medium, very low, low, very high nebo high.
structured_prompt.photographic_characteristicsvolitelné
Typobject
Informace popisující fotografické vlastnosti.
structured_prompt.photographic_characteristics.depth_of_fieldpovinné
Typstring
Hloubka ostrosti; příklady zahrnují 'shallow', 'deep' a 'bokeh background'.
structured_prompt.photographic_characteristics.focuspovinné
Typstring
Vlastnosti zaostření; příklady zahrnují 'sharp focus on subject', 'soft focus' a 'motion blur'.
structured_prompt.photographic_characteristics.camera_anglepovinné
Typstring
Úhel kamery; příklady zahrnují 'eye-level', 'low angle', 'high angle' a 'dutch angle'.
structured_prompt.photographic_characteristics.lens_focal_lengthpovinné
Typstring
Typ objektivu nebo ohnisková vzdálenost, například `macro`, `fisheye`, `wide-angle` nebo `telephoto`.
structured_prompt.style_mediumvolitelné
Typstring | null
Použité umělecké médium nebo styl.
structured_prompt.text_rendervolitelné
Typobject[]
Seznam textových prvků vykreslených v obrázku.
structured_prompt.text_render[].textpovinné
Typstring
Obsah textu.
structured_prompt.text_render[].locationpovinné
Typstring
Umístění, například: 'center', 'top-left' nebo 'bottom-right foreground'.
structured_prompt.text_render[].sizepovinné
Typstring
Velikost, například: 'small', 'medium' nebo 'large within frame'.
structured_prompt.text_render[].colorpovinné
Typstring
Barva, například `green`, `red` nebo `blue`.
structured_prompt.text_render[].fontpovinné
Typstring
Styl písma, například `minimalist`, `realistic` nebo `cartoonish`.
structured_prompt.text_render[].appearance_detailsvolitelné
Typstring | null
Další významné vizuální prvky.
structured_prompt.contextpovinné
Typstring
Další kontext usnadňující interpretaci obrázku.
structured_prompt.artistic_stylepovinné
Typstring
Konkrétní umělecké rysy vyjádřené nejvýše 3 slovy.
structured_prompt.subject_emotionsvolitelné
Typstring | null
Výslovný popis viditelných výrazů nebo emocí subjektů.
image_urlvolitelné image
Typurl · image
URL vstupního obrázku.
seedvolitelné
Typinteger
Výchozí7
Seed použitý generátorem náhodných čísel.
povinné Kanonický název, také podporován

Parametry souborů přijímají veřejnou adresu https:// URL, data: URI do 10 MB nebo file_url nahraného souboru. Soubory

Výstup

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 soubory, vaše volbaKaždý outputs[].url je kopie v našem úložišti: uchovávaná navždy (zpoplatněná za GB-měsíc) nebo 7 dne zdarma podle nastavení účtu nebo ?storage=.
Stejná struktura u každého modelutype, url, content_type, width, height a duration pro obrázky, video i zvuk. output je vlastní objekt výsledku modelu.
Pole výstupu
short_description
stringStručný přehled obsahu obrázku, omezený na 200 slov.
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 významných objektů v popředí nebo střední vzdálenosti.
background_setting
stringPopis celé scény: kde se odehrává, její okolí nebo pozadí a všechny významné prvky v pozadí.
lighting
object {conditions, direction, shadows}Informace popisující osvětlení.
aesthetics
object {composition, color_scheme, mood_atmosphere, aesthetic_score, preference_score}Informace popisující estetiku obrázku.
photographic_characteristics
object {depth_of_field, focus, camera_angle, lens_focal_length} | nullInformace popisující fotografické vlastnosti.
style_medium
string | nullPoužité umělecké médium nebo styl.
text_render
array of object {text, location, size, color, font, appearance_details} | nullSeznam textových prvků vykreslených v obrázku.
context
stringDalší kontext usnadňující interpretaci obrázku.
artistic_style
stringKonkrétní umělecké rysy vyjádřené nejvýše 3 slovy.
subject_emotions
string | nullVýslovný popis viditelných výrazů nebo emocí subjektů.

Další modely: LLM

Pro AI agenty: tato stránka je ve formátu Markdown na adrese https://doitong.com/cs/developers/models/bria/fibo-lite/generate/structured_prompt.md. Všechny modely a návody: https://doitong.com/developers/llms.txt