รูปภาพBlack Forest Labsใหม่

FLUX 2 Pro

ความสมจริงของระดับการผลิต

model: "flux-pro-v2"

เอกสาร APIเอกสารสำหรับตัวแทน

โหมด

ID โมเดลเดียว ทุกโหมดด้านล่าง ฟิลด์ที่คุณส่งจะเลือกโหมด และราคาจะตามไปด้วยโหมด

โหมดเลือกโดยราคาทั่วไป
ข้อความเป็นรูปภาพprompt
ตัวอย่างคำขอ
{
  "model": "flux-pro-v2",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.045
แก้ไขรูปภาพimage_url
ตัวอย่างคำขอ
{
  "model": "flux-pro-v2",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.105

อินพุต

จำเป็น

Prompt

ไม่บังคับ

Size

ไม่บังคับ

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.

ไม่บังคับ

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

ตัวเลือกขั้นสูง (2)

การตั้งค่าผู้ให้บริการเกินกว่าการควบคุมหลัก ปล่อยให้ว่างเพื่อใช้ค่าเริ่มต้นของโมเดล

ไม่บังคับ

File format of the result.

ไม่บังคับ

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

ผลลัพธ์

FLUX 2 Proตัวอย่างผลลัพธ์

ผลลัพธ์จริงจากโมเดลนี้ เรียกใช้เพื่อดูผลของคุณที่นี่

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