画像Black Forest Labs新規

FLUX.1 Dev

微細なコントロール付き高品質画像生成

model: "flux-dev"

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

モード

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

モード選択方法標準価格
テキストから画像生成prompt
リクエスト例
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.025
画像編集image_url
リクエスト例
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.030
構造制御modecontrol_lora_image_url
リクエスト例
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk",
    "mode": "structure",
    "control_lora_image_url": "https://example.com/image.jpg"
  }
}
$0.040

入力

必須

Prompt

オプション

Image Size

オプション
1

Number of Images

オプション

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.

オプション

Control image (https URL), with mode "structure".

オプション
3.5

Guidance Scale

オプション
28

Steps

オプション

Seed

オプション

Selects a mode that the other fields cannot: "structure" follows the edges or depth of a control image.

オプション

Follow the control image's edges (canny) or its depth.

詳細オプション (2)

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

オプション

Faster inference at a small cost in detail.

オプション

File format of the result.

結果

FLUX.1 Dev出力例

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

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "flux-dev",
  "input": {
    "prompt": "Professional portrait of a woman, soft natural lighting, shallow depth of field, photorealistic"
  }
}'
FLUX.1 Dev 1FLUX.1 Dev 2FLUX.1 Dev 3FLUX.1 Dev 4FLUX.1 Dev 5FLUX.1 Dev 6