सामग्री पर जाएं
  1. PirateDiffusion
  2. गाइड
  3. कैसे प्रॉम्प्ट करें

कैसे प्रॉम्प्ट करें

PirateDiffusion एक चैट के अंदर कमांड लाइन है। एक संदेश एक रेंडर बनाता है: एक कमांड, मॉडल का ShortCode, कुछ पैरामीटर और आपके शब्द। इस पेज पर हर लाइव उदाहरण ModelTrends कैटलॉग से एक असली रेंडर है, और उसका कमांड जैसा है वैसा ही पेस्ट किया जा सकता है।

Learn your first command: Skills

Type // to create or edit images and videos. You do not need to learn commands or pick a model first. Begin your request with two slashes and the bot picks the best Skill for it: the model, the workflow and the settings that fit your words. Copy this into the chat:

// a gray chubby cat napping in a sunny garden, photo

A confirmation message appears, then the pictures. The buttons under each result let you vote and upscale it.

Change the words and send it again. The more you describe, the closer the picture gets:

// a gray British shorthair cat asleep among peonies in a big garden, soft morning light, realistic photo

Videos work the same way

Ask for motion and the bot picks a video Skill:

// a short video of waves rolling onto a black sand beach at sunset

Edit a photo

Send a photo into the chat first, then reply to it with your request. Putting the word edit in it helps the bot pick an editing Skill:

// edit, make her hair blonde

Pick a Skill yourself

Every Skill also has a name you can run directly, for example /anime-illustrious a warrior standing in the rain. /skill /list shows the Skills available to you, /skill /show:name describes one, and /skill /tune lets you mute the ones you never want picked for you.

When you want full control

The /render and /workflow commands name the exact model, size, steps and seed yourself. That is what the How to prompt lessons and the commands list are for. The original SDXL beginner lesson, with its /render cat examples and bracket weights, is kept as a 2024 guide.

1. रेंडर कमांड

/render से शुरू करें, मॉडल का नाम कोणीय कोष्ठकों में लिखें, फिर जो आप देखना चाहते हैं वह लिखें। पैरामीटर स्लैश शब्द होते हैं और संदेश में कहीं भी हो सकते हैं।

/render <krea2> /size:1024x1024 A fantasy knight in full armor with helmet. His sword at belt. In neutral pose. White background.

इस पेज पर उदाहरण <krea2>, Flux Krea बेस मॉडल, 1024 पिक्सल पर उपयोग करते हैं; प्रॉम्प्ट ModelTrends कैटलॉग से वास्तविक हैं। बिना मॉडल नाम के, बॉट आपका डिफ़ॉल्ट मॉडल उपयोग करता है। एक अलग ShortCode से ही एक ही प्रॉम्प्ट को दूसरे मॉडल पर आजमाना संभव है।

एक लाइव उदाहरण: ShortCode, रेंडर की सेटिंग्स पैरामीटर के रूप में, प्रॉम्प्ट और उसका नेगेटिव।

/render <realism-enhancer-krea2> A minimalist, high-contrast studio portrait captures an orange tabby cat wearing a perfectly styled blonde wig with straight bangs, looking off-camera with a grumpy expression and wearing bright red lipstick, featuring rich composition grading and insane sharpness. The cat's smooth, light brown and white fur stands out sharply against a flat, deep dark blue background that serves as a vast expanse of clean negative space. The tight, centered flash composition highlights the realistic texture of the shiny blonde synthetic hair, the cat's long white whiskers, and the glossy red pout, creating a bizarre, authentic, and starkly humorous artistic study.

Krea2 · LoRA6vidit9 द्वारा रेंडर via BunchaPrompts

2. ModelTrends ShortCodes

ModelTrends.ai पर हर मॉडल पेज में ShortCode बॉक्स होता है। वह ShortCode PirateDiffusion में मॉडल का नाम है: इसे कमांड में डालें और बॉट वह मॉडल लोड करता है। हजारों मॉडल, LoRA और एम्बेडिंग पहले से लोड हैं, इसलिए डाउनलोड करने की जरूरत नहीं।

बॉट में, /concepts मॉडल दिखाता है और /concept /search नाम से मॉडल खोजता है।

/concepts
/concept /search:anime

कैटलॉग ब्राउज़ करें, कोई मॉडल खोलें और उसका ShortCode कॉपी करें: ModelTrends.ai

3. पैरामीटर

नमूना कमांड में पैरामीटर मूल रेंडर की सेटिंग्स हैं। इन्हें कॉपी करें ताकि समान प्रकार की तस्वीर मिले; नया चित्र पाने के लिए seed बदलें।

/size:1024x1024चौड़ाई और ऊंचाई पिक्सल में। वर्तमान मॉडल 1024 और उससे ऊपर रेंडर करते हैं; 1024x1024 वर्ग है, 1024x1536 पोर्ट्रेट।
/portrait /tall /landscape /wideआकार के लिए शॉर्टकट, साइज के बजाय।
/steps:25रेंडर में डिनॉइज़िंग के कितने स्टेप्स लगते हैं; अधिक स्टेप्स धीमे होते हैं।
/guidance:7प्रॉम्प्ट का कितना सख्ती से पालन किया जाता है। हर मॉडल की अपनी सर्वोत्तम सीमा होती है।
/seed:123456रैंडम सीड। वही seed, guidance, sampler और मॉडल एक ही चित्र फिर से देते हैं।
/sampler:dpm2m /karrasसैंपलर, और /karras उन सैंपलरों के लिए जिनमें वह मोड है। /sampler अकेले उन्हें सूचीबद्ध करता है।
/clipskip:2टेक्स्ट एनकोडर की आखिरी लेयर्स को स्किप करता है; कुछ मॉडल 2 के लिए प्रशिक्षित होते हैं।
/images:4एक कमांड से कितनी तस्वीरें बनानी हैं।

पैरामीटर हर भाषा में अंग्रेज़ी में रहते हैं, बॉट इन्हें वैसे ही पढ़ता है।

4. वेट्स, पॉजिटिव्स और नेगेटिव्स

डबल कोष्ठक शब्द को अधिक गिनती देते हैं, डबल चौकोर कोष्ठक कम गिनती देते हैं। नेगेटिव, जो चित्र से बाहर रखना है, वह भी चौकोर कोष्ठकों में होता है, आमतौर पर अंत में।

/render <krea2> /size:1024x1024 sketch painting, a rock climber scaling a ((steep cliff)), icy winds, frozen landscape [[blurry, text, watermark]]

अन्य टूल से कॉपी किए गए प्रॉम्प्ट अक्सर (word:1.3) वेट्स लेकर आते हैं। /parser:new जोड़ें और बॉट इन्हें पढ़ेगा।

/render <krea2> /size:1024x1024 /parser:new sketch painting, a rock climber scaling a (steep cliff:1.3), icy winds, frozen landscape

SDXL मॉडल पर नेगेटिव एम्बेडिंग नेगेटिव के अंदर स्ट्रेंथ के साथ जाता है, इस तरह:

[[<fastnegative-xl:-2>]]

5. LoRAs और रेसिपीज़

LoRA एक छोटा मॉडल होता है जो एक चीज़ जोड़ता है: एक कैरेक्टर, एक स्टाइल, एक कैमरा मूव। इसका भी ShortCode होता है और इसे उसी तरह कमांड में प्रॉम्प्ट के साथ उपयोग किया जाता है। ModelTrends पेज बताते हैं कि LoRA किस बेस मॉडल के लिए बनाया गया है; सर्वोत्तम परिणाम के लिए उसे उसी बेस के साथ जोड़ें।

/render <realism-enhancer-krea2> A minimalist, high-contrast studio portrait captures an orange tabby cat wearing a perfectly styled blonde wig with straight bangs, looking off-camera with a grumpy expression and wearing bright red lipstick, featuring rich composition grading and insane sharpness. The cat's smooth, light brown and white fur stands out sharply against a flat, deep dark blue background that serves as a vast expanse of clean negative space. The tight, centered flash composition highlights the realistic texture of the shiny blonde synthetic hair, the cat's long white whiskers, and the glossy red pout, creating a bizarre, authentic, and starkly humorous artistic study.

Krea2 · LoRA6vidit9 द्वारा रेंडर via BunchaPrompts

रेसिपी शब्दों और सेटिंग्स का सेव्ड बंडल होता है, जिसे हैशटैग से बुलाया जाता है। /recipes उन्हें सूचीबद्ध करता है।

/render <krea2> /size:1024x1024 a fantasy knight in full armor, white background #boost

6. वर्कफ़्लोज़: इमेज, वीडियो और म्यूजिक

वर्कफ़्लो एक पूरा काम होता है जो Graydient के सर्वरों पर चलता है: यह सही मॉडल और सेटिंग्स लोड करता है, ताकि आपको केवल कमांड भेजना हो। इमेज वर्कफ़्लोज़ /render के समान पैरामीटर लेते हैं। उदाहरण के लिए Krea2 वर्कफ़्लो:

/workflow /run:krea2 /size:1024x1024 a high quality real photo of a pirate with long black hair, a scraggly beard and mustache, wearing sunglasses, a gold chain necklace and a golden chalice, having pizza with a giant parrot pouring him champagne
Telegram बॉट में Krea2 वर्कफ़्लो: एक /workflow /run:krea2 मैसेज, और तस्वीर चैट में कमांड के साथ वापस आ जाती है।
Telegram बॉट में Krea2 वर्कफ़्लो: एक /workflow /run:krea2 मैसेज, और तस्वीर चैट में कमांड के साथ वापस आ जाती है।

वीडियो और ऑडियो मॉडल वर्कफ़्लोज़ के रूप में चलते हैं: /workflow /run: और वर्कफ़्लो का स्लग, फिर प्रॉम्प्ट। ModelTrends स्लग को वर्कफ़्लो के ShortCode बॉक्स में /wf /run: के रूप में दिखाता है, जो उसी कमांड का छोटा रूप है।

स्लग का पहला शब्द बताता है कि वर्कफ़्लो क्या लेता है:

video-टेक्स्ट से वीडियो: केवल प्रॉम्प्ट से क्लिप बनती है।
animate-इमेज से वीडियो: किसी तस्वीर को रिप्लाई करें कमांड के साथ और प्रॉम्प्ट बताता है क्या मूव करता है।
omni-दोनों: केवल प्रॉम्प्ट से या किसी तस्वीर को रिप्लाई करके काम करता है।

वीडियो LoRA स्लग और प्रॉम्प्ट के बीच आता है। इमेज इनपुट के लिए बनाया गया LoRA टेक्स्ट-टू-वीडियो वर्कफ़्लो में भी चलता है, लेकिन सबसे अच्छा तब काम करता है जब आप किसी तस्वीर को animate वर्कफ़्लो के साथ रिप्लाई करें; नमूना कार्ड ऐसा बताते हैं। एक लाइव उदाहरण:

/workflow /run:video-wan22 <high-screen-flood-wan> then water suddenly rushes up from the bottom and submerges the entire screen.

इमेज इनपुट के साथ सबसे अच्छा काम करता है: किसी तस्वीर का जवाब दें और /run:animate-wan22 का उपयोग करें।

Wan · LoRAjeh88615 द्वारा रेंडर via BunchaPrompts

वर्कफ़्लोज़ अतिरिक्त मान स्लॉट्स में लेते हैं, जो संदेश के अंत में /slot1: आदि लिखे जाते हैं; हर वर्कफ़्लो का पेज बताता है कि उसके स्लॉट क्या करते हैं। म्यूजिक वर्कफ़्लोज़ में लिरिक्स प्रॉम्प्ट होते हैं और शैली स्लॉट में।

7. ModelTrends से प्रॉम्प्ट कॉपी करें

ModelTrends मॉडल पेज पर हर उदाहरण रेंडर के पास एक कॉपी बटन होता है जो प्रॉम्प्ट को उसके सेटिंग्स के साथ PirateDiffusion पैरामीटर के रूप में देता है। इसे /render और मॉडल के ShortCode के बाद पेस्ट करें।

आप प्रॉम्प्ट अपनी भाषा में लिख सकते हैं। /translate जोड़ें और बॉट रेंडर से पहले अनुवाद करेगा।

/render <krea2> /size:1024x1024 /translate un caballero de fantasía con armadura completa, fondo blanco

लंबे संस्करण (2024 SDXL गाइड्स)

ये गाइड्स 2024 में SDXL के लिए लिखी गई थीं। कमांड अभी भी काम करते हैं; मॉडल और साइज ऊपर दिए गए हैं।