跳至內容

Fibo Edit 1.5 Image Editing

整合

模型 id bria/fibo-edit-1.5/edit
# 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-edit-1.5/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

# 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.04 40 API 點數 · ≈ ₽4.30 在此頁面執行

取得 API 金鑰
Bria AI 圖像編輯 #stylized#transform#editing

依文字指示進行多參考影像編輯,最多支援 4 張影像及選用遮罩

Bria AI · 圖像

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

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

建立請求

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

aspect_ratio

包含多張參考圖像之請求的輸出比例覆寫值。單一參考圖像一律自行決定比例;多張參考圖像未設定此值時,會採用第一張參考圖像的比例。

進階 instruction · images · mask · seed · structured_instruction

描述圖像編輯的指示。

image_urls
拖放檔案,或

參考輸入;其提交順序決定指示的解析方式。請以檔案或 URL 提供 1–4 張圖像。

mask_url
拖放檔案,或

僅適用於單一參考圖像的編輯遮罩;遮罩和生成結果都使用該參考圖像的尺寸。請提供檔案或 URL,其中白色標示重新生成區域,黑色標示其餘區域。

預設 5555

控制隨機性以產生可重現結果的種子。

可重複使用的結構化提示詞,包括較早編輯回傳的提示詞。未提供指示時,會原樣使用此提示詞,且 VGL 不會建立替代文件。

POST /run/bria/fibo-edit-1.5/edit?wait=20 報價 → $0.04
# 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-edit-1.5/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

# 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 Edit 1.5 Image Editing

依自然語言 `instruction` 編輯影像,使用 `image_urls` 中一至四張參考影像,且其順序很重要。適合虛擬試穿、背景替換與風格轉換等工作。單影像請求可用 `mask_url` 限制編輯範圍,並可用 `structured_instruction` 重用先前結果。`aspect_ratio` 僅適用於兩張以上影像。

參數

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

名稱類型 預設值允許值 說明
image_urls選填 images
類型url[] · image
參考輸入;其提交順序決定指示的解析方式。請以檔案或 URL 提供 1–4 張圖像。
instruction選填
類型string | null
描述圖像編輯的指示。
aspect_ratio選填
類型enum
1:12:33:23:44:34:55:49:1616:9
包含多張參考圖像之請求的輸出比例覆寫值。單一參考圖像一律自行決定比例;多張參考圖像未設定此值時,會採用第一張參考圖像的比例。
seed選填
類型integer
預設值5555
控制隨機性以產生可重現結果的種子。
mask_url選填 mask
類型url · image
僅適用於單一參考圖像的編輯遮罩;遮罩和生成結果都使用該參考圖像的尺寸。請提供檔案或 URL,其中白色標示重新生成區域,黑色標示其餘區域。
structured_instruction選填
類型object
可重複使用的結構化提示詞,包括較早編輯回傳的提示詞。未提供指示時,會原樣使用此提示詞,且 VGL 不會建立替代文件。
structured_instruction.short_description選填
類型string | null
預期輸出圖像的簡短描述。
structured_instruction.objects選填
類型object[]
預設值[]
以清單指定生成圖像的內容,記錄每個物件的屬性及其與其他圖示物件的關係。
structured_instruction.objects[].description選填
類型string | null
預期輸出物件的描述。
structured_instruction.objects[].location選填
類型string | null
物件在圖像中的位置。
structured_instruction.objects[].relationship必填
類型string
物件與圖像中其他物件的關係。
structured_instruction.objects[].relative_size選填
類型string | null
物件相對於圖像的大小。
structured_instruction.objects[].shape_and_color選填
類型string | null
物件的形狀與色彩。
structured_instruction.objects[].texture選填
類型string | null
物件的材質。
structured_instruction.objects[].appearance_details選填
類型string | null
描述物件外觀的詳細資訊。
structured_instruction.objects[].number_of_objects選填
類型integer | null
圖像中的物件數量。
structured_instruction.objects[].pose選填
類型string | null
圖示物件的姿勢。
structured_instruction.objects[].expression選填
類型string | null
圖示物件呈現的表情。
structured_instruction.objects[].clothing選填
類型string | null
圖示物件穿著的服裝。
structured_instruction.objects[].action選填
類型string | null
圖示物件執行的動作。
structured_instruction.objects[].gender選填
類型string | null
圖示物件的性別。
structured_instruction.objects[].skin_tone_and_texture選填
類型string | null
圖示物件的皮膚質感與色調。
structured_instruction.objects[].orientation選填
類型string | null
圖示物件的方向。
structured_instruction.background_setting選填
類型string | null
生成圖像的背景設定。
structured_instruction.lighting選填
類型object
生成圖像的光線。
structured_instruction.lighting.conditions選填
類型string | null
生成圖像的光線條件。
structured_instruction.lighting.direction選填
類型string | null
生成圖像的光線方向。
structured_instruction.lighting.shadows選填
類型string | null
生成圖像中要呈現的陰影。
structured_instruction.aesthetics選填
類型object
生成圖像的美學特質。
structured_instruction.aesthetics.composition選填
類型string | null
生成圖像的構圖。
structured_instruction.aesthetics.color_scheme選填
類型string | null
生成圖像的色彩配置。
structured_instruction.aesthetics.mood_atmosphere選填
類型string | null
生成圖像的情緒與氛圍。
structured_instruction.aesthetics.aesthetic_score選填
類型string | null
正在生成之圖像的美學評分。
structured_instruction.aesthetics.preference_score選填
類型string | null
正在生成之圖像的偏好評分。
structured_instruction.photographic_characteristics選填
類型object
生成圖像的攝影特性。
structured_instruction.photographic_characteristics.depth_of_field選填
類型string | null
生成圖像的景深。
structured_instruction.photographic_characteristics.focus選填
類型string | null
生成圖像的焦點。
structured_instruction.photographic_characteristics.camera_angle選填
類型string | null
生成圖像的相機角度。
structured_instruction.photographic_characteristics.lens_focal_length選填
類型string | null
生成圖像的鏡頭設定,以焦距表示。
structured_instruction.style_medium選填
類型string | null
生成圖像的藝術媒材。
structured_instruction.text_render選填
類型any[]
預設值[]
要包含在圖像中的文字項目清單。
structured_instruction.context選填
類型string | null
生成圖像的情境。
structured_instruction.artistic_style選填
類型string | null
生成圖像的藝術風格。
structured_instruction.edit_instruction選填
類型string | null
描述如何編輯圖像的指示。
必填 標準名稱,也可使用

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

輸出

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bria/fibo-edit-1.5/edit",
  "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": 40,
    "usd": "0.04",
    "charged": 40,
    "refunded": 0
  },
  "input": {},
  "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": [
      {
        "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
      }
    ],
    "structured_instruction": {}
  },
  "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}編輯後的結果;指定 aspect_ratio 時遵循其比例,否則遵循來源圖像。
images
array of object {url, content_type, file_name, file_size, width, height}使用舊版 Fibo Edit API 路由之用戶端的向後相容回應:清單中唯一項目為同一張圖像。
structured_instruction
object對簡述的擴展解讀,會以實際執行的結構化指示回傳。它同時納入內建指示與透過 `instruction` 提供的任何內容。

更多模型:圖像編輯

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