moneyprinterturbo-video
它能做什么
这个技能使用 MoneyPrinterTurbo 工具,根据主题、标题或脚本生成完整视频。适合希望无需手动剪辑、就能制作配音、教学或社交媒体短视频的创作者和营销人员。
适用场景
- ✓当你希望根据主题或脚本制作一段完整的短视频的时候。
- ✓当你需要配音视频、教学短片或社交媒体视频的时候。
- ✓当你希望把素材视频、字幕和音乐合成为一个 MP4 文件的时候。
技能链接
https://github.com/harry0703/MoneyPrinterTurbo/blob/main/docs/skill/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我制作一段 30 秒的竖版视频,讲讲为什么人们应该多喝水,要有配音和字幕。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体在需要时安装 MoneyPrinterTurbo,为声音和素材使用合理的默认设置,生成视频,等待完成后返回 MP4 文件。它只会询问缺失的 API 密钥。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
MoneyPrinterTurbo Video Generation
The user only needs to provide a video topic or script. Complete installation, configuration reuse, generation, waiting, and final MP4 delivery automatically. Do not stop after giving instructions or commands.
Required Behavior
- Ask the user only for required API credentials that are missing, rejected, or unusable. Combine all required credentials into one request.
- Do not ask for confirmation before installing, generating, waiting, using defaults, or returning the result.
- Do not create or repeatedly update a detailed plan for a standard generation request. Send one short progress update and execute.
- Run the helper as one foreground command with a timeout of at least 20 minutes.
- Never poll with
sleep,echo,ps, repeatedls, or repeatedtail. If the terminal returns a resumable session ID, continue waiting on that same session. - Do not read the full log after success. Read only the short reported error or the relevant log tail after failure.
- Never print API keys, tokens, the full
config.toml, or credential-bearing configuration fragments.
Defaults
Unless the user requests otherwise, generate one Chinese 9:16 portrait video with Pexels footage, the default Chinese Edge TTS voice, subtitles, and background music. Install MoneyPrinterTurbo under the user's home directory.
Execution
1. Locate the helper
Resolve SKILL_DIR from this SKILL.md file. The helper is the adjacent mpt_agent.py. Set the terminal tool's working directory to SKILL_DIR and invoke the helper by its relative filename. Do not put the absolute helper path in the command, and do not run an extra ls or dir check.
This is required on Windows because some agent terminal validators remove backslashes from absolute paths embedded in commands. Using mpt_agent.py with workdir=SKILL_DIR avoids that failure and works on both macOS and Windows.
If the client loaded only the remote SKILL.md, download the helper from the official repository to a temporary directory, then use that temporary directory as the command working directory:
https://raw.githubusercontent.com/harry0703/MoneyPrinterTurbo/main/docs/skill/mpt_agent.py
2. Run the helper
Do not run a separate uv --version preflight. Run the helper directly. If the shell explicitly reports that uv is missing, install uv and retry the same helper command once.
macOS uv installation:
curl -LsSf https://astral.sh/uv/install.sh | sh
Windows PowerShell uv installation:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Use this foreground command with workdir=SKILL_DIR and a timeout of at least 20 minutes:
uv run --no-project --python 3.11 python mpt_agent.py --subject "<video topic>"
On Windows, do not try absolute backslash paths, absolute forward-slash paths, or copies in the workspace before this relative command. If a terminal tool reports referenced_script_path_missing, verify that its working directory is exactly SKILL_DIR and retry the relative command once. Do not cycle through path variants.
Do not use Docker, Conda, system pip, or a manually managed virtual environment.
Exit Handling
Exit code 0: deliver the result
Successful output has this form:
MPT_RESULT
VIDEO_FILE=<absolute path>/final-1.mp4
TASK_DIR=<absolute path>/storage/tasks/<task_id>
LOG_FILE=<absolute path>/run-<task_id>.log
RESULT_FILE=<absolute path>/latest-result.json
mpt_agent.py emits VIDEO_FILE only after confirming that the file exists and is non-empty. Do not run another ls, stat, or file validation command.
If the terminal reports exitCode=0 but truncates the output or returns a history-file reference without MPT_RESULT, do not infer failure and do not inspect old logs. Read this file once:
~/MoneyPrinterTurbo/.agent-logs/moneyprinterturbo-video/latest-result.json
Treat status=completed as success. Return only the absolute video path and a concise description, for example:
The video is ready.
Topic: ...
Video file: /absolute/path/to/final-1.mp4
Summary: Chinese portrait video with voice-over, subtitles, and background music.
Exit code 10: request credentials once
MPT_NEEDS_INPUT includes only the required fields, recommended LLM providers and signup links, custom OpenAI-compatible requirements, and material-provider signup links. Ask only for the listed
常见问题
它需要我提供什么?
一个视频主题或脚本。它只会询问缺失或无法使用的 API 凭证,并把它们合并成一次请求。
结果是什么格式?
完成的 MP4 视频,默认是中文竖版 9:16 视频,包含素材、配音、字幕和背景音乐。
它会要求我逐步确认吗?
不会。说明中提到,它在安装、生成或返回结果之前不会要求确认。
详情
作者的原始描述
Use this skill whenever the user wants to create a finished video from a topic, title, idea, prompt, or script with MoneyPrinterTurbo. This includes short-form, voice-over, educational, marketing, social-media, and stock-footage videos. Also use it when the user mentions MoneyPrinterTurbo, provides this Skill URL, asks an AI agent to install or configure MoneyPrinterTurbo, needs missing API keys identified, wants a failed generation repaired, or wants a generated MP4 located and delivered. Use this skill when the expected outcome is a final video file, not setup instructions.
热度
- GitHub 星标
- 137k
- 排名
- #732
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …