Hình ảnhBlack Forest LabsMới

FLUX 2 Pro

Độ chân thực ảnh cấp sản xuất

model: "flux-pro-v2"

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-pro-v2",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.045
Chỉnh sửa hình ảnhimage_url
Yêu cầu ví dụ
{
  "model": "flux-pro-v2",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.105

Đầu vào

Bắt buộc

Prompt

Tùy chọn

Size

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

More source images (https URLs), for edits that combine several images. image_url, if sent, is the first.

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

File format of the result.

Tùy chọn

Random seed. The same seed and input reproduce the same result.

Kết quả

FLUX 2 ProKế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-pro-v2",
  "input": {
    "prompt": "Concept art of a geostationary relay station in the eye of a vast category-five hurricane seen from low orbit, the spiral wall cloud spreading across an entire ocean below in bands of cool slate and electric white, the station'\''s solar panels catching vivid amber sunrise light above the storm, wide cinematic horizontal sci-fi VFX environment, photorealistic hard-surface material on truss and panel detail, no crew visible, awe-inspiring scale"
  }
}'
FLUX 2 Pro 1FLUX 2 Pro 2FLUX 2 Pro 3FLUX 2 Pro 4FLUX 2 Pro 5FLUX 2 Pro 6