Hình ảnhBlack Forest LabsMới

FLUX.1 Schnell

Tạo hình ảnh siêu nhanh trong dưới một giây

model: "flux-schnell"

Tài liệu APITài liệu dành cho agents

Các chế độ

Một ID mô hình, mọi chế độ bên dưới. Các trường bạn gửi chọn chế độ, và giá theo chế độ.

Chế độĐược chọn bằngGiá điển hình
Từ văn bản sang hình ảnhprompt
Yêu cầu ví dụ
{
  "model": "flux-schnell",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.0030
Điều khiển cấu trúcmodecontrol_lora_image_url
Yêu cầu ví dụ
{
  "model": "flux-schnell",
  "input": {
    "prompt": "a lighthouse at dusk",
    "mode": "structure",
    "control_lora_image_url": "https://example.com/image.jpg"
  }
}
$0.040

Đầu vào

Bắt buộc

Prompt

Tùy chọn

Image Size

Tùy chọn
1

Number of Images

Tùy chọn

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

Tùy chọn
4

Steps

Tùy chọn

Seed

Tùy chọn

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

Tùy chọn

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

Tùy chọn nâng cao (3)

Cài đặt nhà cung cấp ngoài các điều khiển chính. Để trống để sử dụng các giá trị mặc định của mô hình.

Tùy chọn

Faster inference at a small cost in detail.

Tùy chọn
-

How strictly the model follows the prompt. Higher is more literal.

Tùy chọn

File format of the result.

Kết quả

FLUX.1 SchnellKết quả mẫu

Kết quả thực từ mô hình này. Chạy để xem kết quả của bạn ở đây.

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "flux-schnell",
  "input": {
    "prompt": "a cute cat being affectionate with a young girl, cat nuzzling the girl, warm and heartwarming scene, soft natural lighting"
  }
}'
FLUX.1 Schnell 1FLUX.1 Schnell 2FLUX.1 Schnell 3FLUX.1 Schnell 4FLUX.1 Schnell 5FLUX.1 Schnell 6