Hình ảnhBlack Forest LabsMới

FLUX.1 Dev

Tạo hình ảnh chất lượng cao với kiểm soát tốt

model: "flux-dev"

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-dev",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.025
Chỉnh sửa hình ảnhimage_url
Yêu cầu ví dụ
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.030
Điều khiển cấu trúcmodecontrol_lora_image_url
Yêu cầu ví dụ
{
  "model": "flux-dev",
  "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

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.

Tùy chọn

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

Tùy chọn
3.5

Guidance Scale

Tùy chọn
28

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 (2)

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

File format of the result.

Kết quả

FLUX.1 DevKế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-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