सामग्री पर जाएँ

Flux 3 Image · Edit Image

इंटीग्रेट करें

मॉडल id blackforestlabs/flux-3/edit-image
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/blackforestlabs/flux-3/edit-image?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

यह अनुरोध: $0.048 48 API क्रेडिट इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें
Black Forest Labs इमेज एडिटिंग 4K आउटपुट4k तक #flux-3-image#black-forest-labs#multi-reference

FLUX 3 इमेज एडिटर, जो स्थानीय एडिट करता है और अधिकतम 10 रेफ़रेंस इमेज को मर्ज करता है

Black Forest Labs · इमेज

आपका पहला परिणाम यहाँ आएगा

नीचे एक अनुरोध बनाएँ और उसे अपनी API कुंजी से चलाएँ। आउटपुट हमारे स्टोरेज में कॉपी किए जाते हैं और हमेशा के लिए या 7 दिन तक मुफ़्त में रखे जाते हैं।

अनुरोध बनाएँ

कंट्रोल मॉडल स्कीमा से जनरेट होते हैं। इन्हें बदलने पर कोड और कीमत अपडेट होती है।

•आवश्यक

इमेज निर्माण का मार्गदर्शन करने वाला प्रॉम्प्ट।

•आवश्यक image_urls
फ़ाइल ड्रॉप करें, या · 10 तक

URL या डेटा URI के माध्यम से दी गई संदर्भ इमेज; स्वचालित आस्पेक्ट रेशियो image 1 से image 10 तक के क्रम में पहली इमेज का अनुसरण करता है। दोनों आयाम कम से कम 256 पिक्सेल होने चाहिए। स्वचालित डाउनस्केलिंग अनुपात बदले बिना अत्यधिक बड़ी इमेज को 4 मेगापिक्सेल तक सीमित करती है।

resolution डिफ़ॉल्ट 1k

आउटपुट का रिज़ॉल्यूशन स्तर; 4k पर निर्माण में कई मिनट लग सकते हैं।

डिफ़ॉल्ट auto

आउटपुट का आस्पेक्ट रेशियो। संपादन के दौरान, Auto पहली संदर्भ इमेज के अनुपात से मेल खाता है।

उन्नत output_format · version · safety_tolerance · enable_prompt_expansion
output_format डिफ़ॉल्ट jpeg

परिणामी इमेज का फ़ाइल फ़ॉर्मैट।

डिफ़ॉल्ट latest

उपयोग किए जाने वाले मॉडल का संस्करण।

डिफ़ॉल्ट 2

सबसे सख्त सेटिंग 0 से 4 तक की सुरक्षा सहनशीलता।

POST /run/blackforestlabs/flux-3/edit-image?wait=20 कोटेशन → $0.048
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/blackforestlabs/flux-3/edit-image?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

यह अनुरोध चलाएँ

आपकी key इसी ब्राउज़र में रहती है: इसे केवल Doitong API को भेजा जाता है और केवल तभी (localStorage) में सेव किया जाता है जब आप Remember चुनते हैं। API कुंजी प्राप्त करें

Flux 3 Image · Edit Image के बारे में

`image_urls` में मौजूद 1 से 10 रेफ़रेंस से इमेज एडिट करता है या परिणाम कंपोज़ करता है; प्रत्येक की हर साइड कम-से-कम 256 पिक्सेल की होनी चाहिए। 14 विकल्पों में से `aspect_ratio` चुनें या इसे auto पर छोड़ दें, जो पहली रेफ़रेंस का अनुपात अपनाता है। `resolution` में 512sq, 768sq, 1k, 2k और 4k उपलब्ध हैं, और 4k में कई मिनट लग सकते हैं। वैकल्पिक प्रॉम्प्ट एक्सपैंशन और jpeg या png आउटपुट उपलब्ध हैं।

पैरामीटर

कैनोनिकल नाम या नेटिव नाम में से कोई एक भेजें, दोनों नहीं। कैनोनिकल नाम

नामप्रकार डिफ़ॉल्टअनुमत विवरण
promptआवश्यक
प्रकारstring
इमेज निर्माण का मार्गदर्शन करने वाला प्रॉम्प्ट।
image_urlsआवश्यक images
प्रकारurl[] · image
≤ 10 आइटम
URL या डेटा URI के माध्यम से दी गई संदर्भ इमेज; स्वचालित आस्पेक्ट रेशियो image 1 से image 10 तक के क्रम में पहली इमेज का अनुसरण करता है। दोनों आयाम कम से कम 256 पिक्सेल होने चाहिए। स्वचालित डाउनस्केलिंग अनुपात बदले बिना अत्यधिक बड़ी इमेज को 4 मेगापिक्सेल तक सीमित करती है।
aspect_ratioवैकल्पिक
प्रकारenum
डिफ़ॉल्टauto
auto21:92:116:93:27:54:35:41:14:53:45:72:39:161:2
आउटपुट का आस्पेक्ट रेशियो। संपादन के दौरान, Auto पहली संदर्भ इमेज के अनुपात से मेल खाता है।
resolutionवैकल्पिक
प्रकारenum
डिफ़ॉल्ट1k
512sq768sq1k2k4k
आउटपुट का रिज़ॉल्यूशन स्तर; 4k पर निर्माण में कई मिनट लग सकते हैं।
enable_prompt_expansionवैकल्पिक
प्रकारboolean
डिफ़ॉल्टfalse
अभिप्रेत अर्थ या संदर्भ भूमिकाएँ बदले बिना प्रॉम्प्ट विस्तार को नियंत्रित करता है।
safety_toleranceवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट2
0 – 4
सबसे सख्त सेटिंग 0 से 4 तक की सुरक्षा सहनशीलता।
output_formatवैकल्पिक
प्रकारenum
डिफ़ॉल्टjpeg
jpegpng
परिणामी इमेज का फ़ाइल फ़ॉर्मैट।
versionवैकल्पिक
प्रकारstring
डिफ़ॉल्टlatest
उपयोग किए जाने वाले मॉडल का संस्करण।
आवश्यक कैनोनिकल नाम, यह भी स्वीकार्य है

फ़ाइल पैरामीटर में सार्वजनिक https:// URL, 10 MB तक का data: URI, या अपलोड का file_url लिया जाता है। फ़ाइलें

आउटपुट

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "blackforestlabs/flux-3/edit-image",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 48,
    "usd": "0.048",
    "charged": 48,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200,
        "width": 1024,
        "height": 768
      }
    ]
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
आपकी फ़ाइलें, आपकी पसंदहर outputs[].url हमारे स्टोरेज में एक कॉपी है: हमेशा के लिए (प्रति GB-माह भुगतान) या 7 दिन तक मुफ़्त में, आपके अकाउंट की सेटिंग या ?storage= के अनुसार।
हर मॉडल पर एक जैसा आकारइमेज, वीडियो और ऑडियो सभी के लिए type, url, content_type, width, height और duration। output मॉडल का अपना परिणाम ऑब्जेक्ट है।
आउटपुट के फ़ील्ड
images
array of object {url, content_type, file_name, file_size, width, height}मॉडल द्वारा बनाई गई इमेज।

और मॉडल: इमेज एडिटिंग

AI एजेंट के लिए: इस पेज का Markdown यहाँ है https://doitong.com/hi/developers/models/blackforestlabs/flux-3/edit-image.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt