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

FLUX.2 Klein 4B / Text to Image

flux-2-klein-4b-text-to-image

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

パラメーター

必須
prompt: string必須
aspectRatio: string必須
outputFormat: string必須
詳細設定 (2)
customWidth: integer

256–1536

customHeight: integer

customHight 256–1536

リクエストのプレビュー

{
  "model": "flux-2-klein-4b-text-to-image",
  "input": {
    "customWidth": 1024,
    "customHeight": 1024,
    "aspectRatio": "9:16",
    "outputFormat": "png"
  }
}

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

見積もり料金

料金を読み込み中…

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