छविBlack Forest Labs

Inpaint (FLUX Fill)

मुखौटा वाले क्षेत्र को एक प्रॉम्प्ट से फिर से पेंट करता है और इसे बाकी इमेज में मिश्रित करता है।

model: "inpaint-flux-fill"

API दस्तावेज़एजेंट के लिए दस्तावेज़

मोड

एक मॉडल आईडी, नीचे सभी मोड। आप जो फ़ील्ड भेजते हैं वह मोड चुनते हैं, और कीमत मोड के अनुसार होती है।

मोडइनके द्वारा चयनितसामान्य कीमत
छवि में, छवि बाहरimage_urlmask_url
उदाहरण अनुरोध
{
  "model": "inpaint-flux-fill",
  "input": {
    "image_url": "https://example.com/image.jpg",
    "mask_url": "https://example.com/image.jpg",
    "prompt": "a lighthouse at dusk"
  }
}
$0.050

एक असली रन

यह इसके आगे की इमेज पर टूल का वास्तविक आउटपुट है। नीचे का प्लेग्राउंड समान इनपुट पर खुलता है, इसलिए आप इसे स्वयं चला सकते हैं।

Inpaint (FLUX Fill): पहले
पहले
Inpaint (FLUX Fill): बाद में
बाद में

इनपुट

आवश्यक

What to paint in the masked area.

आवश्यक

The image to work on (https URL, or an upload URL from POST /v1/uploads).. A public https URL, or an upload URL from POST /v1/uploads.

आवश्यक

White marks the area to repaint, black is kept (https URL).. A public https URL, or an upload URL from POST /v1/uploads.

उन्नत विकल्प (3)

मुख्य नियंत्रणों से परे प्रदाता सेटिंग्स। मॉडल के डिफ़ॉल्ट का उपयोग करने के लिए उन्हें खाली छोड़ दें।

वैकल्पिक

Let the model rewrite the prompt for better results.

वैकल्पिक

File format of the result.

वैकल्पिक

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

परिणाम

Inpaint (FLUX Fill)उदाहरण आउटपुट

इस मॉडल से वास्तविक परिणाम। इसे चलाकर अपना परिणाम यहाँ देखें।

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "inpaint-flux-fill",
  "input": {
    "image_url": "https://assets.arteza.ai/generations/6d82f9c2-c1a0-4ad0-9b3e-96a532c1748d/babdfe77-4b1f-47a5-b168-02ca5830abb6/0.jpg",
    "mask_url": "https://assets.arteza.ai/uploads/6d82f9c2-c1a0-4ad0-9b3e-96a532c1748d/api/oqsLYVdazMWOeIzRouFbFA.png",
    "prompt": "a small red ribbon bow"
  }
}'
Inpaint (FLUX Fill) 1Inpaint (FLUX Fill) 2