跳至內容

Flux 2 Lora Gallery · Multiple Angles

整合

模型 id flux-2-lora-gallery/multiple-angles
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/flux-2-lora-gallery/multiple-angles?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

此請求: ≈$0.021 21 API 點數 在此頁面執行

取得 API 金鑰
Black Forest Labs · 圖像

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

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

建立請求

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

•必填 image_urls
拖放檔案,或

指向要調整相機角度之圖像的 URL。

image_size

輸出大小覆寫;不指定時會保留輸入圖像的尺寸。

num_images 預設 1

要產生的圖像數量。

進階 acceleration · output_format · horizontal_angle · vertical_angle · zoom · guidance_scale · num_inference_steps · lora_scale · seed · enable_safety_checker
acceleration 預設 regular

圖像生成加速設定。

output_format 預設 png

結果圖像的檔案格式。

預設 0

物件周圍的水平相機旋轉角度,以度數計算:0° 面向正面,90° 顯示右側,180° 顯示背面,270° 顯示左側,360° 回到正面。

預設 0

垂直相機角度,以度數計算:0° 為平視,30° 為俯視,60° 為從上方往下看的高角度視圖。

預設 5

相機距離或縮放設定:0 為遠距離廣角鏡頭,5 為正常距離中景,10 為非常近的特寫鏡頭。

預設 2.5

CFG (Classifier Free Guidance) 的引導比例。

預設 40

要執行的推論步數。

預設 1

多角度效果的強度。

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

POST /run/flux-2-lora-gallery/multiple-angles?wait=20 報價 → $0.021
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/flux-2-lora-gallery/multiple-angles?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

執行此請求

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

關於 Flux 2 Lora Gallery · Multiple Angles

從 `image_urls` 接收圖像,從另一個視角重新生成主體。`horizontal_angle` 以物體為中心在 0 至 360 度間旋轉,`vertical_angle` 從視線高度到高角度為 0 至 60 度,`zoom` 則從廣角到特寫為 0 至 10。`lora_scale` 設定效果強度,最多返回 4 張圖像。

參數

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

名稱類型 預設值允許值 說明
image_urls必填 images
類型url[] · image
指向要調整相機角度之圖像的 URL。
horizontal_angle選填
類型number
預設值0
0 – 360
物件周圍的水平相機旋轉角度,以度數計算:0° 面向正面,90° 顯示右側,180° 顯示背面,270° 顯示左側,360° 回到正面。
vertical_angle選填
類型number
預設值0
0 – 60
垂直相機角度,以度數計算:0° 為平視,30° 為俯視,60° 為從上方往下看的高角度視圖。
zoom選填
類型number
預設值5
0 – 10
相機距離或縮放設定:0 為遠距離廣角鏡頭,5 為正常距離中景,10 為非常近的特寫鏡頭。
image_size選填
類型object
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
輸出大小覆寫;不指定時會保留輸入圖像的尺寸。
guidance_scale選填
類型number
預設值2.5
0 – 20
CFG (Classifier Free Guidance) 的引導比例。
num_inference_steps選填
類型integer
預設值40
4 – 50
要執行的推論步數。
acceleration選填
類型enum
預設值regular
noneregular
圖像生成加速設定。
seed選填
類型integer | null
控制隨機性以產生可重現結果的種子。
enable_safety_checker選填
類型boolean
預設值true
安全檢查開關;關閉設定僅對已授權帳戶有效。所有未獲該授權的請求都會進行安全檢查。
output_format選填
類型enum
預設值png
pngjpegwebp
結果圖像的檔案格式。
num_images選填 num_outputs
類型integer
預設值1
1 – 4
要產生的圖像數量。
lora_scale選填
類型number
預設值1
0 – 2
多角度效果的強度。
必填 標準名稱,也可使用

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

輸出

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "flux-2-lora-gallery/multiple-angles",
  "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": 21,
    "usd": "0.021",
    "charged": 21,
    "refunded": 0
  },
  "input": {
    "image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  },
  "output": {
    "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
      }
    ],
    "seed": 42,
    "prompt": "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://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
您的檔案,由您選擇每個 outputs[].url 都是儲存空間中的副本:可永久保留(按 GB-月計費),或免費保留 7 天;可透過帳戶設定或 ?storage= 設定。
所有模型使用相同結構圖片、影片和音訊皆包含 type、url、content_type、width、height 和 duration。output 是模型自己的結果物件。
輸出欄位
images
array of object {url, content_type, file_name, file_size, width, height}顯示多個相機視角的輸出圖像。
seed
integer生成期間使用的種子值。
prompt
string生成期間使用的提示詞。

更多模型:圖像編輯

給 AI 代理程式:此頁面的 Markdown 位於 https://doitong.com/zh-TW/developers/models/flux-2-lora-gallery/multiple-angles.md. 所有模型與指南: https://doitong.com/developers/llms.txt