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

FLUX.1 Schnell

การสร้างรูปภาพที่รวดเร็วมากในเวลาต่ำกว่าหนึ่งวินาที

model: "flux-schnell"

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

โหมด

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

โหมดเลือกโดยราคาทั่วไป
ข้อความเป็นรูปภาพprompt
ตัวอย่างคำขอ
{
  "model": "flux-schnell",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.0030
ควบคุมโครงสร้างmodecontrol_lora_image_url
ตัวอย่างคำขอ
{
  "model": "flux-schnell",
  "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

ไม่บังคับ

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

ไม่บังคับ
4

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.

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

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

ไม่บังคับ

Faster inference at a small cost in detail.

ไม่บังคับ
-

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

ไม่บังคับ

File format of the result.

ผลลัพธ์

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

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

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