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

FLUX.1 Dev

การสร้างรูปภาพคุณภาพสูงพร้อมการควบคุมที่ละเอียด

model: "flux-dev"

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

โหมด

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

โหมดเลือกโดยราคาทั่วไป
ข้อความเป็นรูปภาพprompt
ตัวอย่างคำขอ
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.025
แก้ไขรูปภาพimage_url
ตัวอย่างคำขอ
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.030
ควบคุมโครงสร้างmodecontrol_lora_image_url
ตัวอย่างคำขอ
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk",
    "mode": "structure",
    "control_lora_image_url": "https://example.com/image.jpg"
  }
}
$0.040

อินพุต

จำเป็น

Prompt

ไม่บังคับ

Image Size

ไม่บังคับ
1

Number of Images

ไม่บังคับ

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.

ไม่บังคับ

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

ไม่บังคับ
3.5

Guidance Scale

ไม่บังคับ
28

Steps

ไม่บังคับ

Seed

ไม่บังคับ

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

ไม่บังคับ

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

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

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

ไม่บังคับ

Faster inference at a small cost in detail.

ไม่บังคับ

File format of the result.

ผลลัพธ์

FLUX.1 Devตัวอย่างผลลัพธ์

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

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