Afame
Generate diverse creative illustrations via OpenAI Images API.
- Rating
- 4 (386 reviews)
- Downloads
- 848 downloads
- Version
- 1.0.0
Overview
Generate diverse creative illustrations via OpenAI Images API.
Complete Documentation
View Source →
Creative Illustration Factory
Generate professional illustrations for books, editorial content, children's stories, and creative projects.
Setup
- Needs env:
OPENAI_API_KEY
Quick Start
Generate a simple illustration:
python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py \
--subject "a cozy cottage in an enchanted forest"
Generate with specific style:
python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py \
--subject "a robot learning to paint" \
--style "watercolor" \
--mood "whimsical"
Generate a story sequence:
python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py \
--subject "Alice discovers a tiny door" \
--subject "Alice shrinks down" \
--subject "Alice enters Wonderland" \
--style "whimsical illustration" \
--mood "magical"
Illustration Types
Book Illustrations
chapter-opener- Full-page chapter opening scenecharacter-intro- Character introduction portraitlandscape-scene- Wide landscape establishing shotaction-moment- Dynamic action or pivotal momentemotional-scene- Emotional or dramatic scenecover-art- Book cover illustration style
Editorial / Magazine Art
conceptual-art- Abstract conceptual illustrationinfo-graphic- Informational illustration styleportrait-editorial- Editorial portraitspot-illustration- Small spot illustrationfull-page-spread- Magazine full-page spread
Children's Book Art
picture-book- Classic picture book illustrationwhimsical- Playful and imaginative styleeducational- Educational book illustrationbedtime-story- Soft, calming bedtime story artadventure-map- Adventure map or treasure map
Concept Art
environment-concept- Environmental concept artcharacter-concept- Character design conceptprop-concept- Object or prop designstoryboard- Storyboard panel stylemood-board- Mood board aesthetic
Styles
Traditional Media
watercolor- Watercolor painting with soft edgesoil-painting- Rich oil painting texturecharcoal-sketch- Charcoal drawing styleink-wash- Ink wash / sumi-e stylepastel- Soft pastel drawingcolored-pencil- Colored pencil illustrationgouache- Gouache opaque watercoloracrylic- Acrylic painting stylelino-cut- Linocut printmaking stylewoodcut- Woodcut print aesthetic
Digital Styles
digital-painting- Digital paintingvector-illustration- Clean vector artflat-design- Flat design aestheticisometric- Isometric perspectivepixel-art- Retro pixel artconcept-art- Game/film concept art stylecel-shaded- Cel shaded animation stylelow-poly- Low poly 3D aesthetic
Book & Print Styles
picture-book- Classic picture bookstorybook-illustration- Vintage storybook arteditorial-illustration- Magazine editorialnewspaper-engraving- Newspaper engraving styleposter-art- Vintage poster designwoodblock-print- Japanese woodblock printscreen-print- Screen print aesthetic
Mood
whimsical- Playful and imaginativemagical- Magical and enchantingmysterious- Mysterious and intriguingpeaceful- Calm and serenedramatic- Dramatic and intensenostalgic- Warm and nostalgicgloomy- Dark and atmosphericvibrant- Bright and energeticromantic- Soft and romanticquirky- Quirky and eccentric
Parameters
--subject- Illustration subject/description (repeatable for batch)--type- Illustration type (default: illustration)--style- Artistic style (default: watercolor)--mood- Mood/atmosphere (default: peaceful)--palette- Color palette suggestion--composition- Composition guidance (e.g., "wide shot", "close-up")--count- Number of variants per subject (default: 1)--out-dir- Output directory (default: ~/Projects/tmp/creative-illustration-*)--size- Image size: 1024x1024, 1792x1024, 1024x1792 (default: 1024x1024)--quality- high/standard (default: high)--model- OpenAI image model (default: gpt-image-1.5)--api-key- OpenAI API key (or use OPENAI_API_KEY env)
Advanced Examples
Children's book page:
python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py \
--subject "a curious rabbit with a pocket watch" \
--type "picture-book" \
--style "watercolor" \
--mood "whimsical" \
--palette "pastel"
Editorial concept art:
python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py \
--subject "AI and humanity working together" \
--type "conceptual-art" \
--style "vector-illustration" \
--mood "optimistic" \
--composition "symbolic"
Story sequence:
python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py \
--subject "Hero finds an ancient map" \
--subject "Hero deciphers mysterious symbols" \
--subject "Hero discovers a hidden passage" \
--subject "Hero enters the forgotten temple" \
--style "storybook-illustration" \
--mood "mysterious" \
--palette "earth tones"
Full custom prompt:
python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py \
--prompt "A magical treehouse library nestled among ancient redwoods, spiral staircase winding up the trunk, lanterns hanging from branches, books floating in mid-air, warm golden light streaming through leaves, detailed watercolor illustration style, whimsical and enchanting"
Color Palettes
pastel- Soft pastel colorsearth tones- Natural browns, greens, goldsvibrant- Bright saturated colorsmuted- Desaturated, subtle colorsmonochrome- Single color variationsjewel tones- Rich ruby, emerald, sapphireautumn- Orange, red, yellow, brownwinter- Blue, white, silver, purpletropical- Bright greens, teals, pinksvintage- Warm sepia, faded tones
Composition
wide shot- Wide establishing sceneclose-up- Intimate close-uppanoramic- Panoramic landscaperule-of-thirds- Balanced rule of thirdscentered- Centered subjectdiagonal- Dynamic diagonal compositiontriangular- Triangular compositioncircular- Circular / spiral compositionsymmetrical- Perfectly symmetricalasymmetrical- Asymmetrical balance
Output
*.png- Illustration imagesprompts.json- All prompts usedindex.html- Illustration gallery
Project Templates
Children's Book (4-6 images)
python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py \
--subject "Girl finds a magical seed" \
--subject "Seed grows into a glowing plant" \
--subject "Plant reveals a tiny fairy" \
--subject "Fairy shows girl a secret garden" \
--subject "Girl shares garden with friends" \
--type "picture-book" \
--style "watercolor" \
--mood "whimsical"
Magazine Editorial (1-2 images)
python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py \
--subject "The future of sustainable cities" \
--type "conceptual-art" \
--style "vector-illustration" \
--mood "optimistic" \
--count 2
Fantasy Story Chapter Opener (1 image)
python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py \
--subject "The dragon's treasure hoard under ancient runes" \
--type "chapter-opener" \
--style "oil-painting" \
--mood "dramatic" \
--palette "jewel tones"
Installation
openclaw install afame
💻Code Examples
--mood "magical"
## Illustration Types
### Book Illustrations
- `chapter-opener` - Full-page chapter opening scene
- `character-intro` - Character introduction portrait
- `landscape-scene` - Wide landscape establishing shot
- `action-moment` - Dynamic action or pivotal moment
- `emotional-scene` - Emotional or dramatic scene
- `cover-art` - Book cover illustration style
### Editorial / Magazine Art
- `conceptual-art` - Abstract conceptual illustration
- `info-graphic` - Informational illustration style
- `portrait-editorial` - Editorial portrait
- `spot-illustration` - Small spot illustration
- `full-page-spread` - Magazine full-page spread
### Children's Book Art
- `picture-book` - Classic picture book illustration
- `whimsical` - Playful and imaginative style
- `educational` - Educational book illustration
- `bedtime-story` - Soft, calming bedtime story art
- `adventure-map` - Adventure map or treasure map
### Concept Art
- `environment-concept` - Environmental concept art
- `character-concept` - Character design concept
- `prop-concept` - Object or prop design
- `storyboard` - Storyboard panel style
- `mood-board` - Mood board aesthetic
## Styles
### Traditional Media
- `watercolor` - Watercolor painting with soft edges
- `oil-painting` - Rich oil painting texture
- `charcoal-sketch` - Charcoal drawing style
- `ink-wash` - Ink wash / sumi-e style
- `pastel` - Soft pastel drawing
- `colored-pencil` - Colored pencil illustration
- `gouache` - Gouache opaque watercolor
- `acrylic` - Acrylic painting style
- `lino-cut` - Linocut printmaking style
- `woodcut` - Woodcut print aesthetic
### Digital Styles
- `digital-painting` - Digital painting
- `vector-illustration` - Clean vector art
- `flat-design` - Flat design aesthetic
- `isometric` - Isometric perspective
- `pixel-art` - Retro pixel art
- `concept-art` - Game/film concept art style
- `cel-shaded` - Cel shaded animation style
- `low-poly` - Low poly 3D aesthetic
### Book & Print Styles
- `picture-book` - Classic picture book
- `storybook-illustration` - Vintage storybook art
- `editorial-illustration` - Magazine editorial
- `newspaper-engraving` - Newspaper engraving style
- `poster-art` - Vintage poster design
- `woodblock-print` - Japanese woodblock print
- `screen-print` - Screen print aesthetic
## Mood
- `whimsical` - Playful and imaginative
- `magical` - Magical and enchanting
- `mysterious` - Mysterious and intriguing
- `peaceful` - Calm and serene
- `dramatic` - Dramatic and intense
- `nostalgic` - Warm and nostalgic
- `gloomy` - Dark and atmospheric
- `vibrant` - Bright and energetic
- `romantic` - Soft and romantic
- `quirky` - Quirky and eccentric
## Parameters
- `--subject` - Illustration subject/description (repeatable for batch)
- `--type` - Illustration type (default: illustration)
- `--style` - Artistic style (default: watercolor)
- `--mood` - Mood/atmosphere (default: peaceful)
- `--palette` - Color palette suggestion
- `--composition` - Composition guidance (e.g., "wide shot", "close-up")
- `--count` - Number of variants per subject (default: 1)
- `--out-dir` - Output directory (default: ~/Projects/tmp/creative-illustration-*)
- `--size` - Image size: 1024x1024, 1792x1024, 1024x1792 (default: 1024x1024)
- `--quality` - high/standard (default: high)
- `--model` - OpenAI image model (default: gpt-image-1.5)
- `--api-key` - OpenAI API key (or use OPENAI_API_KEY env)
## Advanced Examples
Children's book page:--prompt "A magical treehouse library nestled among ancient redwoods, spiral staircase winding up the trunk, lanterns hanging from branches, books floating in mid-air, warm golden light streaming through leaves, detailed watercolor illustration style, whimsical and enchanting"
## Color Palettes
- `pastel` - Soft pastel colors
- `earth tones` - Natural browns, greens, golds
- `vibrant` - Bright saturated colors
- `muted` - Desaturated, subtle colors
- `monochrome` - Single color variations
- `jewel tones` - Rich ruby, emerald, sapphire
- `autumn` - Orange, red, yellow, brown
- `winter` - Blue, white, silver, purple
- `tropical` - Bright greens, teals, pinks
- `vintage` - Warm sepia, faded tones
## Composition
- `wide shot` - Wide establishing scene
- `close-up` - Intimate close-up
- `panoramic` - Panoramic landscape
- `rule-of-thirds` - Balanced rule of thirds
- `centered` - Centered subject
- `diagonal` - Dynamic diagonal composition
- `triangular` - Triangular composition
- `circular` - Circular / spiral composition
- `symmetrical` - Perfectly symmetrical
- `asymmetrical` - Asymmetrical balance
## Output
- `*.png` - Illustration images
- `prompts.json` - All prompts used
- `index.html` - Illustration gallery
## Project Templates
### Children's Book (4-6 images)python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py \
--subject "a robot learning to paint" \
--style "watercolor" \
--mood "whimsical"python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py \
--subject "Alice discovers a tiny door" \
--subject "Alice shrinks down" \
--subject "Alice enters Wonderland" \
--style "whimsical illustration" \
--mood "magical"python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py \
--subject "a curious rabbit with a pocket watch" \
--type "picture-book" \
--style "watercolor" \
--mood "whimsical" \
--palette "pastel"python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py \
--subject "AI and humanity working together" \
--type "conceptual-art" \
--style "vector-illustration" \
--mood "optimistic" \
--composition "symbolic"python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py \
--subject "Hero finds an ancient map" \
--subject "Hero deciphers mysterious symbols" \
--subject "Hero discovers a hidden passage" \
--subject "Hero enters the forgotten temple" \
--style "storybook-illustration" \
--mood "mysterious" \
--palette "earth tones"python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py \
--subject "Girl finds a magical seed" \
--subject "Seed grows into a glowing plant" \
--subject "Plant reveals a tiny fairy" \
--subject "Fairy shows girl a secret garden" \
--subject "Girl shares garden with friends" \
--type "picture-book" \
--style "watercolor" \
--mood "whimsical"python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py \
--subject "The future of sustainable cities" \
--type "conceptual-art" \
--style "vector-illustration" \
--mood "optimistic" \
--count 2python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py \
--subject "The dragon's treasure hoard under ancient runes" \
--type "chapter-opener" \
--style "oil-painting" \
--mood "dramatic" \
--palette "jewel tones"Tags
Quick Info
Ready to Install?
Get started with this skill in seconds
Related Skills
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
Mh Openai Whisper Api
Transcribe audio via OpenAI Audio Transcriptions API (Whisper).
Voice Recognition
Local speech-to-text with OpenAI Whisper CLI.
Geo Content Optimizer
Use when the user asks to "optimize for AI", "get cited by ChatGPT", "AI optimization", "appear in A