מדריך פרומפטים ל-Stable Diffusion — SDXL ו-SD3.5
Stable Diffusion היה המודל הראשון שלי. זוכר את ההרגשה כשהרצתי אותו בפעם הראשונה על ה-GPU שלי — תמונה נוצרה מאפס, על המחשב שלי, ללא תלות בשום שירות ענן. מאז הכל השתנה.
היום יש שני עולמות של Stable Diffusion: SDXL — שעובד עם רשימות מילות מפתח, משקלות (word:1.3), ו-negative prompts חזקים. ו-SD3.5 — שעבר לשפה טבעית בדומה ל-Midjourney, עם CFG נמוך בהרבה ומודל שמבין הקשר.
לדעת באיזה מודל אתה עובד — ולכתוב את הפרומפט בהתאם — זה ההבדל בין תוצאה בינונית לתוצאה מעולה.
מה זה Stable Diffusion?
Stable Diffusion הוא מודל יצירת תמונות open-source מבית Stability AI. הוא הפופולרי ביותר בעולם ה-open-source בזכות הגמישות — אפשר להריץ אותו לוקלית, להוסיף LoRA (fine-tuned models), ControlNet (שליטה מבנית), ו-IP-Adapter (העברת סגנון).
שני מודלים מובילים:
- SDXL (Stable Diffusion XL) — מודל ותיק וממוצק. עובד עם מילות מפתח, משקלות כמו
(beautiful eyes:1.3), negative prompts מפורטים, ו-CFG 7-9. המודל הכי נתמך בקהילה עם אלפי LoRA. - SD3.5 (Stable Diffusion 3.5) — מודל חדש יותר שעבר לשפה טבעית. CFG 3.5-4.5 (הרבה נמוך יותר!), negative prompts מינימליים, ומבנה פרומפט דומה ל-Midjourney. פחות LoRA זמינים אבל תוצאות out-of-the-box טובות יותר.
המבנה המושלם לפרומפט
המבנה משתנה בין SDXL ל-SD3.5:
SDXL — מבנה מילות מפתח
- Quality tags — "masterpiece, best quality, ultra detailed"
- Subject — "(beautiful young woman:1.2), silver hair, wearing a (blue velvet dress:1.1)"
- Environment — "standing in a moonlit garden, roses, fountain"
- Style — "cinematic lighting, (film grain:0.8), shallow depth of field"
- Negative prompt — "(worst quality:1.4), blurry, deformed, extra limbs, watermark, text"
SD3.5 — שפה טבעית
- Subject description — "A young woman with flowing silver hair in an elegant blue velvet dress"
- Scene + Mood — "standing in a moonlit rose garden next to an old stone fountain"
- Style — "Cinematic photograph with soft film grain, shallow depth of field, cool moonlight tones"
- Negative (מינימלי) — "blurry, deformed"
ההבדל הקריטי: ב-SDXL, CFG 7-9. ב-SD3.5, CFG 3.5-4.5. שימוש ב-CFG 7 על SD3.5 ייצר אובר-סאטורציה והפרזה.
כללים קריטיים
- 1.דע באיזה מודל אתה עובד — SDXL ו-SD3.5 דורשים פרומפטים שונים לחלוטין. SDXL = מילות מפתח + משקלות. SD3.5 = שפה טבעית.
- 2.ב-SDXL, השתמש במשקלות (word:weight) — (1.0-1.5) מחזק, (0.5-0.8) מחליש. אל תעלה מעל 1.5 — זה גורם לעיוותים.
- 3.ב-SD3.5, כתוב שפה טבעית — 'A portrait of an elderly man with deep wrinkles' עדיף על 'old man, (wrinkles:1.3), portrait'.
- 4.CFG חייב להתאים למודל — SDXL: 7-9. SD3.5: 3.5-4.5. טעות ב-CFG היא הסיבה הנפוצה ביותר לתוצאות גרועות.
- 5.Negative prompt: מפורט ב-SDXL, מינימלי ב-SD3.5 — ב-SDXL כתוב 10-20 פריטים. ב-SD3.5 הגבל ל-3-5 פריטים.
- 6.בחר sampler בהתאם — SDXL: DPM++ 2M Karras, Euler a. SD3.5: Euler, UniPC. ה-sampler משפיע על הטקסטורה והפרטים.
פרמטרים ותחביר
| פרמטר | ערכים | תיאור |
|---|---|---|
| CFG Scale | SDXL: 7–9 / SD3.5: 3.5–4.5 | כמה צמוד לפרומפט — ערך שונה לכל מודל! |
| Sampler | DPM++ 2M Karras / Euler / UniPC | אלגוריתם דגימה — משפיע על טקסטורה ופרטים |
| Steps | 20–50 | שלבי דיפוזיה — 25-30 ברוב המקרים, 50 לפרטים מקסימליים |
| Negative prompt | טקסט חופשי | SDXL: מפורט (10-20 פריטים). SD3.5: מינימלי (3-5) |
| Weight syntax | (word:0.5-1.5) | SDXL בלבד — משקל לכל מילה. 1.0 = רגיל, 1.3 = חזק |
| Resolution | 1024x1024 / 1344x768 / 768x1344 | SDXL תומך ברזולוציות שונות. 1024x1024 ברירת מחדל |
דוגמאות מעשיות
masterpiece, best quality, (cinematic portrait:1.2) of a warrior woman with (braided red hair:1.1), (battle scars:0.8) across her cheek, wearing dented iron armor. Standing on a misty battlefield at dawn. (Dramatic rim lighting:1.3), volumetric fog, desaturated color palette, shallow depth of field, shot on 85mm lens Negative prompt: (worst quality:1.4), (blurry:1.2), deformed, extra limbs, bad hands, watermark, text, logo, oversaturated
מבנה SDXL קלאסי: quality tags → subject עם משקלות → environment → style. משקלות: portrait 1.2 (חשוב), battle scars 0.8 (עדין), rim lighting 1.3 (דרמטי). Negative prompt מפורט עם משקלות.
A dramatic volcanic landscape at sunset, glowing rivers of lava flowing down black rock slopes into the sea. Massive steam clouds rising where lava meets ocean water. The sky is painted in deep crimson and amber. Wide angle landscape photography, ultra-sharp detail, high dynamic range. Negative: blurry, cartoon, painting
SD3.5 בשפה טבעית — אין משקלות, אין quality tags, negative prompt מינימלי (3 פריטים). CFG 3.5-4.5. התיאור זורם ועשיר, המודל מבין הקשר.
masterpiece, (fantasy art:1.3), an ancient (crystal dragon:1.2) perched atop a floating island, translucent wings catching prismatic light, (amethyst and sapphire:1.1) scales glittering. Waterfalls cascading off the island edges into clouds below. (Epic scale:1.2), golden hour, (Greg Rutkowski style:0.7), vibrant colors Negative prompt: (low quality:1.4), blurry, deformed, extra heads, bad anatomy, modern elements, photo, realistic
SDXL עם שימוש אסטרטגי במשקלות: crystal dragon 1.2 (נושא מרכזי), amethyst and sapphire 1.1 (צבעים חשובים), Greg Rutkowski 0.7 (השפעת סגנון עדינה). Negative חוסם גם 'realistic' כי רוצים fantasy.
A sleek matte black wireless headphone floating slightly above a dark concrete surface, surrounded by a subtle aura of soft blue light. One ear cup angled toward the camera showing the premium leather padding. Studio photography with a single overhead softbox, clean dark background, product catalog aesthetic. Negative: text, logo, watermark
SD3.5 — שפה טבעית נקייה ללא משקלות. תיאור מדויק של מוצר, תאורה, ואסתטיקה. CFG 4.0 ו-negative מינימלי. 'Floating slightly' נותן למוצר תחושת premium.
(anime warrior girl:1.4), long flowing silver hair with (glowing blue tips:1.2), wearing intricate black and gold battle armor, holding a (translucent energy katana:1.3) emanating cyan light, dynamic action pose mid-leap, cherry blossom petals swirling around her, dramatic backlighting, dark crimson sky, (anime cel shading:1.2), vibrant colors, detailed eyes, masterpiece, best quality, highly detailed, sharp focus Negative prompt: worst quality, low quality, blurry, deformed, ugly, watermark, text, signature, realistic, photo, 3d, bad anatomy, extra fingers Recommended: sampler Euler a, steps 25, CFG 6, clip skip 2
דוגמה מקטגוריית fantasy — הפרומפט מדגים את הסינטקס והמבנה האופטימלי לפלטפורמה.
(beautiful young woman:1.3), long auburn hair blowing in ocean breeze, wearing flowing white linen dress, standing barefoot on wet sand, (golden hour:1.4), dramatic sunset with orange and purple clouds reflected in shallow tidepool, volumetric god rays, waves gently washing over her feet, (photorealistic:1.3), skin pores, freckles, natural skin texture, Canon EOS R5, 85mm f/1.4, shallow depth of field, bokeh, masterpiece, best quality, highly detailed, RAW photo, 8K Negative prompt: worst quality, low quality, blurry, deformed, ugly, watermark, text, signature, painting, illustration, anime, cartoon, extra fingers, mutated hands, bad anatomy Recommended: sampler DPM++ 2M Karras, steps 35, CFG 7, clip skip 1
דוגמה מקטגוריית portrait — הפרומפט מדגים את הסינטקס והמבנה האופטימלי לפלטפורמה.
(floating cyberpunk city:1.4), massive platforms suspended by (anti-gravity engines with blue plasma:1.2), interconnected by glass sky-bridges and light rail, (bioluminescent gardens:1.3) hanging from undersides, holographic billboards projecting neon advertisements, flying vehicles weaving between towers, dramatic sunset sky with two moons visible, (digital matte painting:1.3), concept art, volumetric lighting, atmospheric perspective, epic scale, hyper-detailed architecture, masterpiece, best quality, highly detailed Negative prompt: worst quality, low quality, blurry, deformed, ugly, watermark, text, signature, simple, flat, boring, empty sky Recommended: sampler DPM++ 2M Karras, steps 40, CFG 8, clip skip 1
דוגמה מקטגוריית sci-fi — הפרומפט מדגים את הסינטקס והמבנה האופטימלי לפלטפורמה.
(enormous ancient dragon:1.4) coiled around a mountain of gold coins inside a (vast crystal cavern:1.3), scales iridescent deep emerald and obsidian, (glowing amber eyes:1.2), steam rising from nostrils, massive crystalline formations in purple and blue refracting the dragon's internal fire glow, stalactites dripping, scattered gemstones and ancient artifacts, (epic fantasy illustration:1.3), dramatic chiaroscuro lighting, D&D concept art style, rich saturated colors, masterpiece, best quality, highly detailed, sharp focus, <lora:add_detail:0.7> Negative prompt: worst quality, low quality, blurry, deformed, ugly, watermark, text, signature, photorealistic, photo, simple background Recommended: sampler DPM++ 2M Karras, steps 35, CFG 7, clip skip 1
דוגמה מקטגוריית fantasy — הפרומפט מדגים את הסינטקס והמבנה האופטימלי לפלטפורמה.
(massive orbital space station:1.4), ring-shaped rotating habitat section with visible interior greenery through panoramic windows, (Earth rising in background:1.3), solar panel arrays extending like golden wings, docked spacecraft with running lights, (hard science fiction:1.2), realistic spacecraft design, lens flare from distant sun, stars visible in deep black void, subtle blue atmospheric glow on Earth's limb, NASA concept art style, technical precision, masterpiece, best quality, highly detailed, sharp focus, 8K Negative prompt: worst quality, low quality, blurry, deformed, ugly, watermark, text, signature, cartoon, anime, fantasy, magic, unrealistic proportions Recommended: sampler DDIM, steps 40, CFG 8, clip skip 1
דוגמה מקטגוריית sci-fi — הפרומפט מדגים את הסינטקס והמבנה האופטימלי לפלטפורמה.
(classical still life:1.4), an ornate wooden table draped with (deep burgundy velvet cloth:1.2), overflowing silver fruit bowl with grapes, pomegranates, figs, and a halved peach, a half-filled crystal wine glass catching warm candlelight, (Dutch Golden Age painting style:1.3), dramatic chiaroscuro, Vermeer-like light from a single window on the left, visible brushstrokes, oil on canvas texture, rich warm tones, masterpiece, best quality, highly detailed Negative prompt: worst quality, low quality, blurry, deformed, ugly, watermark, text, signature, photorealistic, photo, modern, plastic Recommended: sampler DPM++ 2M Karras, steps 30, CFG 7, clip skip 1
דוגמה מקטגוריית food — הפרומפט מדגים את הסינטקס והמבנה האופטימלי לפלטפורמה.
(breathtaking Japanese mountain landscape:1.3), Mount Fuji in the distance with snow cap, foreground of (cherry blossom trees in full bloom:1.4), soft pink petals drifting in gentle wind, a traditional wooden bridge over a calm stream, (ukiyo-e inspired:1.2) with photorealistic details, morning mist in the valley, volumetric god rays, golden hour warm light, (landscape photography:1.3), Canon 24mm f/8, masterpiece, best quality, highly detailed, sharp focus, 8K Negative prompt: worst quality, low quality, blurry, deformed, ugly, watermark, text, signature, people, cars, modern buildings, power lines Recommended: sampler DPM++ 2M Karras, steps 35, CFG 7, clip skip 1
דוגמה מקטגוריית landscape — הפרומפט מדגים את הסינטקס והמבנה האופטימלי לפלטפורמה.
(cozy antique bookshop interior:1.4), floor-to-ceiling mahogany shelves packed with (leather-bound volumes:1.2), a rolling library ladder, warm yellow light from green banker lamps and dusty sunbeams through a bay window, a worn leather armchair with a reading blanket, stacked books on every surface, a sleeping ginger cat on a pile of books, (Victorian era atmosphere:1.3), rich warm tones, detailed textures, architectural interior photography, masterpiece, best quality, highly detailed Negative prompt: worst quality, low quality, blurry, deformed, ugly, watermark, text, signature, modern furniture, minimalist, empty, clean Recommended: sampler DPM++ 2M Karras, steps 30, CFG 7, clip skip 1
דוגמה מקטגוריית interior — הפרומפט מדגים את הסינטקס והמבנה האופטימלי לפלטפורמה.
(flamenco dancer:1.4) in a dramatic spin, (flowing red and black ruffled dress:1.3) caught mid-swirl creating a spiral of fabric, arms raised in passionate expression, (motion blur on dress edges:1.2), wooden stage floor, dramatic single spotlight from above, dark background, scattered rose petals, visible sweat and intensity, (fine art dance photography:1.3), high contrast, cinematic lighting, Canon 70-200mm f/2.8, masterpiece, best quality, highly detailed, sharp focus Negative prompt: worst quality, low quality, blurry, deformed, ugly, watermark, text, signature, extra limbs, bad anatomy, stiff pose, mannequin Recommended: sampler DPM++ 2M Karras, steps 35, CFG 7, clip skip 1
דוגמה מקטגוריית action — הפרומפט מדגים את הסינטקס והמבנה האופטימלי לפלטפורמה.
(Art Nouveau portrait:1.4) of a woman with (flowing auburn hair intertwined with golden vines and lilies:1.3), decorative ornamental border with organic curved lines and floral motifs, soft pastel background in muted sage and cream, (Alphonse Mucha style:1.3), intricate linework, subtle watercolor washes, jewel-toned accents of emerald and amber, elegant and ethereal expression, masterpiece, best quality, highly detailed, illustration, <lora:alphonse_mucha:0.6> Negative prompt: worst quality, low quality, blurry, deformed, ugly, watermark, text, signature, photorealistic, photo, modern, harsh colors Recommended: sampler Euler a, steps 30, CFG 7, clip skip 2
דוגמה מקטגוריית editorial — הפרומפט מדגים את הסינטקס והמבנה האופטימלי לפלטפורמה.
(rainy Tokyo street at night:1.4), narrow alley in Shinjuku with glowing (neon signs in Japanese kanji:1.2), wet asphalt reflecting a kaleidoscope of red, blue, and yellow light, a lone figure with a transparent umbrella walking away, steam rising from a ramen shop entrance, vending machines glowing in the corner, (cyberpunk atmosphere:1.2), photorealistic, Blade Runner vibes, shot on Sony A7III, 35mm f/1.4, masterpiece, best quality, highly detailed, RAW photo Negative prompt: worst quality, low quality, blurry, deformed, ugly, watermark, text, signature, daytime, sunny, dry, western Recommended: sampler DPM++ 2M Karras, steps 35, CFG 7, clip skip 1
דוגמה מקטגוריית street — הפרומפט מדגים את הסינטקס והמבנה האופטימלי לפלטפורמה.
(extreme macro photography:1.4), a (blue morpho butterfly:1.3) perched on a dewy red rose, iridescent wing scales visible at microscopic detail, each tiny scale reflecting light differently, water droplets on petals acting as tiny lenses, (focus stacking:1.2), creamy green bokeh background, warm morning backlight creating a golden rim on the butterfly, Canon MP-E 65mm at 5x magnification, masterpiece, best quality, highly detailed, sharp focus, 8K Negative prompt: worst quality, low quality, blurry, deformed, ugly, watermark, text, signature, painting, illustration, flat, simple background Recommended: sampler DPM++ 2M Karras, steps 35, CFG 7, clip skip 1
דוגמה מקטגוריית macro — הפרומפט מדגים את הסינטקס והמבנה האופטימלי לפלטפורמה.
(luxury perfume advertisement:1.4), an elegant crystal perfume bottle with (amber liquid catching light:1.3) on a slab of white marble, surrounded by scattered fresh rose petals and a sprig of jasmine, (golden hour warm light:1.2) from the side creating long dramatic shadows, particles of gold dust floating in the air, soft gradient background from cream to deep plum, (commercial product photography:1.3), Phase One 120mm macro, masterpiece, best quality, highly detailed, sharp focus Negative prompt: worst quality, low quality, blurry, deformed, ugly, watermark, text, signature, cheap, plastic, cluttered background Recommended: sampler DPM++ 2M Karras, steps 30, CFG 7, clip skip 1
דוגמה מקטגוריית commercial — הפרומפט מדגים את הסינטקס והמבנה האופטימלי לפלטפורמה.
טעויות נפוצות
שימוש ב-CFG 7-8 על SD3.5: תוצאה מוגזמת עם צבעים שרופים ופרטים מעוותים
CFG 3.5-4.5 ל-SD3.5, CFG 7-9 ל-SDXL — לדעת מה מתאים לכל מודל
SD3.5 נבנה לעבוד עם CFG נמוך. ערך 7+ גורם לאובר-סאטורציה, contrasts קיצוניים, ועיוותים. זו הטעות הנפוצה ביותר של מי שעובר מ-SDXL ל-SD3.5.
כתיבת (word:2.0) או (word:3.0) ב-SDXL: משקלות קיצוניים שגורמים לעיוותים
משקלות בטווח 0.6-1.4: (beautiful eyes:1.2), (soft lighting:1.1), (film grain:0.7)
מעל 1.5 המודל 'דוחף' את המילה כל כך חזק שהיא מעוותת את התמונה. מתחת ל-0.5 המילה כמעט נעלמת. הטווח הבטוח והיעיל: 0.6-1.4.
שימוש במילות מפתח SDXL על SD3.5: 'masterpiece, best quality, ultra detailed, 8K'
שפה טבעית: 'A highly detailed macro photograph of a dewdrop on a rose petal'
SD3.5 לא אומן על quality tags כמו 'masterpiece'. המילים האלה מבלבלות אותו ומייצרות אובר-סאטורציה. ב-SD3.5 — כתוב כמו שמדברים.
(beautiful woman:1.3), long hair, blue eyes, studio lighting, photorealistic Negative prompt: Recommended: sampler Euler a, steps 20, CFG 7
(beautiful woman:1.3), long auburn hair, striking blue eyes, soft Rembrandt studio lighting, skin pores, natural texture, Canon 85mm f/1.4, shallow depth of field, masterpiece, best quality, highly detailed, RAW photo Negative prompt: worst quality, low quality, blurry, deformed, ugly, watermark, text, bad anatomy, extra fingers Recommended: sampler DPM++ 2M Karras, steps 35, CFG 7, clip skip 1
Empty negative prompt is a critical mistake. The negative prompt is essential in Stable Diffusion to exclude common artifacts like bad anatomy, watermarks, and low quality. Always include it.
(woman:2.5), (beautiful:3.0), (perfect:2.8), ultra detailed, 8K, masterpiece
(beautiful young woman:1.3), flowing dark hair, warm smile, soft natural light, garden background with roses, (portrait photography:1.2), Canon 85mm f/1.4, masterpiece, best quality, highly detailed
Weights above 1.5 cause severe distortion and artifacts. Keep emphasis weights between 1.1-1.5 for natural-looking results. Excessive weights fight against each other and produce incoherent images.
(portrait photo:1.3), woman in park Negative prompt: bad quality Recommended: sampler LMS, steps 10, CFG 15
(portrait photo:1.3), woman in park, golden hour, soft backlight Negative prompt: worst quality, low quality, blurry, deformed, ugly, watermark, text, bad anatomy Recommended: sampler DPM++ 2M Karras, steps 35, CFG 7, clip skip 1
Wrong sampler and generation settings. LMS is outdated, 10 steps is too few for quality, and CFG 15 is too high causing oversaturation. Use DPM++ 2M Karras with 25-40 steps and CFG 5-8.
A beautiful scenic mountain landscape with snow and a lake reflecting the mountains, shot during golden hour with dramatic clouds, hyperrealistic, 8K resolution, award-winning photography
(alpine mountain landscape:1.3), snow-capped peaks reflected in (mirror-still lake:1.2), golden hour, dramatic cumulus clouds, volumetric god rays, (landscape photography:1.3), Canon 16-35mm f/8, masterpiece, best quality, highly detailed, sharp focus, 8K Negative prompt: worst quality, low quality, blurry, watermark, text, people, cars, power lines Recommended: sampler DPM++ 2M Karras, steps 35, CFG 7, clip skip 1
Writing in natural prose sentences ignores SD's strength. Stable Diffusion uses a CLIP text encoder that responds best to weighted keyword phrases with commas, not flowing paragraphs. Structure as comma-separated descriptors with (emphasis:weight) syntax.
💡 טיפ אישי
הטריק שלי ב-Stable Diffusion: אני מחזיק שני 'פרופילים' שמורים — אחד ל-SDXL ואחד ל-SD3.5. כל פרופיל כולל CFG, sampler, steps, ו-negative prompt בסיסי. ככה אני לא טועה ב-CFG כשאני עובר בין מודלים. גם, ב-SDXL, הטריק הכי חזק הוא לשלב LoRA מותאם אישית — LoRA של סגנון ספציפי + LoRA של דמות = תוצאות שאף מודל סגור לא יכול לייצר.
שאלות נפוצות
SDXL או SD3.5 — מה עדיף?▾
מה זה LoRA ולמה זה חשוב?▾
למה ה-negative prompt חשוב ב-SDXL?▾
רוצה ש-Peroot יכתוב את הפרומפט המושלם עבורך?
נסה עכשיו ב-Peroot