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

FLUX 2 Lora Gallery Realism

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

मॉडल id flux-2-lora-gallery/realism
# 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/flux-2-lora-gallery/realism?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.021 21 API क्रेडिट इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें
Black Forest Labs · इमेज

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

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

अनुरोध बनाएँ

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

•आवश्यक

यथार्थवादी इमेज निर्माण के लिए प्रॉम्प्ट में प्राकृतिक प्रकाश और प्रामाणिक विवरण का वर्णन करें।

image_size डिफ़ॉल्ट landscape_4_3

निर्मित इमेज के आयाम।

num_images डिफ़ॉल्ट 1

बनाई जाने वाली इमेज की संख्या।

उन्नत acceleration · output_format · guidance_scale · num_inference_steps · lora_scale · seed · enable_safety_checker
acceleration डिफ़ॉल्ट regular

इमेज निर्माण त्वरण सेटिंग। गति और गुणवत्ता के बीच संतुलन के लिए 'regular' चुनें।

output_format डिफ़ॉल्ट png

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

डिफ़ॉल्ट 2.5

CFG स्केल का उपयोग करके प्रॉम्प्ट अनुपालन नियंत्रण, जहाँ CFG का अर्थ Classifier Free Guidance है।

डिफ़ॉल्ट 40

चलाए जाने वाले inference चरणों की संख्या।

डिफ़ॉल्ट 1

यथार्थवाद प्रभाव की तीव्रता।

यादृच्छिक निर्माण seed, जो प्रॉम्प्ट और seed दोनों को अपरिवर्तित रखकर परिणाम को पुनरुत्पादित करने देता है।

POST /run/flux-2-lora-gallery/realism?wait=20 कोटेशन → $0.021
# 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/flux-2-lora-gallery/realism?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 2 Lora Gallery Realism के बारे में

टेक्स्ट `prompt` से अधिक फ़ोटोग्राफ़िक दिखने वाली इमेज बनाता है, जिसका लक्ष्य प्राकृतिक प्रकाश और प्रामाणिक विवरण हैं। `lora_scale` (0 से 2) यथार्थवाद प्रभाव की तीव्रता तय करता है। आकार छह प्रीसेट से आता है, जिसमें landscape_4_3 डिफ़ॉल्ट है। यह 4 से 50 इंफ़रेंस चरण चलाता है और png, jpeg या webp में 1 से 4 इमेज लौटाता है।

पैरामीटर

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

नामप्रकार डिफ़ॉल्टअनुमत विवरण
promptआवश्यक
प्रकारstring
यथार्थवादी इमेज निर्माण के लिए प्रॉम्प्ट में प्राकृतिक प्रकाश और प्रामाणिक विवरण का वर्णन करें।
image_sizeवैकल्पिक
प्रकारobject
डिफ़ॉल्टlandscape_4_3
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
निर्मित इमेज के आयाम।
guidance_scaleवैकल्पिक
प्रकारnumber
डिफ़ॉल्ट2.5
0 – 20
CFG स्केल का उपयोग करके प्रॉम्प्ट अनुपालन नियंत्रण, जहाँ CFG का अर्थ Classifier Free Guidance है।
num_inference_stepsवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट40
4 – 50
चलाए जाने वाले inference चरणों की संख्या।
accelerationवैकल्पिक
प्रकारenum
डिफ़ॉल्टregular
noneregular
इमेज निर्माण त्वरण सेटिंग। गति और गुणवत्ता के बीच संतुलन के लिए 'regular' चुनें।
seedवैकल्पिक
प्रकारinteger | null
यादृच्छिक निर्माण seed, जो प्रॉम्प्ट और seed दोनों को अपरिवर्तित रखकर परिणाम को पुनरुत्पादित करने देता है।
enable_safety_checkerवैकल्पिक
प्रकारboolean
डिफ़ॉल्टtrue
निर्मित-इमेज सुरक्षा-जाँच टॉगल, जिसे केवल अधिकृत खाते अक्षम कर सकते हैं। बिना प्राधिकरण वाले अनुरोधों के लिए जाँच अनिवार्य रहती है।
output_formatवैकल्पिक
प्रकारenum
डिफ़ॉल्टpng
pngjpegwebp
परिणामी इमेज का फ़ॉर्मैट।
num_imagesवैकल्पिक num_outputs
प्रकारinteger
डिफ़ॉल्ट1
1 – 4
बनाई जाने वाली इमेज की संख्या।
lora_scaleवैकल्पिक
प्रकारnumber
डिफ़ॉल्ट1
0 – 2
यथार्थवाद प्रभाव की तीव्रता।
आवश्यक कैनोनिकल नाम, यह भी स्वीकार्य है

आउटपुट

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "flux-2-lora-gallery/realism",
  "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": 21,
    "usd": "0.021",
    "charged": 21,
    "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
      }
    ],
    "seed": 42,
    "prompt": "string"
  },
  "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}यथार्थवादी शैली में रेंडर की गई आउटपुट इमेज।
seed
integerनिर्माण के दौरान उपयोग किया गया seed मान।
prompt
stringनिर्माण के दौरान उपयोग किया गया प्रॉम्प्ट।

और मॉडल: टेक्स्ट से इमेज

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