Film Creator 标志

Film Creator

社区
happycapy-ai
film-creator

由 AI 驱动的电影创作助手,可将一句话或一张图片转化为完整的 30 秒电影。它会自动生成包含场景、对白和镜头指示的剧本,然后制作电影感视频。用户想根据文本或图片创作电影、影片或视频故事时使用。触发短语:“创作电影”“生成电影”“film creator”“make a movie”“create a film”。

Add to TypingMind

概览

发布者happycapy-ai
代码仓库Happycapy-skills
技能名称film-creator
星标数
138
复刻数
30
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 happycapy-ai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Film Creator AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/happycapy-ai/Happycapy-skills/tree/main/skills/film-creator
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/happycapy-ai/Happycapy-skills.git /tmp/Happycapy-skills
mkdir -p .claude/skills
cp -r /tmp/Happycapy-skills/skills/film-creator .claude/skills/film-creator
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Film Creator,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Film Creator。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Film Creator 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Film Creator - AI Film Production Assistant

Transform a single idea or image into a complete 30-second cinematic film with professional screenplay and video generation.

Overview

This skill provides end-to-end film creation capabilities:

  1. Creative Analysis: Analyzes text prompt or image to extract core creative elements
  2. Screenplay Generation: Writes professional screenplay with scenes, dialogue, shot descriptions, and camera movements
  3. Scene Planning: Breaks screenplay into 5-6 scenes (5 seconds each) optimized for video generation
  4. Video Production: Generates high-quality video for each scene using AI Gateway
  5. Film Assembly: Combines scenes into a cohesive 30-second film with transitions

Prerequisites

Required Environment Variable:

  • AI_GATEWAY_API_KEY: Your AI Gateway API key (automatically configured in HappyCapy)

Required Tools:

  • Node.js 24+ (pre-installed in HappyCapy)
  • FFmpeg (pre-installed in HappyCapy)

Quick Start

Create a Film from Text

bash
node scripts/create_film.js "A lonely robot discovers the last flower on Earth"

Create a Film from Image

bash
node scripts/create_film.js --image "/path/to/image.jpg" "Transform this into a cinematic story"

Create a Film with Custom Settings

bash
node scripts/create_film.js \
  "A time traveler's final journey" \
  --model "openai/sora-2" \
  --aspect-ratio "16:9" \
  --output "my_film.mp4"

Features

Screenplay Generation

  • Story Structure: Three-act structure adapted for 30-second format
  • Scene Breakdown: 5-6 distinct scenes with clear transitions
  • Visual Descriptions: Detailed shot compositions and camera movements
  • Cinematic Language: Professional terminology (establishing shot, close-up, tracking shot, etc.)
  • Emotional Arc: Clear beginning, middle, and end with emotional progression

Video Generation

  • Multi-Scene Production: Generates 5-6 individual scenes
  • Cinematic Quality: Uses professional video generation models
  • Smart Prompting: Converts screenplay into optimized video generation prompts
  • Continuity: Maintains visual consistency across scenes

Film Assembly

  • Scene Stitching: Seamlessly combines individual scenes
  • Transitions: Smooth cuts or fade transitions between scenes
  • Duration Control: Precisely timed to 30 seconds total
  • Quality Preservation: No re-encoding loss

Supported Models

Recommended for Film Creation

ModelBest ForDuration per Scene
google/veo-3.1-generate-previewBalanced quality and reliability (Recommended)5-6 seconds
openai/sora-2Cinematic quality with complex scenes4-6 seconds
openai/sora-2-proProfessional-grade cinematic output4-6 seconds
byteplus/seedance-1-0-proFlexible aspect ratios5-6 seconds

Usage Examples

Basic Film Creation

bash
# 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"

Advanced Options

bash
# 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"

Workflow

Step 1: Creative Analysis

The system analyzes your input (text or image) to identify:

  • Core concept and theme
  • Emotional tone
  • Visual style
  • Key story elements

Step 2: Screenplay Writing

Generates a professional screenplay including:

  • Scene Headings: INT./EXT. location and time
  • Action Lines: Visual descriptions of what happens
  • Camera Directions: Shot types and movements
  • Timing: Duration for each scene

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.

Step 3: Scene-by-Scene Generation

Each scene is converted to an optimized video prompt:

  • Camera angles and movements specified
  • Visual details enhanced
  • Lighting and mood emphasized
  • Continuity elements maintained

Step 4: Video Assembly

All scenes are combined with:

  • Frame-accurate stitching
  • Optional transitions (cut/fade)
  • Audio-ready format (MP4)
  • Optimized compression

Command Reference

create_film.js (Main Script)

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.js

Generate screenplay without video production:

bash
node scripts/generate_screenplay.js "Your story concept" [--output screenplay.txt]

generate_scene.js

Generate a single scene from a prompt:

bash
node scripts/generate_scene.js "Scene description with camera angles" [--model MODEL] [--duration SECONDS]

assemble_film.js

Combine pre-generated scene videos:

bash
node scripts/assemble_film.js scene1.mp4 scene2.mp4 scene3.mp4 --output final.mp4

Best Practices

Writing Effective Prompts

Good prompts include:

  • Clear genre or style ("noir film", "whimsical animation style")
  • Emotional core ("a story about hope", "bittersweet reunion")
  • Visual anchors ("neon-lit city", "misty forest")
  • Character elements ("lonely protagonist", "mischievous creature")

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)

Model Selection

  • Use Google Veo 3.1 for most projects - excellent balance of quality and reliability
  • Use OpenAI Sora 2 Pro for highest cinematic quality and complex physics
  • Use BytePlus Seedance when you need non-standard aspect ratios (1:1, 9:16, 21:9)

Image Input Tips

When using an image as input:

  • Provide a complementary text prompt to guide the narrative
  • The system will analyze visual elements (colors, composition, mood)
  • Works best with conceptual or atmospheric images
  • Character-focused images can become protagonists

Duration Optimization

  • Each scene is 5 seconds for optimal storytelling pace
  • 6 scenes = 30 seconds total
  • This pacing allows for:
    • Establishing shot
    • Rising action
    • Climax/key moment
    • Resolution
    • Emotional beat
    • Closing image

Troubleshooting

"Generation timeout" or "Scene generation failed"

Video generation can take time. The script automatically waits up to 5 minutes per scene. If it fails:

  • Try a simpler prompt for that scene
  • Use a faster model (google/veo-3.1-fast-generate-preview)
  • Check your internet connection

"FFmpeg error" during assembly

Ensure all scene files were generated successfully:

bash
ls -lh scene_*.mp4

If some scenes are missing or corrupted, regenerate them individually:

bash
node scripts/generate_scene.js "Scene description" --output scene_3.mp4

Poor visual continuity between scenes

The screenplay generator aims for continuity, but AI models may interpret scenes differently. To improve:

  • Add more specific visual details in your prompt
  • Specify a consistent color palette or lighting
  • Use model-specific style references

"API key not found"

Set the environment variable:

bash
export AI_GATEWAY_API_KEY="your-api-key-here"

Technical Details

Screenplay Format

The generated screenplay follows industry-standard formatting:

  • Scene headings in caps
  • Action lines in present tense
  • Camera directions in caps or parentheses
  • Timing notes for pacing

Video Specifications

  • Format: MP4 (H.264)
  • Resolution: Model-dependent (typically 1280x720 or 1920x1080)
  • Frame Rate: 24-30 fps
  • Duration: Exactly 30 seconds
  • Aspect Ratios: 16:9, 9:16, or custom (model-dependent)

Assembly Process

Uses FFmpeg with:

  • Lossless concatenation when possible
  • Minimal re-encoding
  • Frame-accurate cutting
  • Preserved metadata

Examples Gallery

Example 1: Sci-Fi Short

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

Example 2: Fantasy Adventure

Prompt: "A young wizard's first spell goes wonderfully wrong"

Key Scenes:

  • Establishing: Magic academy interior
  • Character: Nervous student with wand
  • Action: Spell casting with dramatic effects
  • Consequence: Humorous magical mishap
  • Reaction: Wizard's surprise and laughter
  • Resolution: Acceptance and learning moment

Example 3: Noir Detective

Prompt: "A 1940s detective receives a mysterious case in the rain"

Style Elements:

  • High contrast lighting (noir aesthetic)
  • Rain effects and reflections
  • Dramatic shadows
  • Close-ups on key objects
  • Moody, atmospheric tone

Integration with Other Skills

This skill works well with:

  • generate-image: Create concept art before film production
  • image-enhancer: Improve reference images
  • video-frames: Extract keyframes from generated films for editing

Limitations

  • Maximum duration: 30 seconds (by design)
  • Scene count: 5-6 scenes (optimal for pacing)
  • No dialogue audio (visual storytelling only)
  • No custom music (silent film format)
  • Limited character consistency across scenes (model limitation)

Future Enhancements

Potential additions:

  • Background music generation and integration
  • Text-to-speech for dialogue
  • Extended duration options (60s, 90s)
  • Multi-character tracking
  • Style transfer between reference and generated scenes
  • Storyboard visualization before generation

Credits

Built on top of:

  • AI Gateway API (video generation)
  • FFmpeg (video assembly)
  • Node.js (orchestration)

License

MIT License - Free to use and modify

常见问题

Film Creator AI 技能有什么作用?

由 AI 驱动的电影创作助手,可将一句话或一张图片转化为完整的 30 秒电影。它会自动生成包含场景、对白和镜头指示的剧本,然后制作电影感视频。用户想根据文本或图片创作电影、影片或视频故事时使用。触发短语:“创作电影”“生成电影”“film creator”“make a movie”“create a film”。

为什么在 TypingMind 中使用 Film Creator?

因为您只需安装一次,就能搭配任何模型使用。Film Creator 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Film Creator?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/happycapy-ai/Happycapy-skills/tree/main/skills/film-creator。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Film Creator?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Film Creator 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Film Creator 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Film Creator AI 技能免费吗?

是的。happycapy-ai 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇