تصویرBlack Forest Labsنیا

FLUX Kontext Pro

ٹیکسٹ ہدایات کے ساتھ تصاویر میں ترمیم کریں

model: "flux-kontext-pro"

API دستاویزاتایجنٹس کے لیے دستاویزات

موڈز

ایک ماڈل ID، نیچے دیے گئے تمام موڈز۔ آپ جو فیلڈز بھیجتے ہیں وہ موڈ کا انتخاب کرتے ہیں، اور قیمت موڈ پر عمل کرتی ہے۔

موڈاس کے ذریعے منتخبعام قیمت
تصویر میں ترمیم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