Booru Style Tagging SDXL Anime Prompts Guide 2026
Creating anime art with SDXL can feel overwhelming when you're staring at a blank prompt box.
After generating thousands of images using Stable Diffusion XL, I've found that booru style tagging consistently produces better anime art than natural language prompts. Booru style tagging is a prompt formatting system that uses comma-separated tags with underscore notation, originating from anime image board sites like Danbooru. It's designed specifically for AI art generation to create detailed anime-style images through structured, category-organized descriptors.
This guide will teach you the complete booru tagging system with over 15 copy-paste examples you can use immediately.
Quick Summary: Booru style tagging uses comma-separated tags with underscores (like "long_hair" not "long hair"), ordered by importance from quality to background. SDXL responds best to 20-40 well-organized tags with proper category grouping.
What is Booru Style Tagging?
Booru style tagging is a structured prompting system for AI image generation that uses specific tag categories (quality, character, artist, style, composition, clothing, background) arranged in order of importance, with multi-word tags written using underscore notation.
The system originated from booru sites like Danbooru and Gelbooru, which have organized anime art with detailed tags for over 15 years. When Stable Diffusion launched, the AI art community discovered this tagging system translated perfectly to prompt engineering.
According to the official Danbooru documentation, tags are organized into specific categories that describe different aspects of an image. This structure works exceptionally well with SDXL because the model was trained on datasets heavily influenced by booru-tagged anime art.
Unlike natural language prompts which can be ambiguous, booru tags provide precise, unambiguous descriptors that SDXL understands consistently.
| Booru Site | Specialty | Best For |
|---|---|---|
| Danbooru | High-quality anime art | Tag definitions and standards |
| Gelbooru | Broad anime content | Tag examples and variations |
| Safebooru | SFW anime art | Safe content examples |
| Konachan | Anime wallpapers | Composition and background tags |
Underscore Notation: Writing multi-word tags using underscores instead of spaces. For example, "long_hair" instead of "long hair" ensures SDXL recognizes the tag as a single concept rather than separate words.
Basic Booru Tag Syntax for SDXL
The fundamental syntax is simple but powerful. Let me break it down from my experience testing hundreds of prompts in 2026.
Core Syntax Rules
- Use commas to separate tags: This is non-negotiable. Spaces without commas create confusion in how the model interprets your prompt.
- Use underscores for multi-word tags: "blue_eyes" not "blue eyes", "school_uniform" not "school uniform".
- Order tags by importance: The first tags have more weight in SDXL's attention mechanism.
- Group related tags together: Keep all quality tags at the start, then character tags, then style tags.
Example 1: Basic Template
masterpiece, best quality, high resolution, 1girl, solo, long_hair, blue_eyes, school_uniform, simple_background, white_background
Tag Order for SDXL
Through testing in Automatic1111 and ComfyUI, I've found this order produces the most consistent results with SDXL anime models:
Optimal Tag Order for SDXL
Highest Priority
High Priority
High Priority
Medium Priority
Medium Priority
Lower Priority
This order matters because SDXL's attention mechanism gives more weight to earlier tokens in your prompt.
Key Takeaway: "The first 5-10 tags in your prompt determine 70% of your image's character and style. Put your most important descriptors first, always starting with quality tags."
Essential Booru Tag Categories
Understanding tag categories is crucial for building effective prompts. Based on my work with SDXL anime checkpoints, here are the categories that matter most.
Quality Meta Tags
These go first in every prompt. They tell SDXL what quality level to aim for.
| Tag | Purpose | When to Use |
|---|---|---|
masterpiece |
Highest quality indicator | Nearly every prompt |
best quality |
Overall quality boost | Every prompt |
high resolution |
Detail and sharpness | Detailed images |
very aesthetic |
Artistic composition | Artistic shots |
absurdres |
Extreme detail | High-detail works |
Character Tags
Define who is in your image. Start with character count, then specific features.
Essential Character Tags:
1girl,2girls,multiple_girls1boy,male_focussolo,duo,group
Hair and Face Tags
These are among the most important character-specific tags.
Hair Tags: long_hair, short_hair, ponytail, twintails, hair_ornament
Eye Tags: blue_eyes, red_eyes, heterochromia, glowing_eyes
Clothing Tags
Clothing dramatically affects the final image. Be specific with your clothing tags.
Common clothing tags I use regularly: school_uniform, dress, skirt, hoodie, jersey, armor, kimono, maid_outfit, swimsuit, casual.
Composition Tags
Control how your subject is framed and positioned in the image.
Portrait Tags
portrait, upper_body, close_up, face_focus, looking_at_viewer, smile, blush
Full Body Tags
full_body, wide_shot, dynamic_pose, action_shot, standing, sitting, lying
Background Tags
Background tags go last in your prompt but still significantly impact the mood.
Essential backgrounds: simple_background, white_background, detailed_background, scenery, outdoors, indoors, sky, city, school, nature.
15+ Copy-Paste Booru Prompt Examples
Here are proven prompts I've tested with SDXL anime models. Copy and modify these for your own creations.
Beginner Examples
Example 1: Simple Portrait
masterpiece, best quality, high resolution, 1girl, solo, long_hair, blue_eyes, school_uniform, portrait, looking_at_viewer, smile, simple_background, white_background
This prompt works for clean anime portraits. The quality tags at the start ensure high output, while the simple background keeps focus on the character.
Example 2: Outdoor Scene
masterpiece, best quality, 1girl, solo, short_hair, red_eyes, casual, t-shirt, jeans, outdoors, scenery, sky, clouds, nature, trees, standing, full_body, dynamic_angle
I use this for outdoor character shots. The nature and scenery tags create pleasant backgrounds without competing with the subject.
Example 3: Fantasy Character
masterpiece, best quality, absurdres, 1girl, solo, blonde_hair, purple_eyes, armor, fantasy, metal_armor, sword, weapon, intense_eyes, determined, outdoors, battlefield, dynamic_pose, action_shot, from_side
This fantasy prompt demonstrates how to stack character and equipment tags for a complete character design.
Intermediate Examples
Example 4: Anime Portrait with Style
masterpiece, best quality, very aesthetic, high resolution, 1girl, solo, long_hair, black_hair, bangs, blue_eyes, school_uniform, serafuku, pleated_skirt, indoors, classroom, chalkboard, desk, sitting, looking_at_viewer, smile, soft_lighting, anime_style, cel_shading
The addition of style-specific tags like cel_shading and lighting tags like soft_lighting gives more artistic control.
Example 5: Multiple Characters
masterpiece, best quality, high resolution, 2girls, duo, friends, interaction, talking, laughing, 1girl, long_hair, brown_hair, ponytail, school_uniform, other_girl, short_hair, blonde_hair, casual, hoodie, jeans, outdoors, park, bench, sitting, daytime, soft_lighting
For multiple characters, specify features for each using 1girl and other_girl as separators.
Example 6: Night Scene
masterpiece, best quality, 1girl, solo, long_hair, silver_hair, glowing_eyes, dress, elegant, night, night_sky, stars, moon, moonlight, city_lights, urban, outdoors, standing, looking_at_viewer, mysterious, atmospheric_lighting, cold_color_palette, cinematic_lighting
Night scenes benefit from specific lighting and color palette tags like atmospheric_lighting and cold_color_palette.
Example 7: Action Pose
masterpiece, best quality, high resolution, 1girl, solo, ponytail, determined_expression, intense_eyes, sportswear, jersey, shorts, sneakers, action_shot, dynamic_pose, running, motion_blur, sweat, outdoors, track, stadium, daytime, dramatic_angle, low_angle, from_below
Action prompts need motion and angle tags. motion_blur and low_angle create dynamic energy.
Example 8: Traditional Japanese Style
masterpiece, best quality, absurdres, 1girl, solo, long_hair, black_hair, hair_ornament, kimono, traditional_clothing, floral_pattern, japan, japanese_architecture, temple, cherry_blossom, sakura, falling_petals, outdoors, standing, looking_away, peaceful, serene, soft_lighting, detailed_background
Traditional styles benefit from culture-specific tags and detailed background specifications.
Advanced Examples
Example 9: Cyberpunk Style
masterpiece, best quality, very aesthetic, high resolution, 1girl, solo, short_hair, neon_hair, pink_hair, cybernetic, mechanical_parts, glowing_eyes, futuristic_clothing, tech_wear, jacket, hood, city, cyberpunk, neon_lights, urban_fantasy, night, rain, wet_ground, reflection, neon_signs, standing, looking_at_viewer, intense, cinematic_lighting, volumetric_lighting, cyberpunk_style, synthwave_colors
This demonstrates how to combine multiple style tags for a cohesive aesthetic. The synthwave_colors tag unifies the color scheme.
Example 10: Fantasy Magic User
masterpiece, best quality, absurdres, 1girl, solo, long_hair, white_hair, flowing_hair, glowing_eyes, heterochromia, robe, mage, hood, cloak, magic, magical_energy, glowing_aura, spellcasting, floating, hands, particle_effects, light_effects, fantasy, magical_background, ruins, ancient, mystical, dramatic_lighting, ray_tracing, ethereal
Magic effects require specific effect tags. particle_effects and light_effects add visual complexity to magical elements.
Example 11: Emotional Portrait
masterpiece, best quality, very aesthetic, 1girl, solo, medium_hair, messy_hair, red_eyes, teary_eyes, sad, melancholic, looking_down, introspective, casual, oversized_hoodie, indoors, window, rain_outside, window_reflection, soft_lighting, dim_lighting, emotional, atmospheric, anime_style, detailed_eyes, emotional_portrait
Emotional prompts work well with atmosphere and lighting tags that reinforce the mood.
Example 12: Summer Beach Scene
masterpiece, best quality, high resolution, 1girl, solo, long_hair, wet_hair, ponytail, blue_eyes, swimsuit, bikini, beach, ocean, waves, sandy_beach, summer, daytime, bright_lighting, sunlight, lens_flare, blue_sky, clouds, standing, looking_at_viewer, smile, happy, energetic, water_splashes, skin_tones_wet, summer_vibes
Seasonal prompts benefit from weather and atmosphere tags that establish the setting.
Example 13: Gothic Horror
masterpiece, best quality, absurdres, 1girl, solo, long_hair, black_hair, bangs, red_eyes, pale_skin, gothic_lolita, dress, frills, ribbons, victorian_clothing, gothic, dark_fantasy, indoors, castle, candlelight, dark, moody, dramatic_lighting, chiaroscuro, mysterious, elegant, horror_atmosphere, detailed_background, ornate
Horror and gothic styles benefit from lighting tags like chiaroscuro for dramatic contrast.
Example 14: Sci-Fi Space
masterpiece, best quality, very aesthetic, high resolution, 1girl, solo, short_hair, purple_hair, futuristic, spacesuit, sci_fi, helmet, transparent_visor, space, stars, nebula, galaxy, cosmos, planet, floating, zero_gravity, spacecraft_background, interior, sci_fi_interior, glowing_panels, cinematic_lighting, cold_colors, blue_purple_gradient, epic_scale
Space scenes require specific setting tags. The transparent_visor tag ensures the face remains visible.
Example 15: Cozy Indoor
masterpiece, best quality, very aesthetic, 1girl, solo, long_hair, brown_hair, sleepy_eyes, comfortable, pajamas, oversized_clothing, indoors, bedroom, bed, pillows, blanket, warm_lighting, lamp, night, cozy, peaceful, resting, sitting, soft_lighting, warm_colors, domestic_atmosphere, detailed_interior, books, plush_toys
Cozy interior scenes work well with domestic atmosphere tags and warm lighting specifications.
Example 16: Dynamic Combat
masterpiece, best quality, absurdres, 1girl, solo, ponytail, fierce_expression, battle_damaged, torn_clothing, scratches, determined, armor, light_armor, weapon, sword, katana, action_shot, dynamic_angle, motion_lines, speed_lines, intense_battle, sparks, debris, dramatic_perspective, fish_eye_lens, action_oriented, cinematic_composition, dynamic_composition
Combat scenes benefit from perspective and motion tags that convey action and intensity.
Advanced Booru Tagging Techniques
Once you master the basics, these techniques will give you finer control over your SDXL outputs.
Tag Weighting
Tags can be weighted using parentheses to increase or decrease their influence. This is crucial for fine-tuning results.
Weighting Syntax:
(tag:1.2)- Increase emphasis by 20%(tag:1.5)- Increase emphasis by 50%((tag))- Double emphasis (equivalent to 1.5-2.0)(tag:0.8)- Decrease emphasis[tag]- Decrease emphasis (alternative syntax)
Tag Weighting: A technique using parentheses or brackets to modify how strongly SDXL considers specific tags. Weighted tags receive more or less attention during generation, allowing precise control over image elements.
Example 17: Weighted Prompt
masterpiece, best quality, (red_eyes:1.3), (long_hair:1.2), school_uniform, portrait, looking_at_viewer, smile, [simple_background], [white_background]
This emphasizes the eye color and hair while de-emphasizing the background.
Negative Prompts
Negative prompts tell SDXL what to avoid. They're essential for fixing common issues.
Standard Negative Prompt for Anime:
low quality, worst quality, bad anatomy, bad hands, missing fingers, extra fingers, fewer fingers, fused fingers, impossible hand, bad feet, poorly drawn face, mutation, mutated, ugly, disgusting, blurry, amputation, watermark, text, signature, username, artist_name
I've found this negative prompt works well for most anime generation. You can add specific tags to negative prompts when certain elements keep appearing.
Example 18: Negative for Clean Characters
nsfw, nude, naked, exposed, revealing, mature_content, gore, violence, blood, injury, scary, creepy
Use this negative prompt when you want to ensure family-friendly results.
SDXL-Specific Optimizations
SDXL handles booru tags differently than SD 1.5. Based on my testing, here are the key differences:
| Aspect | SD 1.5 | SDXL |
|---|---|---|
| Optimal Tag Count | 30-50 tags | 20-40 tags |
| Tag Order Impact | High | Very High |
| Natural Language | Poor results | Acceptable results |
| Quality Tags | Essential | Less critical |
Key Takeaway: "SDXL responds better to fewer, more focused tags than SD 1.5. Quality is more important than quantity with SDXL booru prompts."
Hybrid Prompting
You can combine booru tags with natural language for SDXL, which handles hybrid prompts better than earlier models.
Example 19: Hybrid Prompt
masterpiece, best quality, 1girl, solo, long_hair, blue_eyes, sitting on a park bench at sunset, warm golden lighting, peaceful atmosphere, school_uniform, outdoors, park, nature, trees, sky, clouds, sunset, dusk, cinematic
Place natural language phrases after your core booru tags. SDXL will interpret the structured tags first, then use natural language for additional context.
Common Booru Tagging Mistakes to Avoid
I've made all these mistakes testing prompts. Learn from my experience to save time.
Common Mistakes
- Using spaces instead of underscores
- Forgetting commas between tags
- Putting background tags first
- Using too many tags (50+)
- Inconsistent tag order
- Conflicting style tags
Quick Fixes
- Always use underscores for multi-word tags
- Use commas between every tag
- Keep background tags at the end
- Limit to 20-40 tags for SDXL
- Follow quality-to-background order
- Check tag conflicts before generating
Mistake 1: Wrong Tag Order
Putting background or clothing tags before character features is the most common error I see.
Wrong:
school_uniform, dress, indoors, classroom, masterpiece, best quality, 1girl, blue_eyes
Correct:
masterpiece, best quality, 1girl, blue_eyes, school_uniform, indoors, classroom
Mistake 2: Missing Underscores
SDXL interprets "long hair" as two separate concepts. Use "long_hair" instead.
Mistake 3: Over-Prompting
More tags don't always mean better images. I've found 25-35 tags is the sweet spot for SDXL anime models.
Mistake 4: Conflicting Tags
Avoid tags that contradict each other like "outdoors" and "indoors" in the same prompt.
Booru Tag Databases and Resources
Finding the right tags is easier with these resources. I use them regularly when building prompts.
| Resource | Best For | Access |
|---|---|---|
| Danbooru | Official tag definitions | danbooru.donmai.us |
| Gelbooru | Tag examples and variations | gelbooru.com |
| Lexica.art | Stable Diffusion prompts | lexica.art |
| Civitai | Community examples and models | civitai.com |
| PromptHero | Style references and artist tags | prompthero.com |
When searching booru sites, look at the tags on images you like and incorporate them into your prompts. This is how I've built my personal tag library over time.
Quick Reference Tag Cheat Sheet
Quality Meta Tags: masterpiece, best quality, high resolution, very aesthetic, absurdres
Character: 1girl, 1boy, solo, duo, multiple_girls
Hair: long_hair, short_hair, ponytail, twintails, blonde_hair, black_hair, silver_hair
Eyes: blue_eyes, red_eyes, green_eyes, heterochromia, glowing_eyes
Clothing: school_uniform, dress, kimono, armor, sportswear, casual, swimsuit
Composition: portrait, full_body, close_up, dynamic_pose, looking_at_viewer
Background: simple_background, white_background, outdoors, indoors, scenery, night
Lighting: soft_lighting, dramatic_lighting, cinematic_lighting, volumetric_lighting
Frequently Asked Questions
What is booru style tagging?
Booru style tagging is a prompt formatting system using comma-separated tags with underscore notation, originating from anime image board sites like Danbooru. It organizes descriptive elements into categories (quality, character, artist, style, composition, clothing, background) arranged in order of importance for AI image generation.
How do you use booru tags in Stable Diffusion?
Use comma-separated tags with underscores for multi-word phrases (like long_hair not long hair). Order tags by importance starting with quality tags, then character features, clothing, composition, and background. SDXL works best with 20-40 well-organized tags rather than excessive prompting.
What are the best booru tags for anime?
Essential quality tags include masterpiece, best quality, high resolution, and very aesthetic. For character features use 1girl, solo, long_hair, blue_eyes, and school_uniform. Style tags like anime_style, cel_shading, and vibrant_colors work well. Always start with quality meta tags for best results.
How do you weight tags in booru style prompts?
Use parentheses to modify tag strength: (tag:1.2) increases emphasis by 20%, (tag:1.5) increases by 50%, and ((tag)) doubles emphasis. To decrease emphasis use (tag:0.8) or [tag] syntax. Weighting is useful for emphasizing important features like (blue_eyes:1.3) or de-emphasizing backgrounds.
What is the correct order for booru tags?
The optimal order is: 1) Quality meta tags (masterpiece, best quality), 2) Character count and subject (1girl, solo), 3) Character features (hair, eyes), 4) Clothing and accessories, 5) Composition and pose, 6) Background and environment. This order works because SDXL's attention mechanism gives more weight to earlier prompt tokens.
How many tags should I use in my prompt?
For SDXL, 20-40 tags is optimal. Fewer than 15 may lack detail while more than 50 can confuse the model. SDXL responds better to focused, well-organized prompts than excessive tagging. Quality of tag selection matters more than quantity. Start with 25-30 tags and adjust based on results.
Can I mix booru tags with natural language?
Yes, SDXL handles hybrid prompts better than earlier Stable Diffusion versions. Place booru tags first in your prompt, then add natural language phrases for additional context. For example: masterpiece, best quality, 1girl, solo, sitting on a park bench at sunset, warm golden lighting. The structured tags provide the foundation while natural language adds atmosphere.
Where can I find booru tag databases?
Danbooru is the authoritative source for official tag definitions and standards. Gelbooru offers broad tag examples and variations. For AI-specific resources, Lexica.art provides Stable Diffusion prompts, Civitai has community examples, and PromptHero offers style references. Browse images you like and note the tags used to build your personal library.
Final Recommendations
After spending months testing booru tags with SDXL, I've found that consistency matters more than complex prompting. Start with the basic template, add specific character and style tags, and iterate based on your results.
The examples in this guide give you a foundation. Modify them to match your vision, keep notes on what works, and build your personal tag library over time.
Remember: "Booru tagging is a skill that improves with practice. Each generation teaches you something new about how SDXL interprets tags. Keep experimenting."
