Vai al contenuto

Fibo Lite · Structured Prompt

Integra

ID del modello 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"

Questa richiesta: 0,008 $ 8 crediti API Esegui in questa pagina

Ottieni la chiave API
Bria AI LLM Veloce #bria#fibo#structured-prompt

Converte testo o un'immagine in un prompt JSON strutturato per Fibo Lite invece di produrre un'immagine

Bria AI · Dati (JSON)

Il tuo primo risultato apparirà qui

Crea una richiesta qui sotto ed eseguila con la tua chiave API. Gli output vengono copiati nella nostra archiviazione, conservati per sempre oppure 7 giorni gratuitamente.

Crea una richiesta

I controlli vengono generati dallo schema del modello. Il codice e il prezzo si aggiornano mentre li modifichi.

Prompt usato per la generazione.

Avanzate image · seed · structured_prompt
image_url
Trascina un file oppure

URL dell'immagine di input.

predefinito 7

Seed usato dal generatore di numeri casuali.

Prompt strutturato usato per la generazione.

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

Esegui questa richiesta

La tua chiave rimane in questo browser: viene inviata solo al Doitong API e salvata in localStorage solo se selezioni Ricorda. Ottieni una chiave API

Informazioni su Fibo Lite · Structured Prompt

Restituisce una descrizione strutturata da usare con Fibo Lite invece di un'immagine. Gli input sono `prompt`, uno `structured_prompt` esistente o un `image_url`, oltre a `seed`. L'output JSON comprende estetica, stile artistico, ambientazione dello sfondo, illuminazione, oggetti, caratteristiche fotografiche, emozioni del soggetto e testo da renderizzare.

Parametri

Invia il nome canonico oppure il nome nativo, non entrambi. Nomi canonici

NomeTipo PredefinitoConsentiti Descrizione
promptfacoltativo
Tipostring | null
Prompt usato per la generazione.
structured_promptfacoltativo
Tipoobject
Prompt strutturato usato per la generazione.
structured_prompt.short_descriptionobbligatorio
Tipostring
Breve panoramica del contenuto dell'immagine, limitata a 200 parole.
structured_prompt.objectsobbligatorio
Tipoobject[]
Elenco degli oggetti degni di nota in primo piano o piano intermedio.
structured_prompt.objects[].descriptionobbligatorio
Tipostring
Breve riepilogo che descrive l'oggetto.
structured_prompt.objects[].locationobbligatorio
Tipostring
Posizione, ad esempio: 'center', 'top-left' o 'bottom-right foreground'.
structured_prompt.objects[].relationshipobbligatorio
Tipostring
Descrive il rapporto di questo oggetto con gli altri nell'immagine.
structured_prompt.objects[].relative_sizefacoltativo
Tipostring | null
Dimensione, ad esempio: 'small', 'medium' o 'large within frame'.
structured_prompt.objects[].shape_and_colorfacoltativo
Tipostring | null
Forma di base e colore principale dell'oggetto.
structured_prompt.objects[].texturefacoltativo
Tipostring | null
Texture, ad esempio: 'smooth', 'rough', 'metallic' o 'furry'.
structured_prompt.objects[].appearance_detailsfacoltativo
Tipostring | null
Altre caratteristiche visive degne di nota.
structured_prompt.objects[].number_of_objectsfacoltativo
Tipointeger | null
Numero di oggetti nel gruppo.
structured_prompt.objects[].posefacoltativo
Tipostring | null
Posizione del corpo.
structured_prompt.objects[].expressionfacoltativo
Tipostring | null
Espressione mostrata dal volto.
structured_prompt.objects[].clothingfacoltativo
Tipostring | null
Abbigliamento indossato.
structured_prompt.objects[].actionfacoltativo
Tipostring | null
Azione eseguita dalla persona.
structured_prompt.objects[].genderfacoltativo
Tipostring | null
Genere della persona.
structured_prompt.objects[].skin_tone_and_texturefacoltativo
Tipostring | null
Tono e texture della pelle.
structured_prompt.objects[].orientationfacoltativo
Tipostring | null
Orientamento della persona.
structured_prompt.background_settingobbligatorio
Tipostring
Descrizione della scena nel suo insieme: luogo, ambiente o sfondo e caratteristiche dello sfondo degne di nota.
structured_prompt.lightingobbligatorio
Tipoobject
Informazioni che descrivono l'illuminazione.
structured_prompt.lighting.conditionsobbligatorio
Tipostring
Gli esempi di illuminazione includono 'bright daylight', 'dim indoor', 'studio lighting' e 'golden hour'.
structured_prompt.lighting.directionobbligatorio
Tipostring
Direzione dell'illuminazione; gli esempi includono 'front-lit', 'backlit' e 'side-lit from left'.
structured_prompt.lighting.shadowsfacoltativo
Tipostring | null
Descrizione delle eventuali ombre presenti.
structured_prompt.aestheticsobbligatorio
Tipoobject
Informazioni che descrivono l'estetica dell'immagine.
structured_prompt.aesthetics.compositionobbligatorio
Tipostring
Stile di composizione; gli esempi includono 'rule of thirds', 'symmetrical', 'centered' e 'leading lines'.
structured_prompt.aesthetics.color_schemeobbligatorio
Tipostring
Schema cromatico; gli esempi includono 'monochromatic blue', 'warm complementary colors' e 'high contrast'.
structured_prompt.aesthetics.mood_atmosphereobbligatorio
Tipostring
Atmosfera o stato d'animo, ad esempio `joyful`, `serene`, `mysterious` o `energetic`.
structured_prompt.aesthetics.aesthetic_scoreobbligatorio
Tipostring
Descrizione del punteggio, ad esempio medium, very low, low, very high o high.
structured_prompt.aesthetics.preference_scoreobbligatorio
Tipostring
Descrizione del punteggio, ad esempio medium, very low, low, very high o high.
structured_prompt.photographic_characteristicsfacoltativo
Tipoobject
Informazioni che descrivono le qualità fotografiche.
structured_prompt.photographic_characteristics.depth_of_fieldobbligatorio
Tipostring
Profondità di campo; gli esempi includono 'shallow', 'deep' e 'bokeh background'.
structured_prompt.photographic_characteristics.focusobbligatorio
Tipostring
Caratteristiche della messa a fuoco; gli esempi includono 'sharp focus on subject', 'soft focus' e 'motion blur'.
structured_prompt.photographic_characteristics.camera_angleobbligatorio
Tipostring
Angolazione della fotocamera; gli esempi includono 'eye-level', 'low angle', 'high angle' e 'dutch angle'.
structured_prompt.photographic_characteristics.lens_focal_lengthobbligatorio
Tipostring
Tipo di obiettivo o lunghezza focale, ad esempio `macro`, `fisheye`, `wide-angle` o `telephoto`.
structured_prompt.style_mediumfacoltativo
Tipostring | null
Tecnica o stile artistico utilizzato.
structured_prompt.text_renderfacoltativo
Tipoobject[]
Elenco degli elementi testuali visualizzati nell'immagine.
structured_prompt.text_render[].textobbligatorio
Tipostring
Contenuto del testo.
structured_prompt.text_render[].locationobbligatorio
Tipostring
Posizione, ad esempio: 'center', 'top-left' o 'bottom-right foreground'.
structured_prompt.text_render[].sizeobbligatorio
Tipostring
Dimensione, ad esempio: 'small', 'medium' o 'large within frame'.
structured_prompt.text_render[].colorobbligatorio
Tipostring
Colore, ad esempio `green`, `red` o `blue`.
structured_prompt.text_render[].fontobbligatorio
Tipostring
Stile del carattere, ad esempio `minimalist`, `realistic` o `cartoonish`.
structured_prompt.text_render[].appearance_detailsfacoltativo
Tipostring | null
Altre caratteristiche visive degne di nota.
structured_prompt.contextobbligatorio
Tipostring
Contesto aggiuntivo per facilitare l'interpretazione dell'immagine.
structured_prompt.artistic_styleobbligatorio
Tipostring
Tratti artistici specifici, espressi in massimo 3 parole.
structured_prompt.subject_emotionsfacoltativo
Tipostring | null
Descrizione esplicita delle espressioni o emozioni visibili dei soggetti.
image_urlfacoltativo image
Tipourl · image
URL dell'immagine di input.
seedfacoltativo
Tipointeger
Predefinito7
Seed usato dal generatore di numeri casuali.
obbligatorio Nome canonico, accettato anche

I parametri file accettano un URL pubblico https://, un URI data: fino a 10 MB oppure il file_url di un caricamento. File

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"
  }
}
I tuoi file, la tua sceltaOgni outputs[].url è una copia nella nostra archiviazione: conservata per sempre (a pagamento per GB-mese) oppure 7 giorni gratuitamente, in base all'impostazione dell'account o a ?storage=.
Stessa struttura per ogni modellotype, url, content_type, width, height e duration, per immagini, video e audio. output è l'oggetto risultato del modello.
Campi dell'output
short_description
stringBreve panoramica del contenuto dell'immagine, limitata a 200 parole.
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}Elenco degli oggetti degni di nota in primo piano o piano intermedio.
background_setting
stringDescrizione della scena nel suo insieme: luogo, ambiente o sfondo e caratteristiche dello sfondo degne di nota.
lighting
object {conditions, direction, shadows}Informazioni che descrivono l'illuminazione.
aesthetics
object {composition, color_scheme, mood_atmosphere, aesthetic_score, preference_score}Informazioni che descrivono l'estetica dell'immagine.
photographic_characteristics
object {depth_of_field, focus, camera_angle, lens_focal_length} | nullInformazioni che descrivono le qualità fotografiche.
style_medium
string | nullTecnica o stile artistico utilizzato.
text_render
array of object {text, location, size, color, font, appearance_details} | nullElenco degli elementi testuali visualizzati nell'immagine.
context
stringContesto aggiuntivo per facilitare l'interpretazione dell'immagine.
artistic_style
stringTratti artistici specifici, espressi in massimo 3 parole.
subject_emotions
string | nullDescrizione esplicita delle espressioni o emozioni visibili dei soggetti.

Altri modelli: LLM

Per gli agenti AI: questa pagina in Markdown è disponibile all'indirizzo https://doitong.com/it/developers/models/bria/fibo-lite/generate/structured_prompt.md. Tutti i modelli e le guide: https://doitong.com/developers/llms.txt