תמונהBlack Forest Labsחדש

FLUX Kontext Pro

ערוך תמונות עם הנמקות טקסט

model: "flux-kontext-pro"

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

מצבים

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

מצבנבחר על ידימחיר טיפוסי
עריכת תמונהimage_url
דוגמת בקשה
{
  "model": "flux-kontext-pro",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.040
בקרת מבנהmodecontrol_image_url
דוגמת בקשה
{
  "model": "flux-kontext-pro",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg",
    "mode": "structure",
    "control_image_url": "https://example.com/image.jpg"
  }
}
$0.050

קלט

חובה

Prompt

חובה

Image to edit. A public https URL, or an upload URL from POST /v1/uploads.

אפשרי
1

Count

אפשרי

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

אפשרי

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.

אפשרויות מתקדמות (4)

הגדרות ספק מעבר לפקדים הראשיים. השאר אותם ריקים כדי להשתמש בברירות המחדל של הדגם.

אפשרי

Let the model rewrite the prompt for better results.

אפשרי
-

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

אפשרי

File format of the result.

אפשרי

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

תוצאה

FLUX Kontext Proפלט לדוגמה

תוצאה אמיתית מהמודל הזה. הפעל אותו כדי לראות את שלך כאן.

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "flux-kontext-pro",
  "input": {
    "prompt": "man with the bycycle"
  }
}'
FLUX Kontext Pro 1FLUX Kontext Pro 2FLUX Kontext Pro 3FLUX Kontext Pro 4FLUX Kontext Pro 5FLUX Kontext Pro 6