skills/film-creator/SKILL.md
AI-powered film creation assistant that transforms a single sentence or image into a complete 30-second film. Automatically generates screenplay with scenes, dialogue, and camera directions, then produces cinematic video. Use when user wants to create a movie, film, or video story from text or image input. Trigger phrases: '创作电影', '生成电影', 'film creator', 'make a movie', 'create a film'.
npx skillsauth add happycapy-ai/happycapy-skills film-creatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Transform a single idea or image into a complete 30-second cinematic film with professional screenplay and video generation.
This skill provides end-to-end film creation capabilities:
Required Environment Variable:
AI_GATEWAY_API_KEY: Your AI Gateway API key (automatically configured in HappyCapy)Required Tools:
node scripts/create_film.js "A lonely robot discovers the last flower on Earth"
node scripts/create_film.js --image "/path/to/image.jpg" "Transform this into a cinematic story"
node scripts/create_film.js \
"A time traveler's final journey" \
--model "openai/sora-2" \
--aspect-ratio "16:9" \
--output "my_film.mp4"
| Model | Best For | Duration per Scene |
|-------|----------|-------------------|
| google/veo-3.1-generate-preview | Balanced quality and reliability (Recommended) | 5-6 seconds |
| openai/sora-2 | Cinematic quality with complex scenes | 4-6 seconds |
| openai/sora-2-pro | Professional-grade cinematic output | 4-6 seconds |
| byteplus/seedance-1-0-pro | Flexible aspect ratios | 5-6 seconds |
# From a simple concept
node scripts/create_film.js "A cat astronaut explores a distant planet"
# With specific genre
node scripts/create_film.js "A noir detective story set in the rain"
# From an uploaded image
node scripts/create_film.js --image "concept_art.jpg" "Make this into an epic adventure"
# Use premium model for highest quality
node scripts/create_film.js \
"An emotional reunion at a train station" \
--model "openai/sora-2-pro" \
--output "reunion.mp4"
# Create vertical video for mobile
node scripts/create_film.js \
"A day in the life of a street performer" \
--aspect-ratio "9:16" \
--model "byteplus/seedance-1-0-pro"
# Generate only the screenplay
node scripts/generate_screenplay.js "A magical library where books come alive"
The system analyzes your input (text or image) to identify:
Generates a professional screenplay including:
Example screenplay output:
FADE IN:
EXT. ABANDONED CITY - DAY
WIDE ESTABLISHING SHOT: A desolate cityscape covered in rust and vines.
The sun casts long shadows through broken buildings.
A small ROBOT (weathered, curious) rolls through debris, its single eye
scanning the ground.
CLOSE-UP: The robot's sensors light up as it detects something.
LOW ANGLE: The robot stops at a crack in the concrete where a single
FLOWER blooms in brilliant red.
EXTREME CLOSE-UP: The robot's optical lens focuses on the flower,
reflecting its petals.
The robot extends a gentle mechanical hand, not to touch, but to protect.
FADE OUT.
Each scene is converted to an optimized video prompt:
All scenes are combined with:
Parameters:
prompt (required): Text description or story concept--image PATH (optional): Image file to use as creative inspiration--model MODEL (optional): Video generation model (default: google/veo-3.1-generate-preview)--aspect-ratio RATIO (optional): Video aspect ratio (default: 16:9)--output PATH (optional): Output file path (default: generated_film.mp4)--no-assembly (optional): Generate scenes only, don't combine them--transition TYPE (optional): Transition type: "cut" or "fade" (default: cut)Generate screenplay without video production:
node scripts/generate_screenplay.js "Your story concept" [--output screenplay.txt]
Generate a single scene from a prompt:
node scripts/generate_scene.js "Scene description with camera angles" [--model MODEL] [--duration SECONDS]
Combine pre-generated scene videos:
node scripts/assemble_film.js scene1.mp4 scene2.mp4 scene3.mp4 --output final.mp4
Good prompts include:
Examples:
✓ "A cyberpunk story about a hacker who discovers they're an AI"
✓ "A heartwarming tale of a child's robot friend, Studio Ghibli style"
✓ "A suspenseful noir detective story in the rain at night"
✓ "An epic space opera battle with massive starships"
✗ "Make a video" (too vague)
✗ "Something cool" (no direction)
When using an image as input:
Video generation can take time. The script automatically waits up to 5 minutes per scene. If it fails:
Ensure all scene files were generated successfully:
ls -lh scene_*.mp4
If some scenes are missing or corrupted, regenerate them individually:
node scripts/generate_scene.js "Scene description" --output scene_3.mp4
The screenplay generator aims for continuity, but AI models may interpret scenes differently. To improve:
Set the environment variable:
export AI_GATEWAY_API_KEY="your-api-key-here"
The generated screenplay follows industry-standard formatting:
Uses FFmpeg with:
Prompt: "A lonely robot discovers the last flower on Earth"
Generated Screenplay (abbreviated):
Scene 1: Wide shot of desolate cityscape
Scene 2: Robot character introduction
Scene 3: Discovery of flower (key moment)
Scene 4: Emotional close-up of robot's reaction
Scene 5: Robot protecting the flower
Scene 6: Hopeful closing image
Prompt: "A young wizard's first spell goes wonderfully wrong"
Key Scenes:
Prompt: "A 1940s detective receives a mysterious case in the rain"
Style Elements:
This skill works well with:
Potential additions:
Built on top of:
MIT License - Free to use and modify
tools
Universal LaTeX document skill: create, compile, and convert any document to professional PDF with PNG previews. Supports resumes, reports, cover letters, invoices, academic papers, theses/dissertations, academic CVs, presentations (Beamer), scientific posters, formal letters, exams/quizzes, books, cheat sheets, reference cards, exam formula sheets, fillable PDF forms (hyperref form fields), conditional content (etoolbox toggles), mail merge from CSV/JSON (Jinja2 templates), version diffing (latexdiff), charts (pgfplots + matplotlib), tables (booktabs + CSV import), images (TikZ), Mermaid diagrams, AI-generated images, watermarks, landscape pages, bibliography/citations (BibTeX/biblatex), multi-language/CJK (auto XeLaTeX), algorithms/pseudocode, colored boxes (tcolorbox), SI units (siunitx), Pandoc format conversion (Markdown/DOCX/HTML ↔ LaTeX), and PDF-to-LaTeX conversion of handwritten or printed documents (math, business, legal, general). Compile script supports pdflatex, xelatex, lualatex with auto-detection, latexmk backend, texfot log filtering, PDF/A output, and verbosity control (--verbose/--quiet). Empirically optimized scaling: single agent 1-10 pages, split 11-20, batch-7 pipeline 21+. Use when user asks to: (1) create a resume/CV/cover letter, (2) write a LaTeX document, (3) create PDF with tables/charts/images, (4) compile a .tex file, (5) make a report/invoice/presentation, (6) anything involving LaTeX or pdflatex, (7) convert/OCR a PDF to LaTeX, (8) convert handwritten notes, (9) create charts/graphs/diagrams, (10) create slides, (11) write a thesis or dissertation, (12) create an academic CV, (13) create a poster, (14) create an exam/quiz, (15) create a book, (16) convert between document formats (Markdown, DOCX, HTML to/from LaTeX), (17) generate Mermaid diagrams for LaTeX, (18) create a formal business letter, (19) create a cheat sheet or reference card, (20) create an exam formula sheet or crib sheet, (21) condense lecture notes/PDFs into a cheat sheet, (22) create a fillable PDF form with text fields/checkboxes/dropdowns, (23) create a document with conditional content/toggles (show/hide sections), (24) generate batch/mail-merge documents from CSV/JSON data, (25) create a version diff PDF (latexdiff) highlighting changes between documents, (26) create a homework or assignment submission with problems and solutions, (27) create a lab report with data tables, graphs, and error analysis, (28) encrypt or password-protect a PDF, (29) merge multiple PDFs into one, (30) optimize/compress a PDF for web or email, (31) lint or check a LaTeX document for common issues, (32) count words in a LaTeX document, (33) analyze document statistics (figures, tables, citations), (34) fetch BibTeX from a DOI, (35) convert a Graphviz .dot file to PDF/PNG, (36) convert a PlantUML .puml file to PDF/PNG, (37) create a one-pager/fact sheet/executive summary, (38) create a datasheet or product specification sheet, (39) extract pages from a PDF (page ranges, odd/even), (40) check LaTeX package availability before compiling, (41) analyze citations and cross-reference with .bib files, (42) debug LaTeX compilation errors, (43) make a document accessible (PDF/A, tagged PDF), (44) create lecture notes or course handouts, (45) fill an existing PDF form (fillable fields or non-fillable with annotations), (46) extract text or tables from a PDF (pdfplumber, pypdf), (47) OCR a scanned PDF to text (pytesseract), (48) create a PDF programmatically with reportlab (Canvas, Platypus), (49) rotate or crop PDF pages (pypdf), (50) add a watermark to an existing PDF, (51) extract metadata from a PDF (title, author, subject).
testing
Improves the quality of images, especially screenshots, by enhancing resolution, sharpness, and clarity. Perfect for preparing images for presentations, documentation, or social media posts.
tools
HappyCapy-specific skill for publishing content to 13+ social media platforms (Instagram, Twitter, LinkedIn, Threads, Facebook, TikTok, YouTube, Pinterest, Reddit, Telegram, Discord, etc.) simultaneously with platform-optimized styles, optional AI-generated media (video/image), and smart error handling. Uses Late MCP integration available in HappyCapy environment. Use when you need to cross-post to social media, create multi-platform marketing content, share announcements across platforms, publish with platform-specific adaptations, generate AI media for posts, or manage social media publishing workflows. Supports interactive content creation with user-guided platform selection, media generation choices, preview before publish, and automatic retry with character limit adjustments.
development
Automate HappyCapy skill creation by finding and adapting existing skills from anthropics/skills repository. Handles environment constraints (Python 3.11, Node.js 24, no Docker). Use when user wants to create or adapt skills for specific tasks.