xiaohongshu
xiaohongshu
milady-meme-generator
Generate Milady NFT memes with layered composition, text overlays, and 324+ accessories. Use when creating Milady memes, adding layers like hats/glasses/earrings, working with NFT artwork, or generating custom meme images.
Full skill instructions
Generate custom Milady NFT memes with advanced layering, text overlays, and 324+ accessory options.
This Skill enables you to create Milady-themed memes using:
from src.meme_generator_v2 import MemeGeneratorV2
# Initialize generator
generator = MemeGeneratorV2()
# Generate random Milady meme
output = generator.generate_random_meme()
# Generate specific NFT with text
output = generator.generate_meme(
nft_id=5050,
top_text="GM",
bottom_text="WAGMI"
)
# Generate with custom layers
output = generator.generate_meme(
nft_id=5050,
layers=["Hat:Beret.png", "Glasses:Sunglasses.png"]
)
from src.prompt_parser import PromptParser
parser = PromptParser()
# Parse natural language to layers
result = parser.parse_prompt(
"give her a red beret and cool sunglasses"
)
# Returns: ["Hat:Beret.png", "Glasses:Sunglasses.png"]
| Category | Count | Z-Index | Description |
|---|---|---|---|
| Hat | 89 | 60 | Headwear accessories |
| Glasses | 24 | 50 | Eyewear styles |
| Earrings | 21 | 40 | Ear accessories |
| Necklaces | 13 | 30 | Neck jewelry |
| Face Decoration | 134 | 70 | Face stickers/marks |
| Overlay | 43 | 80 | Special effects |
Total: 324 layers
from src.milady_composer import MiladyComposer
composer = MiladyComposer()
# Add single layer
composer.add_layer("Hat:Cowboy.png")
# Add multiple layers
composer.add_layers([
"Hat:Beret.png",
"Glasses:Sunglasses.png",
"Overlay:Heart Meme.png"
])
# Compose final image
result = composer.compose(nft_id=1234)
from src.caption_meme import CaptionMeme
captioner = CaptionMeme()
# Add text with Impact font (classic meme style)
captioner.add_caption(
image=img,
top_text="GM",
bottom_text="WAGMI",
font_style="impact"
)
# Custom positioning and styling
captioner.add_caption(
image=img,
top_text="Good Morning",
bottom_text="Let's Go",
font_style="glow",
font_size=60,
text_color="white"
)
Each NFT (0-9999) has metadata including:
# Access NFT metadata
metadata = composer.get_nft_metadata(nft_id=5050)
# Returns:
{
"id": 5050,
"attributes": {
"Background": "Baby Pink",
"Skin": "Peach",
"Eyes": "Brown",
"Hair": "Long Black",
"Shirt": "White Tee"
},
"rarity": {...}
}
generator = MemeGeneratorV2()
output = generator.generate_gm_meme()
# Returns random NFT with "GM" text and random accessories
# Crypto-themed
output = generator.generate_themed_meme(theme="crypto")
# Milady culture
output = generator.generate_themed_meme(theme="milady")
composer = MiladyComposer()
# Start with specific NFT
composer.set_base(nft_id=1234)
# Add accessories
composer.add_layer("Hat:Beret.png")
composer.add_layer("Glasses:Heart Shaped.png")
# Add overlay effect
composer.add_layer("Overlay:Sparkles.png")
# Compose and save
result = composer.compose()
result.save("output/my_meme.png")
assets/milady_nfts/images/ (10,000 PNGs)assets/milady_layers/ (6 subdirectories)assets/milady_nfts/metadata.jsonoutput/ directory# Download all 10,000 NFTs (requires ~500MB)
python scripts/download_nfts.py
# Download all 324 layers
python scripts/download_layers.py
# Check for missing assets
python scripts/check_missing.py
pip install pillow requests
Pre-defined text templates for quick generation:
# GM templates (30+ variations)
generator.generate_from_template("gm")
# Crypto templates (40+ variations)
generator.generate_from_template("crypto")
# Milady culture templates (25+ variations)
generator.generate_from_template("milady")
# Motivational templates (15+ variations)
generator.generate_from_template("motivational")
# Generate multiple random memes
outputs = generator.batch_generate(count=10)
# Generate series with same base, different accessories
outputs = generator.generate_series(
nft_id=5050,
variations=5
)
For complete layer listings and examples, see:
check_missing.py if layers don't loadMissing NFT images?
python scripts/download_nfts.py
Layer not found?
# Check available layers
ls assets/milady_layers/Hat/
# Download missing layers
python scripts/download_layers.py
Text not rendering?
assets/fonts/font_style="impact"All generation is FREE - runs locally with Pillow (no API calls).
Related Skills:
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience