تخطي إلى المحتوى
  1. PirateDiffusion
  2. الأدلة
  3. كيفية الإدخال

كيفية الإدخال

PirateDiffusion هو سطر أوامر داخل دردشة. رسالة واحدة تصنع عرضًا واحدًا: أمر، رمز النموذج القصير، بعض المعلمات وكلماتك. كل مثال حي في هذه الصفحة هو عرض حقيقي من كتالوج 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. بدون اسم نموذج، يستخدم البوت النموذج الافتراضي الخاص بك. رمز قصير مختلف هو كل ما تحتاجه لتجربة نفس الأمر على نموذج آخر.

مثال مباشر: الرمز القصير، إعدادات العرض كمعاملات، الأمر والنفي الخاص به.

/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 · LoRAالعرض بواسطة 6vidit9 via BunchaPrompts

2. رموز ModelTrends القصيرة

كل صفحة نموذج على ModelTrends.ai تعرض صندوق رمز قصير. هذا الرمز هو اسم النموذج داخل PirateDiffusion: ضعه في الأمر ويقوم البوت بتحميل ذلك النموذج. آلاف النماذج، LoRAs والتضمينات محملة مسبقًا، لذا لا حاجة للتحميل.

في البوت، /concepts يعرض النماذج و /concept /search يعثر على نموذج بالاسم.

/concepts
/concept /search:anime

تصفح الكتالوج، افتح نموذجًا وانسخ رمزه القصير: ModelTrends.ai

3. المعاملات

المعاملات في أوامر العينة هي إعدادات العرض الأصلي. انسخها لتحصل على نفس نوع الصورة؛ غيّر البذرة لتحصل على صورة جديدة.

/size:1024x1024العرض والارتفاع بالبكسل. النماذج الحالية تعرض بدقة 1024 فما فوق؛ 1024x1024 مربع، 1024x1536 بورتريه.
/portrait /tall /landscape /wideاختصارات الشكل بدلاً من الحجم.
/steps:25عدد خطوات إزالة الضوضاء في العرض؛ المزيد أبطأ.
/guidance:7مدى الالتزام بالأمر. لكل نموذج نطاقه الأفضل.
/seed:123456البذرة العشوائية. نفس البذرة، التوجيه، العينة والنموذج تعطي نفس الصورة مرة أخرى.
/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]]

الأوامر المنسوخة من أدوات أخرى غالبًا ما تحمل أوزان (كلمة: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 هو نموذج صغير يضيف شيئًا واحدًا: شخصية، أسلوب، حركة كاميرا. له رمز قصير أيضًا ويُستخدم بنفس الطريقة، في الأمر مع الأمر النصي. صفحات 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 · LoRAالعرض بواسطة 6vidit9 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
سير عمل Krea2 في بوت Telegram: رسالة واحدة /workflow /run:krea2، وتعود الصورة في الدردشة مع الأمر تحتها.
سير عمل Krea2 في بوت Telegram: رسالة واحدة /workflow /run:krea2، وتعود الصورة في الدردشة مع الأمر تحتها.

نماذج الفيديو والصوت تعمل كسير عمل: /workflow /run: ورمز سير العمل، ثم الأمر النصي. ModelTrends يعرض الرمز في صندوق رمز سير العمل كـ /wf /run:، الشكل المختصر لنفس الأمر.

الكلمة الأولى في الرمز تقول ما يأخذه سير العمل:

video-نص إلى فيديو: الأمر النصي وحده يصنع المقطع.
animate-صورة إلى فيديو: رد على صورة بالأمر والنص يحدد ما يتحرك.
omni-إما: يعمل من أمر نصي فقط أو من صورة ترد عليها.

LoRA للفيديو توضع بين الرمز والأمر النصي. LoRA مصممة لإدخال صورة تعمل أيضًا في سير عمل نص إلى فيديو، لكنها تعمل أفضل عند الرد على صورة بسير عمل التحريك؛ بطاقات العينة تقول ذلك. مثال مباشر:

/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 · LoRAالعرض بواسطة jeh88615 via BunchaPrompts

سير العمل يأخذ قيم إضافية في فتحات، تُكتب /slot1: وهكذا في نهاية الرسالة؛ صفحة كل سير عمل تشرح وظيفة فتحاته. سير عمل الموسيقى يأخذ الكلمات كنص والنوع في فتحة.

7. نسخ أمر من ModelTrends

كل عرض مثال في صفحة نموذج ModelTrends له زر نسخ يعطي الأمر مع إعداداته مكتوبة مسبقًا كمعاملات PirateDiffusion. الصقها بعد /render ورمز النموذج القصير.

يمكنك كتابة الأمر بلغتك. أضف /translate والبوت يترجمه قبل العرض.

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

الإصدارات الطويلة (أدلة SDXL 2024)

هذه الأدلة كُتبت لـ SDXL في 2024. الأوامر لا تزال تعمل؛ النماذج والأحجام هي المذكورة أعلاه.