本文へスキップ
Black Forest Labs確認中

FLUX 3 Klein / Image to Image

flux-3-klein-image-to-image

画像から画像出力: 画像入力: テキスト + 画像
料金を読み込み中…
公式定価 · 未確認
API キーを取得

パラメーター

必須
imageUrls: string[]必須

Reference images, 1-10. One for single-image edit; multiple are referenced as Image 1 / Image 2 in order. Each image must be at most 16,777,216 pixels (about 4096x4096; total pixels, not side length), otherwise it is rejected. ≤ 10 items · HTTPS image URL or media:<uuid>

prompt: string必須

Scene description or edit instruction. No negative prompt; a bbox JSON array may be appended for layout or local edits. 1–20000 chars

resolution: string必須

Resolution tier, decides the price. 768sq ~768x768, 1k ~1MP, 1.5k ~2MP, 2k ~4MP, 4k ~16MP.

一般的なオプション
aspectRatio: string

Output aspect ratio. auto follows the first reference image when editing, or the prompt for text-to-image.

outputFormat: string

Output image format.

詳細設定 (3)
seed: integer

Random seed. Leave empty for random. 0–2147483647

steps: integer

Sampling steps 1-16, default 16. Fewer is faster but may lower quality; price unchanged. 1–16

safetyTolerance: integer

Moderation tolerance, 0 strictest to 4, default 2. 0–4

リクエストのプレビュー

{
  "model": "flux-3-klein-image-to-image",
  "input": {
    "aspectRatio": "auto",
    "resolution": "1k",
    "steps": 16,
    "outputFormat": "jpeg",
    "safetyTolerance": 2
  }
}

Web Playground はサインイン中のセッションでこのボディを送信します。コードからは同じボディを API キーとともに送信してください。

見積もり料金

料金を読み込み中…

タスクが受け付けられるとクレジットが確保され、成功した場合のみ課金されます。失敗したタスクは確保を解除し、結果未確定のものは確認まで確保されたままです。