Melies cli
Skill melies-co/melies-cli
AI Agent Creative Toolkit. 150 AI actors, 220+ visual styles, 50+ AI models. Zero prompt engineering to generate images, videos, thumbnails, movie posters, etc...
npx -y skills add melies-co/melies-cliAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
AI filmmaking CLI with 148 built-in actors, 98 visual styles, and smart model selection. Generate images, videos, posters, and thumbnails without prompt engineering. Text-to-image, text-to-video, image-to-video pipeline, upscaling, background removal. Use --actor, --art-style, --lighting, --mood flags instead of writing prompts.
SKILL.md
12.6 KB, ~3.3k tokens by cl100k_base, as published. Nobody here has run it
Melies CLI
AI filmmaking from the command line. 148 AI actors, 98 visual styles, 50+ models. Generate images, videos, posters, and YouTube thumbnails without prompt engineering.
Install
npm install -g melies
Authentication
# Browser login (opens melies.co, authenticates automatically)
melies login
# Or use an API token directly (for CI/agents)
melies login --token YOUR_TOKEN
# Or set as environment variable
export MELIES_TOKEN=your_token
Generate an API token at melies.co > Settings > API.
Output Format
By default, browse commands (credits, models, actors, assets, styles) display human-readable tables. Agents should always use --json to get structured JSON output for parsing.
Generation commands (image, video, poster, thumbnail, pipeline, upscale, remove-bg) always output JSON.
Quick Start
# Generate an image with an AI actor, Ghibli style, and golden lighting
melies image "portrait in a café" --actor mei --art-style ghibli --lighting golden --sync
# Generate a movie poster with a preset style
melies poster "Neon Shadows" --style noir --actor james --sync
# Image → video pipeline in one command
melies pipeline "warrior on a cliff at sunset" --actor mei --best --sync
# Generate 4 YouTube thumbnails
melies thumbnail "shocked face reacting to AI news" --actor aria -n 4 --sync
# Preview cost before generating
melies image "sunset" --quality --actor hailey --dry-run
Smart Model Selection
No model names needed. Use quality presets:
| Flag | Image Model | Video Model |
|---|---|---|
(default / --fast) | flux-schnell (2cr) | kling-v2 (30cr) |
--quality | flux-pro (8cr) | kling-v3-pro (100cr) |
--best | seedream-3 (6cr) | veo-3.1 (400cr) |
-m <id> | exact model | exact model |
-m overrides quality presets. Use melies models to list all available models.
Visual Style Flags
Add these flags to any image, video, thumbnail, or pipeline command:
| Flag | Example Values |
|---|---|
--camera | eye-level, high, low, overhead, dutch, ots, profile, three-quarter |
--shot | ecu, close-up, medium, cowboy, full-body, wide, tighter, wider |
--expression | smile, laugh, serious, surprised, villain-smirk, seductive, horrified |
--lighting | soft, golden, noir, rembrandt, backlit, neon, candle, hard |
--time | dawn, sunrise, golden, dusk, night, morning, midday |
--weather | clear, fog, rain, storm, snow, overcast, mist |
--color-grade | natural, teal-orange, mono, warm, cool, filmic, sepia |
--mood | romantic, mysterious, tense, ethereal, gritty, epic, nostalgic |
--art-style | film-still, blockbuster, noir, anime, ghibli, shinkai, oil, watercolor, concept |
--era | victorian, 1920s, 1980s, modern, dystopian, medieval |
Multiple flags combine. Example:
melies image "woman in a café" --lighting golden --mood romantic --art-style ghibli --sync
Commands
melies image <prompt>
Generate images from text.
melies image "sunset over mountains" --quality --sync
melies image "portrait" --actor mei --lighting golden --sync
melies image "cyberpunk city" --art-style neo-noir --mood gritty -n 4 --sync
melies image "product photo" -a 1:1 --best --sync --output photo.webp
Options:
-m, --modelModel override (use quality presets instead)-a, --aspectRatio1:1, 16:9, 9:16, 4:3, 3:4 (default: 1:1)-n, --numOutputs1-4 images (default: 1)-r, --resolutionOutput resolution (model-dependent)-i, --imageUrlReference image for img2img--refReference ID for custom characters (seemelies ref)--actorBuilt-in AI actor name (seemelies actors)--srefStyle reference code (seemelies styles)--fast/--quality/--bestQuality presets--camera,--shot,--expression,--lighting,--time,--weather,--color-grade,--mood,--art-style,--eraVisual style flags--seedReproducible generation--dry-runPreview prompt, model, and cost without generating-o, --outputSave file to path (use with --sync)-s, --syncWait for completion
melies video <prompt>
Generate videos from text or images.
melies video "drone shot over forest" --quality --sync
melies video "walking down the street" --actor mei --camera low --sync
melies video "zoom into product" -i https://example.com/product.jpg --sync
Options: Same as image plus:
-d, --durationVideo duration in seconds- Default aspect ratio is 16:9
- Sync timeout is 5 minutes
melies poster <title>
Generate movie posters with style presets.
melies poster "Neon Shadows" --style noir --sync
melies poster "The Last Garden" --style anime --genre drama --actor mei --sync
melies poster "Blood Moon" -l "A detective hunts a killer" -g horror --quality --sync
Options:
-l, --loglineShort synopsis-g, --genreGenre (horror, sci-fi, comedy, drama, etc.)--stylePoster preset: cinematic, anime, retro, film-noir, minimalist, horror, sci-fi, watercolor, comic-book, art-deco, grindhouse, bollywood, western, pixel-art, surrealist, documentary, cartoon, epic-fantasy, indie-film, neon-noir--actorAI actor name--fast/--quality/--bestQuality presets--seed,--dry-run,--output,--sync
melies thumbnail <prompt>
Generate YouTube thumbnails (forced 16:9, optimized for click-through).
melies thumbnail "shocked face reacting to AI news" --actor aria -n 4 --sync
melies thumbnail "cooking tutorial intro" --actor sofia --expression smile --quality --sync
Options: Same as image. Aspect ratio is always 16:9. Default expression is smile, default lighting is soft.
melies pipeline <prompt>
Generate an image then animate it into a video. One command, both steps.
melies pipeline "warrior on a cliff at sunset" --actor mei --art-style concept --best --sync
melies pipeline "serene lake at dawn" --mood ethereal --lighting golden --sync
Options:
--imImage model override--vmVideo model override-a, --aspectRatioRatio for both steps (default: 16:9)-d, --durationVideo duration- All style flags,
--actor, quality presets,--dry-run,--output - Sync defaults to true
Returns { imageUrl, videoUrl }.
melies upscale <imageUrl>
Upscale an image to higher resolution.
melies upscale "https://..." --model esrgan --scale 2 --sync
melies upscale "https://..." --model clarity --scale 4 --sync
Models: esrgan (3cr), clarity (8cr), seedvr2 (5cr). Scale 4x costs double.
melies remove-bg <imageUrl>
Remove background from an image. Returns transparent PNG.
melies remove-bg "https://..." --sync
Cost: 3 credits.
melies actors
Browse 148 built-in AI actors.
melies actors # List all actors
melies actors --type influencer # Filter by type
melies actors --gender female --age 20s # Filter by gender and age
melies actors search "asian" # Search by name/tags
melies actors --json # JSON output for parsing
melies styles
Browse 220+ visual style flags (art styles, lighting, camera angles, expressions, moods, and more).
melies styles # Overview of all categories
melies styles --type lighting # All values for a category
melies styles search "neon" # Search across all categories
melies styles --json # JSON output for parsing
melies credits
Check credit balance and usage.
melies credits # Human-readable table
melies credits --json # JSON output for parsing
melies credits -g day
melies models
List available AI models.
melies models # All models
melies models -t image # Image models only
melies models -t video # Video models only
melies models --json # JSON output for parsing
melies status <assetId>
Check generation job status.
melies status 6502a3b1f2e4a123456789ab
melies assets
List recent generated assets.
melies assets # Recent assets
melies assets -l 50 -t text_to_image # Filter by type
melies assets --json # JSON output for parsing
melies ref
Manage custom AI actor/object references.
melies ref list
melies ref create "John" -i https://example.com/john.jpg
melies ref delete <id>
Common Patterns
YouTube Thumbnail Pipeline with AI Actors
melies thumbnail "shocked face reacting to AI news" \
--actor aria --expression surprised -n 4 --sync
Consistent Character Across Media
# Same actor in different scenes
melies image "Mei in a coffee shop" --actor mei --lighting soft --sync
melies image "Mei on a mountain" --actor mei --mood epic --sync
melies video "Mei walks toward camera" --actor mei --camera low --sync
Image → Video Pipeline
melies pipeline "a warrior on a cliff at sunset" \
--actor mei --art-style concept --lighting golden \
--best --sync
Movie Poster Batch
melies poster "Neon Requiem" --style neon-noir --sync
melies poster "Whispers in the Dark" --style horror -l "A blind woman hears the dead" --sync
melies poster "Starbound" --style sci-fi -l "Humanity's last colony ship" --sync
Dry Run Before Expensive Generation
# Preview everything without spending credits
melies pipeline "epic battle scene" --actor james --best --dry-run
Budget-Aware Generation
CREDITS=$(melies credits --json | jq '.credits')
if [ "$CREDITS" -gt 100 ]; then
melies video "Epic aerial shot" --best --sync
else
melies image "Epic aerial shot" --fast --sync
fi
Credit Costs
| Command | Cost |
|---|---|
| Image (--fast) | 2 credits |
| Image (--quality) | 8 credits |
| Image (--best) | 6 credits |
| Video (--fast) | 30 credits |
| Video (--quality) | 100 credits |
| Video (--best) | 400 credits |
| Upscale (esrgan, 2x) | 3 credits |
| Upscale (clarity, 2x) | 8 credits |
| Remove background | 3 credits |
| Pipeline | image + video cost combined |
Gotchas
- Generation is async by default. Use
--syncto wait for results. - Video generation takes time. 30s to 3min depending on model.
--syncwaits up to 5 min. - Credits are deducted upfront. Refunded automatically on failure.
- Actor names are case-insensitive.
--actor Meiand--actor meiboth work. - Style flags combine.
--lighting golden --mood romantic --art-style ghibliall apply to one generation. - Pipeline defaults to sync. It needs to wait for the image before generating the video.
- --dry-run shows the full prompt. Useful for debugging what modifiers get applied.
- Poster --style is separate from --art-style. Poster styles are preset poster designs. Art styles are visual rendering options.
- Token expiry. If you get 401 errors, run
melies loginagain. - Rate limits. Max 1000 requests per 15 minutes.
Environment Variables
| Variable | Description |
|---|---|
MELIES_TOKEN | JWT auth token (overrides stored config) |
MELIES_API_URL | API base URL (default: https://melies.co/api) |
Quick Reference
melies image "prompt" --actor <name> --art-style <style> --quality --sync
melies video "prompt" --actor <name> --lighting <light> --best --sync
melies poster "title" --style <preset> -g <genre> --sync
melies thumbnail "prompt" --actor <name> -n 4 --sync
melies pipeline "prompt" --actor <name> --best --sync
melies upscale <url> --scale 2 --sync
melies remove-bg <url> --sync
melies actors search "query"
melies styles search "keyword"
melies credits
melies models
Links
What ships with it: 31 files
893.2 KB alongside SKILL.md, 24 of them executable
docs/
- banner.gif737.2 KB
src/
- api.tsruns4.3 KB
- commands/actors.tsruns3.3 KB
- commands/assets.tsruns3.0 KB
- commands/credits.tsruns3.0 KB
- commands/image.tsruns7.1 KB
- commands/login.tsruns3.6 KB
- commands/models.tsruns2.0 KB
- commands/pipeline.tsruns6.5 KB
- commands/poster.tsruns6.7 KB
- commands/ref.tsruns3.2 KB
- commands/remove-bg.tsruns2.3 KB
- commands/status.tsruns1.3 KB
- commands/styles.tsruns7.1 KB
- commands/thumbnail.tsruns5.0 KB
- commands/upscale.tsruns2.8 KB
- commands/video.tsruns5.8 KB
- config.tsruns1.6 KB
- data/actors.json63.0 KB
- data/poster-styles.json5.9 KB
- index.tsruns1.6 KB
- utils/actors.tsruns1.5 KB
- utils/download.tsruns939 B
- utils/model-resolver.tsruns1.7 KB
- utils/prompt-builder.tsruns327 B
- utils/style-options.tsruns3.2 KB
- .gitignore32 B
- package.json1.2 KB
- README.md7.5 KB
- tsconfig.json445 B
- tsup.config.tsruns215 B
Gives 0 of the 12 instructions most prompt engineering skills give in ~3.3k tokens
Counted across 564 of the 626 authors here whose files we hold, read 2026-08-07
- Ask at most three clarifying questionsin 21 of 564, across 14 files
- Establish baseline metrics and collect representative examplesin 12 of 564, across 2 files
- Identify failure modes and prioritize high-impact fixesin 12 of 564, across 2 files
- Apply prompt and workflow improvements with measurable goalsin 12 of 564, across 2 files
- Roll back quickly if quality or safety metrics regressin 12 of 564, across 2 files
- Validate changes with tests and roll out in controlled stagesin 12 of 564, across 2 files
- Generate quantitative baseline performance reportsin 12 of 564, across 2 files
- Create representative test scenariosin 12 of 564, across 2 files
- Treat prompts as codein 12 of 564, across 5 files
- Preserve the original intentin 12 of 564, across 10 files
- Test prompts on diverse inputsin 11 of 564, across 7 files
- Format the output as a markdown templatein 10 of 564, across 4 files
Said here and by no other author read
- install the melies package globally
- authenticate using melies login
- use flags over writing manual prompts
- use quality presets over specifying models
- append --json to browse commands
- append --sync to generation commands
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.