跳至內容

Fibo Lite

整合

模型 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.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

此請求: $0.036 36 API 點數 · ≈ ₽3.87 在此頁面執行

取得 API 金鑰
Bria AI 文字轉圖像 快速 #bria#fibo#lite

快速輕量文字轉影像模型,支援結構化提示及選用參考影像

Bria AI · 圖像

您的第一個結果會顯示在這裡

在下方建立請求,並使用您的 API 金鑰執行。輸出會複製到我們的儲存空間,可永久保留或免費保留 7 天。

建立請求

控制項是根據模型結構描述生成的。變更設定時,程式碼和價格會同步更新。

用於生成的提示詞。

aspect_ratio 預設 1:1

圖像長寬比;可用值為 1:1、2:3、3:2、3:4、4:3、4:5、5:4、9:16、16:9。

進階 image · seed · structured_prompt
image_url
拖放檔案,或

輸入圖像的 URL。

預設 7

亂數產生器使用的種子。

用於生成的結構化提示詞。

POST /run/bria/fibo-lite/generate?wait=20 報價 → $0.036
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

執行此請求

您的金鑰會保留在此瀏覽器中:只會傳送至 Doitong API,且只有在勾選「記住」時才會儲存至 localStorage。 取得 API 金鑰

關於 Fibo Lite

較輕量的 Fibo 版本,可從 `prompt` 或 `structured_prompt` 建立影像,並選用 `image_url` 作為輸入。設定為 `seed`(預設 7)及九種值中的 `aspect_ratio`。不提供解析度或步數控制,並會在影像旁回傳結構化提示。

參數

請傳送標準名稱或原生名稱其中之一,不要同時傳送兩者。 標準名稱

名稱類型 預設值允許值 說明
prompt選填
類型string | null
用於生成的提示詞。
structured_prompt選填
類型object
用於生成的結構化提示詞。
structured_prompt.short_description必填
類型string
圖像內容的簡短概述,限 200 個單字。
structured_prompt.objects必填
類型object[]
前景或中景中值得注意的物件清單。
structured_prompt.objects[].description必填
類型string
描述物件的簡短摘要。
structured_prompt.objects[].location必填
類型string
位置,例如:'center'、'top-left' 或 'bottom-right foreground'。
structured_prompt.objects[].relationship必填
類型string
描述此物件與圖像中其他物件的關係。
structured_prompt.objects[].relative_size選填
類型string | null
大小,例如:'small'、'medium' 或 'large within frame'。
structured_prompt.objects[].shape_and_color選填
類型string | null
物件的基本形狀與主要顏色。
structured_prompt.objects[].texture選填
類型string | null
紋理,例如:'smooth'、'rough'、'metallic' 或 'furry'。
structured_prompt.objects[].appearance_details選填
類型string | null
值得注意的其他視覺特徵。
structured_prompt.objects[].number_of_objects選填
類型integer | null
群集中物件的數量。
structured_prompt.objects[].pose選填
類型string | null
身體的位置。
structured_prompt.objects[].expression選填
類型string | null
臉部呈現的表情。
structured_prompt.objects[].clothing選填
類型string | null
穿著的服裝。
structured_prompt.objects[].action選填
類型string | null
人物執行的動作。
structured_prompt.objects[].gender選填
類型string | null
人物的性別。
structured_prompt.objects[].skin_tone_and_texture選填
類型string | null
皮膚的色調與紋理。
structured_prompt.objects[].orientation選填
類型string | null
人物的朝向。
structured_prompt.background_setting必填
類型string
整體場景描述:發生地點、周遭環境或背景,以及任何值得注意的背景特徵。
structured_prompt.lighting必填
類型object
描述光線的資訊。
structured_prompt.lighting.conditions必填
類型string
光線範例包括 'bright daylight'、'dim indoor'、'studio lighting' 和 'golden hour'。
structured_prompt.lighting.direction必填
類型string
光線方向;範例包括 'front-lit'、'backlit' 和 'side-lit from left'。
structured_prompt.lighting.shadows選填
類型string | null
存在之陰影的描述。
structured_prompt.aesthetics必填
類型object
描述圖像美學的資訊。
structured_prompt.aesthetics.composition必填
類型string
構圖風格;範例包括 'rule of thirds'、'symmetrical'、'centered' 和 'leading lines'。
structured_prompt.aesthetics.color_scheme必填
類型string
配色方案;範例包括 'monochromatic blue'、'warm complementary colors' 和 'high contrast'。
structured_prompt.aesthetics.mood_atmosphere必填
類型string
情緒或氛圍,例如 `joyful`、`serene`、`mysterious` 或 `energetic`。
structured_prompt.aesthetics.aesthetic_score必填
類型string
分數描述,例如 medium、very low、low、very high 或 high。
structured_prompt.aesthetics.preference_score必填
類型string
分數描述,例如 medium、very low、low、very high 或 high。
structured_prompt.photographic_characteristics選填
類型object
描述攝影特質的資訊。
structured_prompt.photographic_characteristics.depth_of_field必填
類型string
景深;範例包括 'shallow'、'deep' 和 'bokeh background'。
structured_prompt.photographic_characteristics.focus必填
類型string
對焦特性;範例包括 'sharp focus on subject'、'soft focus' 和 'motion blur'。
structured_prompt.photographic_characteristics.camera_angle必填
類型string
相機角度;範例包括 'eye-level'、'low angle'、'high angle' 和 'dutch angle'。
structured_prompt.photographic_characteristics.lens_focal_length必填
類型string
鏡頭類型或焦距,例如 `macro`、`fisheye`、`wide-angle` 或 `telephoto`。
structured_prompt.style_medium選填
類型string | null
使用的藝術媒材或風格。
structured_prompt.text_render選填
類型object[]
在圖像中呈現的文字元素清單。
structured_prompt.text_render[].text必填
類型string
文字內容。
structured_prompt.text_render[].location必填
類型string
位置,例如:'center'、'top-left' 或 'bottom-right foreground'。
structured_prompt.text_render[].size必填
類型string
大小,例如:'small'、'medium' 或 'large within frame'。
structured_prompt.text_render[].color必填
類型string
顏色,例如 `green`、`red` 或 `blue`。
structured_prompt.text_render[].font必填
類型string
字型風格,例如 `minimalist`、`realistic` 或 `cartoonish`。
structured_prompt.text_render[].appearance_details選填
類型string | null
值得注意的其他視覺特徵。
structured_prompt.context必填
類型string
協助解讀圖像的其他背景資訊。
structured_prompt.artistic_style必填
類型string
具體的藝術特徵,最多以 3 個單字表達。
structured_prompt.subject_emotions選填
類型string | null
明確描述主體可見的表情或情緒。
image_url選填 image
類型url · image
輸入圖像的 URL。
seed選填
類型integer
預設值7
亂數產生器使用的種子。
aspect_ratio選填
類型enum
預設值1:1
1:12:33:23:44:34:55:49:1616:9
圖像長寬比;可用值為 1:1、2:3、3:2、3:4、4:3、4:5、5:4、9:16、16:9。
必填 標準名稱,也可使用

檔案參數接受公開的 https:// URL、最大 10 MB 的 data: URI,或上傳檔案的 file_url。 檔案

輸出

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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
您的檔案,由您選擇每個 outputs[].url 都是儲存空間中的副本:可永久保留(按 GB-月計費),或免費保留 7 天;可透過帳戶設定或 ?storage= 設定。
所有模型使用相同結構圖片、影片和音訊皆包含 type、url、content_type、width、height 和 duration。output 是模型自己的結果物件。
輸出欄位
image
object {url, content_type, file_name, file_size, width, height}模型產生的圖像。
images
array of object生成產生的圖像。
structured_prompt
object {short_description, objects, background_setting, lighting, aesthetics, photographic_characteristics, style_medium, text_render, context, artistic_style, subject_emotions}目前使用中的提示詞。

更多模型:文字轉圖像

給 AI 代理程式:此頁面的 Markdown 位於 https://doitong.com/zh-TW/developers/models/bria/fibo-lite/generate.md. 所有模型與指南: https://doitong.com/developers/llms.txt