छवि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