Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す
画像から画像BFL

Flux 3.1 Fast Edit

APIドキュメント
bfl/flux-3.1/fast/edit

FLUX 3.1 Fast by Black Forest Labs edits up to 10 reference images from a text instruction, with optional bounding boxes for layout control, at 1K to 4K resolution tiers. Fast mode is tuned for volume at a lower price.

モデルを試す

プレイグラウンド

Playground を開く
入力
The prompt to generate an image from.

PNG, JPEG, WebP, or GIF · 20 MiB maximum each · up to 10

Reference image URLs or data URIs, in image 1 through image 10 order. Each must be at least 256 pixels per dimension. Oversized images are automatically downscaled to at most 4 megapixels while preserving aspect ratio. The first controls auto aspect ratio.
Output resolution tier.
The aspect ratio of the generated image.
詳細設定
The format of the generated image.
Optional layout, with (0, 0) at the top-left of each image: keep, move, resize or remove objects from the references, or place new ones. Name boxes in the prompt by label, e.g. `<dragon>`.

Fill in prompt, images to run

Per run$0.015
結果
例
  1. a156b8e9-6fdf-4404-ad16-e5a5d7c93d82.jpg
    元のファイルを開く

例

例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。

  • 入力
    {
      "aspect_ratio": "16:9",
      "bounding_boxes": [
        {
          "box": {
            "x_max": 0.86,
            "x_min": 0.68,
            "y_max": 0.32,
            "y_min": 0.05
          },
          "description": "a small red and white striped hot-air balloon",
          "label": "balloon"
        }
      ],
      "images": [
        "https://static.sandbase.ai/examples/e2fc191a-4545-4bfa-9027-e7b9488ad209/input/a91295a0-645f-4728-955a-93f564a57a5b.png"
      ],
      "prompt": "Add a small striped hot-air balloon <balloon> in the sky, keep everything else unchanged"
    }
    結果を開く ↗
  • 入力
    {
      "aspect_ratio": "16:9",
      "images": [
        "https://static.sandbase.ai/examples/6caeaea1-6fc9-46d3-8582-55c91675a940/input/553b8c08-6fa1-45b0-bf98-9f22de9f6d4b.png"
      ],
      "prompt": "Turn the scene into a snowy winter evening with warm window light, keep the composition"
    }
    結果を開く ↗

Flux 3.1 Fast Edit

FLUX 3.1 Fast by Black Forest Labs edits up to 10 reference images from a text instruction, with optional bounding boxes for layout control, at 1K to 4K resolution tiers. Fast mode is tuned for volume at a lower price.

Fields

FieldTypeDefaultNotes
promptstring, required—Text instruction.
imagesimage URL[], required—Reference images, Image 1 to Image 10. Each side at least 256 px; images over 4 MP are downscaled.
resolution1k2k4k1kSize tier; sets the per-image rate.
aspect_ratio21:916:93:24:35:41:14:53:42:39:16—Output shape. Follows Image 1 when omitted.
output_formatjpeg / pngjpegOutput file format.
bounding_boxesobject[]—Optional layout boxes, with (0, 0) at the top-left. Keep, move, resize or remove objects from the references, or place new ones. Each box has a description, an optional label, and edges {x_min, y_min, x_max, y_max} as 0-1 fractions; use box for a new object, or source_image_index + source_box / target_box to move, resize or remove one. Write <label> in the prompt to tie it to a box.

Billing

BFL's official per-image price for FLUX 3.1 Image Fast: $0.015 at 1K, $0.04 at 2K, $0.11 at 4K. Reference images are included at no extra charge.

Request1k2k4k
One image$0.015$0.04$0.11

Failed runs are not charged.

Prompting

  • Quote any text that must appear and say where it goes.
  • Name a bounding box in the prompt by its label to control where that object goes.

Limits

  • One output image per request.
  • Maximum output size is 4 MP.

Also on SandBase

Other FLUX 3.1 endpoints: bfl/flux-3.1/text-to-image, bfl/flux-3.1/edit, bfl/flux-3.1/fast/text-to-image. Previous generation: bfl/flux-3/text-to-image, bfl/flux-3/edit.