Style template format specification. Single markdown files that describe artistic direction.
updated: 2026-01-20
Styles are single markdown files in the styles/ directory.
The entire file content is prepended to the user's prompt.
{project}/
styles/
glass.md
watercolor.md
cyberpunk.md
# Style Name
{Overall description of the visual style. Be vivid and specific.
Include mood, atmosphere, key visual characteristics.}
## Color Palette
- Primary: {color} ({hex})
- Secondary: {color} ({hex})
- Background: {color} ({hex})
- Accents: {colors}
## Technical Notes
{Rendering style, lighting, materials, post-processing}
# Blue Glass 3D Style
A photorealistic 3D render with blue glass material. Objects should have:
- Glossy, translucent blue glass surface
- Subtle reflections and refractions
- Solid black background
- Soft studio lighting from above-left
- Sharp shadows
## Color Palette
- Primary: Deep blue (#1a4b8c)
- Highlights: Light cyan (#7fdbff)
- Background: Pure black (#000000)
## Technical Notes
- Use ray-traced rendering appearance
- Include caustic light effects
- Maintain consistent material across objects
# Apply style to generation
uv run python main.py out.png "gear icon" --style styles/glass.md
# Combine with reference
uv run python main.py out.png "cube" --style styles/glass.md --ref prev.png
| Concept | Type | Purpose |
|---|---|---|
| Style | Text (.md) | Artistic direction via description |
| Reference | Image | Visual example for consistency |
Both can be combined for best results.
Style files are validated for potential injection patterns:
Suspicious patterns generate warnings but don't block creation.