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

Flux 3 Image · Text to Image

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

मॉडल id blackforestlabs/flux-3/text-to-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/text-to-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"
  }'

# 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#typography

512 से 4k रिज़ॉल्यूशन स्तरों, अनेक आस्पेक्ट रेशियो और वैकल्पिक प्रॉम्प्ट विस्तार वाला टेक्स्ट-टू-इमेज

Black Forest Labs · इमेज

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

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

अनुरोध बनाएँ

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

•आवश्यक

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

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/text-to-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/text-to-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"
  }'

# 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 · Text to Image के बारे में

`prompt` से चित्र जनरेट करता है, जिसमें `resolution` स्तर 512sq, 768sq, 1k, 2k या 4k पर सेट किया जा सकता है; 4k में कई मिनट लग सकते हैं। `aspect_ratio` 21:9 से 1:2 तक के ratio या `auto` प्रदान करता है। विकल्पों में `enable_prompt_expansion`, `safety_tolerance` (0 से 4) और jpeg या png `output_format` शामिल हैं।

पैरामीटर

नामप्रकार डिफ़ॉल्टअनुमत विवरण
promptआवश्यक
प्रकारstring
इमेज निर्माण का मार्गदर्शन करने वाला प्रॉम्प्ट।
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
उपयोग किए जाने वाले मॉडल का संस्करण।
आवश्यक

आउटपुट

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "blackforestlabs/flux-3/text-to-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"
  },
  "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/text-to-image.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt