画像Black Forest Labs新規

FLUX 2 Pro

プロダクションレベルのフォトリアリズム

model: "flux-pro-v2"

APIドキュメントエージェント用ドキュメント

モード

1つのモデルID、すべてのモード。送信するフィールドがモードを決定し、価格はモードに従います。

モード選択方法標準価格
テキストから画像生成prompt
リクエスト例
{
  "model": "flux-pro-v2",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.045
画像編集image_url
リクエスト例
{
  "model": "flux-pro-v2",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.105

入力

必須

Prompt

オプション

Size

オプション

Source image to edit or vary (https URL, or an upload URL from POST /v1/uploads). Leave it out to generate from the prompt alone.

オプション

More source images (https URLs), for edits that combine several images. image_url, if sent, is the first.

詳細オプション (2)

メインコントロール以外のプロバイダー設定。空のままにするとモデルのデフォルト値が使用されます。

オプション

File format of the result.

オプション

Random seed. The same seed and input reproduce the same result.

結果

FLUX 2 Pro出力例

このモデルの実際の結果です。実行してあなたの結果をここに表示させてください。

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "flux-pro-v2",
  "input": {
    "prompt": "Concept art of a geostationary relay station in the eye of a vast category-five hurricane seen from low orbit, the spiral wall cloud spreading across an entire ocean below in bands of cool slate and electric white, the station'\''s solar panels catching vivid amber sunrise light above the storm, wide cinematic horizontal sci-fi VFX environment, photorealistic hard-surface material on truss and panel detail, no crew visible, awe-inspiring scale"
  }
}'
FLUX 2 Pro 1FLUX 2 Pro 2FLUX 2 Pro 3FLUX 2 Pro 4FLUX 2 Pro 5FLUX 2 Pro 6