Hoppa till innehåll

Fibo Lite

Integrera

Modell-id 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"

Den här begäran: 0,036 $ 36 API-krediter Kör den på den här sidan

Hämta API-nyckel
Bria AI Text till bild Snabb #bria#fibo#lite

Snabb och lätt text-till-bild-modell med stöd för strukturerade prompter och en valfri referensbild

Bria AI · Bild

Ditt första resultat visas här

Skapa en begäran nedan och kör den med din API-nyckel. Utdata kopieras till vår lagring och sparas för alltid eller 7 dagar kostnadsfritt.

Skapa en begäran

Kontrollerna genereras från modellschemat. Koden och priset uppdateras när du ändrar dem.

Prompt som används för generering.

aspect_ratio standard 1:1

Bildens proportioner; tillgängliga värden är 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9.

Avancerat image · seed · structured_prompt
image_url
Släpp en fil eller

URL till indata-bilden.

standard 7

Seed som används av slumptalsgeneratorn.

Strukturerad prompt som används för generering.

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

Kör den här begäran

Din nyckel stannar i den här webbläsaren: den skickas endast till Doitong API och sparas endast i localStorage om du markerar Kom ihåg. Hämta en API-nyckel

Om Fibo Lite

En lättare Fibo-variant som skapar bilder från en `prompt` eller `structured_prompt`, med valfri `image_url` som indata. Inställningarna är `seed` (standard 7) och `aspect_ratio` bland nio värden. Den har inga kontroller för upplösning eller steg och returnerar den strukturerade prompten tillsammans med bilden.

Parametrar

Skicka antingen det kanoniska namnet eller det inbyggda namnet, inte båda. Kanoniska namn

NamnTyp StandardTillåtna Beskrivning
promptvalfritt
Typstring | null
Prompt som används för generering.
structured_promptvalfritt
Typobject
Strukturerad prompt som används för generering.
structured_prompt.short_descriptionobligatoriskt
Typstring
Kort översikt över vad bilden innehåller, begränsad till 200 ord.
structured_prompt.objectsobligatoriskt
Typobject[]
Lista över framträdande objekt i förgrunden eller mellanplanet.
structured_prompt.objects[].descriptionobligatoriskt
Typstring
Kort sammanfattning som beskriver objektet.
structured_prompt.objects[].locationobligatoriskt
Typstring
Plats, till exempel: 'center', 'top-left' eller 'bottom-right foreground'.
structured_prompt.objects[].relationshipobligatoriskt
Typstring
Beskriv hur objektet relaterar till andra i bilden.
structured_prompt.objects[].relative_sizevalfritt
Typstring | null
Storlek, till exempel: 'small', 'medium' eller 'large within frame'.
structured_prompt.objects[].shape_and_colorvalfritt
Typstring | null
Objektets grundform och huvudfärg.
structured_prompt.objects[].texturevalfritt
Typstring | null
Textur, till exempel: 'smooth', 'rough', 'metallic' eller 'furry'.
structured_prompt.objects[].appearance_detailsvalfritt
Typstring | null
Ytterligare visuella egenskaper som är värda att notera.
structured_prompt.objects[].number_of_objectsvalfritt
Typinteger | null
Antal objekt i klustret.
structured_prompt.objects[].posevalfritt
Typstring | null
Kroppens position.
structured_prompt.objects[].expressionvalfritt
Typstring | null
Ansiktsuttryck.
structured_prompt.objects[].clothingvalfritt
Typstring | null
Kläder som bärs.
structured_prompt.objects[].actionvalfritt
Typstring | null
Handling som personen utför.
structured_prompt.objects[].gendervalfritt
Typstring | null
Personens kön.
structured_prompt.objects[].skin_tone_and_texturevalfritt
Typstring | null
Hudens ton och textur.
structured_prompt.objects[].orientationvalfritt
Typstring | null
Personens orientering.
structured_prompt.background_settingobligatoriskt
Typstring
Beskrivning av scenen som helhet: var den utspelar sig, dess omgivningar eller bakgrund samt eventuella bakgrundsdetaljer som är värda att notera.
structured_prompt.lightingobligatoriskt
Typobject
Information som beskriver belysningen.
structured_prompt.lighting.conditionsobligatoriskt
Typstring
Exempel på belysning är 'bright daylight', 'dim indoor', 'studio lighting' och 'golden hour'.
structured_prompt.lighting.directionobligatoriskt
Typstring
Belysningsriktning; exempel är 'front-lit', 'backlit' och 'side-lit from left'.
structured_prompt.lighting.shadowsvalfritt
Typstring | null
Beskrivning av eventuella skuggor.
structured_prompt.aestheticsobligatoriskt
Typobject
Information som beskriver bildens estetik.
structured_prompt.aesthetics.compositionobligatoriskt
Typstring
Kompositionsstil; exempel är 'rule of thirds', 'symmetrical', 'centered' och 'leading lines'.
structured_prompt.aesthetics.color_schemeobligatoriskt
Typstring
Färgschema; exempel är 'monochromatic blue', 'warm complementary colors' och 'high contrast'.
structured_prompt.aesthetics.mood_atmosphereobligatoriskt
Typstring
Stämning eller atmosfär, till exempel `joyful`, `serene`, `mysterious` eller `energetic`.
structured_prompt.aesthetics.aesthetic_scoreobligatoriskt
Typstring
Beskrivning av poängen, till exempel medium, mycket låg, låg, mycket hög eller hög.
structured_prompt.aesthetics.preference_scoreobligatoriskt
Typstring
Beskrivning av poängen, till exempel medium, mycket låg, låg, mycket hög eller hög.
structured_prompt.photographic_characteristicsvalfritt
Typobject
Information som beskriver de fotografiska egenskaperna.
structured_prompt.photographic_characteristics.depth_of_fieldobligatoriskt
Typstring
Skärpedjup; exempel är 'shallow', 'deep' och 'bokeh background'.
structured_prompt.photographic_characteristics.focusobligatoriskt
Typstring
Fokusegenskaper; exempel är 'sharp focus on subject', 'soft focus' och 'motion blur'.
structured_prompt.photographic_characteristics.camera_angleobligatoriskt
Typstring
Kameravinkel; exempel är 'eye-level', 'low angle', 'high angle' och 'dutch angle'.
structured_prompt.photographic_characteristics.lens_focal_lengthobligatoriskt
Typstring
Objektivtyp eller brännvidd, till exempel `macro`, `fisheye`, `wide-angle` eller `telephoto`.
structured_prompt.style_mediumvalfritt
Typstring | null
Konstnärligt medium eller konstnärlig stil.
structured_prompt.text_rendervalfritt
Typobject[]
Lista över textelement som återges i bilden.
structured_prompt.text_render[].textobligatoriskt
Typstring
Textens innehåll.
structured_prompt.text_render[].locationobligatoriskt
Typstring
Plats, till exempel: 'center', 'top-left' eller 'bottom-right foreground'.
structured_prompt.text_render[].sizeobligatoriskt
Typstring
Storlek, till exempel: 'small', 'medium' eller 'large within frame'.
structured_prompt.text_render[].colorobligatoriskt
Typstring
Färg, till exempel `green`, `red` eller `blue`.
structured_prompt.text_render[].fontobligatoriskt
Typstring
Typsnittsstil, till exempel `minimalist`, `realistic` eller `cartoonish`.
structured_prompt.text_render[].appearance_detailsvalfritt
Typstring | null
Ytterligare visuella egenskaper som är värda att notera.
structured_prompt.contextobligatoriskt
Typstring
Ytterligare kontext som underlättar tolkningen av bilden.
structured_prompt.artistic_styleobligatoriskt
Typstring
Specifika konstnärliga egenskaper, uttryckta med högst 3 ord.
structured_prompt.subject_emotionsvalfritt
Typstring | null
Explicit beskrivning av motivens synliga uttryck eller känslor.
image_urlvalfritt image
Typurl · image
URL till indata-bilden.
seedvalfritt
Typinteger
Standard7
Seed som används av slumptalsgeneratorn.
aspect_ratiovalfritt
Typenum
Standard1:1
1:12:33:23:44:34:55:49:1616:9
Bildens proportioner; tillgängliga värden är 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9.
obligatoriskt Kanoniskt namn, accepteras också

Filparametrar tar emot en offentlig https://-URL, en data:-URI på upp till 10 MB eller file_url från en uppladdning. Filer

Resultat

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"
  }
}
Dina filer, ditt valVarje outputs[].url är en kopia i vår lagring: sparad för alltid (debiteras per GB-månad) eller 7 dagar kostnadsfritt, enligt din kontoinställning eller ?storage=.
Samma struktur för varje modelltype, url, content_type, width, height och duration, för bilder, video och ljud. output är modellens eget resultatobjekt.
Resultatets fält
image
object {url, content_type, file_name, file_size, width, height}Bild som modellen har skapat.
images
array of objectBilder som skapats genom generering.
structured_prompt
object {short_description, objects, background_setting, lighting, aesthetics, photographic_characteristics, style_medium, text_render, context, artistic_style, subject_emotions}Prompt som används för närvarande.

Fler modeller: Text till bild

För AI-agenter: den här sidan som Markdown finns på https://doitong.com/sv/developers/models/bria/fibo-lite/generate.md. Alla modeller och guider: https://doitong.com/developers/llms.txt