صورةBlack Forest Labsجديد

FLUX Kontext Pro

تحرير الصور باستخدام تعليمات نصية

model: "flux-kontext-pro"

الأنماط

معرّف نموذج واحد، كل الأنماط أدناه. الحقول التي تُرسلها تختار النمط، والسعر يتبع النمط.

النمطيتم التحديد بواسطةالسعر الموضعي
تحرير الصورة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