Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기
텍스트를 이미지로BFL

Flux 3.1 Fast Text to Image

API 문서
bfl/flux-3.1/fast/text-to-image

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

모델 사용해 보기

Playground

playground 열기
입력
The prompt to generate an image from.
The aspect ratio of the generated image.
Output resolution tier.
고급 설정
The format of the generated image.
Optional layout: draw each described object inside its box. Box edges are fractions of the image size, with (0, 0) at the top-left. Name boxes in the prompt by label, e.g. `A red fox <fox> sits under a red umbrella <umbrella>`.

Fill in prompt to run

Per run$0.015
결과
예시
  1. 2f58c84f-03fd-4e95-a987-530ebcd89122.jpg
    원본 열기

예시

예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.

  • 입력
    {
      "aspect_ratio": "16:9",
      "bounding_boxes": [
        {
          "box": {
            "x_max": 0.75,
            "x_min": 0.3,
            "y_max": 0.55,
            "y_min": 0.05
          },
          "description": "a large red umbrella",
          "label": "umbrella"
        },
        {
          "box": {
            "x_max": 0.66,
            "x_min": 0.42,
            "y_max": 0.95,
            "y_min": 0.45
          },
          "description": "a red fox sitting, looking at the camera",
          "label": "fox"
        }
      ],
      "prompt": "A red fox <fox> sits under a red umbrella <umbrella> on a rainy cobblestone street at dusk, cinematic photograph"
    }
    결과 열기 ↗
  • 입력
    {
      "aspect_ratio": "16:9",
      "prompt": "A minimalist poster for a jazz night: the words \"BLUE NOTE FRIDAYS\" in bold cream letters above a saxophone silhouette, deep navy background, risograph texture"
    }
    결과 열기 ↗
  • 입력
    {
      "aspect_ratio": "16:9",
      "prompt": "A red fox leaping over a stream in a pine forest at dawn, low-angle wildlife photograph"
    }
    결과 열기 ↗

Flux 3.1 Fast Text to Image

FLUX 3.1 Fast by Black Forest Labs generates images from a text prompt, 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.
resolution1k2k4k1kSize tier; sets the per-image rate.
aspect_ratio21:916:93:24:35:41:14:53:42:39:16—Output shape.
output_formatjpeg / pngjpegOutput file format.
bounding_boxesobject[]—Optional layout boxes, with (0, 0) at the top-left. Place objects in given regions. Each box has a description, an optional label, and edges {x_min, y_min, x_max, y_max} as 0-1 fractions; 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.

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/edit. Previous generation: bfl/flux-3/text-to-image, bfl/flux-3/edit.