Preskoči na vsebino

Fibo Lite

Integracija

ID modela bria/fibo-lite/generate
# 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?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,036 $ 36 API kreditov Zaženi na tej strani

Pridobi ključ API
Bria AI Besedilo v sliko Hitro #bria#fibo#lite

Hiter lahek model za pretvorbo besedila v sliko s podporo strukturiranim pozivom in neobvezno referenčno sliko

Bria AI · Slika

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.

aspect_ratio privzeto 1:1

Razmerje stranic slike; razpoložljive vrednosti so 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9.

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?wait=20 cena → 0,036 $
# 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?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

Lažja različica Fibo ustvarja slike iz `prompt` ali `structured_prompt` ter kot neobvezni vhod sprejme `image_url`. Nastavitvi sta `seed` (privzeto 7) in `aspect_ratio` z eno od devetih vrednosti. Nima nadzora nad ločljivostjo ali koraki in skupaj s sliko vrne strukturirani poziv.

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.
aspect_rationeobvezno
Vrstaenum
Privzeto1:1
1:12:33:23:44:34:55:49:1616:9
Razmerje stranic slike; razpoložljive vrednosti so 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9.
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",
  "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": 36,
    "usd": "0.036",
    "charged": 36,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "image": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768
    },
    "images": [
      {}
    ],
    "structured_prompt": {
      "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": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "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
image
object {url, content_type, file_name, file_size, width, height}Slika, ki jo ustvari model.
images
array of objectSlike, ustvarjene z generiranjem.
structured_prompt
object {short_description, objects, background_setting, lighting, aesthetics, photographic_characteristics, style_medium, text_render, context, artistic_style, subject_emotions}Poziv, ki je trenutno v uporabi.

Več modelov: Besedilo v sliko

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