תמונהBlack Forest Labsחדש

FLUX.1 Dev

יצירת תמונות בעלות גבוהה עם שליטה עדינה

model: "flux-dev"

תיעוד APIתיעוד לסוכנים

מצבים

מזהה מודל אחד, כל מצב למטה. השדות שתשלחו בוחרים את המצב, והמחיר עוקב אחרי המצב.

מצבנבחר על ידימחיר טיפוסי
טקסט לתמונה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