moneyprinterturbo-video
根据主题或脚本,用MoneyPrinterTurbo制作带旁白、字幕和背景音乐的视频,涵盖安装、配置、生成失败后的修复,以及成品MP4的交付。
原文查看原文说明
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.
适用场景
- 根据主题制作社交媒体短视频
- 将解说脚本制作成旁白视频
- 使用素材视频制作营销视频
- 修复生成失败并获取成品MP4
中文介绍
功能
根据主题、标题、创意或脚本,使用 MoneyPrinterTurbo 制作带旁白、字幕和背景音乐的成品视频。涵盖安装、复用现有配置、生成视频、等待完成和交付 MP4。会检查缺少的必要 API 密钥,修复可恢复的生成错误,并重试一次。
适用场景
适合制作社交媒体短视频、带旁白的解说视频、营销视频,以及使用素材视频制作的内容。适用于希望直接获得成品视频文件的人,也能查找已经生成的 MP4 所在位置。
使用示例
- “根据这个主题制作一条社交媒体短视频。”
- “把这份脚本制作成带旁白和字幕的视频。”
- “检查生成失败的原因,修复问题并把 MP4 交给我。”
注意事项
支持 macOS 和 Windows。代理需要具备终端、网络、文件操作和长时间运行命令的能力,并使用 uv。必要的 API 密钥取决于所用服务。默认生成中文、9:16 竖屏视频。部分视频生成服务收费,产生费用前需要明确确认。
本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。
客观评估
AI 仅根据 SKILL.md 的内容,从 4 个方面进行了评估。星标数和热度不计入评估。
- 指令清晰度能否看出何时使用、做什么
- A良好明确说明从主题或脚本制作成品视频,直到交付 MP4。
- 步骤具体性步骤、输入输出和示例是否具体
- A良好具体列出 uv 命令、各退出码的处理方式和 MP4 结果格式。
- 安全性发送数据、删除文件、执行命令等是否有说明
- A良好规定不得显示配置中的凭据,并要求付费生成前明确确认。
- 安装难易度所需工具和 API 密钥是否少且有说明
- A良好列出支持的系统、执行能力、uv 安装命令及缺失 API 密钥的确认步骤。
总分按每项 A=25 分、B=15 分、C=5 分相加。 由 AI(OpenAI Codex)于 2026年10月20日 评估。仅供参考,安装前请同时查看原文。
如果您认为评估有误,请申请复核
包含的文件(2)
- SKILL.md8.1 KB
- mpt_agent.py34.4 KB
SKILL.md(原文)
安装前可以查看交给 AI 代理的指令内容。
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 values and do not request credentials already found in config.toml.
After the user responds, rerun the same foreground command with only the required environment variables:
MPT_LLM_PROVIDER
MPT_LLM_API_KEY
MPT_LLM_BASE_URL
MPT_LLM_MODEL_NAME
MPT_PEXELS_API_KEY
MPT_VOLCENGINE_ARK_API_KEY
MPT_OFOX_API_KEY
MPT_METASO_MINIMAX_API_KEY
MPT_MUAPI_API_KEY
When SEEDANCE_CHARGE_CONFIRMATION_REQUIRED is present, explain that every
generated Seedance clip creates a paid Ark task. Only after the user explicitly
confirms, rerun with --confirm-seedance-charge; never add this flag silently.
When WAVESPEED_CHARGE_CONFIRMATION_REQUIRED is present, explain that every
generated WaveSpeed clip is billed per request by WaveSpeed. Only after the user
explicitly confirms, rerun with --confirm-wavespeed-charge; never add this
flag silently.
When OFOX_CHARGE_CONFIRMATION_REQUIRED is present, explain that every
generated OFox clip creates a paid task. Only after the user explicitly
confirms, rerun with --confirm-ofox-charge; never add this flag silently.
When METASO_MINIMAX_CHARGE_CONFIRMATION_REQUIRED is present, explain that
every generated MiniMax H3 clip creates a paid Metaso task. Only after the user
explicitly confirms, rerun with --confirm-metaso-minimax-charge; never add
this flag silently.
When MUAPI_CHARGE_CONFIRMATION_REQUIRED is present, explain that every
generated MuAPI clip creates a paid task. Only after the user explicitly
confirms, rerun with --confirm-muapi-charge; never add this flag silently.
Exit code 1: repair or report
Use MPT_ERROR and LOG_FILE to repair a recoverable problem and retry once. Ask the user only if the repair requires a new API key. If the retry fails, report the failed stage, a short error, and the log path.
A terminal-tool path validation error is not a video-generation failure because the helper did not start. Correct the working directory and retry the relative command once. Never ask the user to copy mpt_agent.py, run commands manually, or confirm whether the agent should continue.
Configuration and Background Fallback
The helper may read the complete local config.toml to reuse existing settings, but it must never print its contents. It reuses a working LLM provider automatically and validates configured Pexels keys through the authenticated My Collections endpoint before generation.
Use background mode only if the agent platform cannot wait for a foreground process. Wait for the platform's process-completion notification without polling, then read latest-result.json once.
Scope
- Support macOS and Windows only.
- Use uv and the MoneyPrinterTurbo CLI only.
- Do not start Docker, WebUI, or API services.
- Do not run multiple video jobs concurrently.
- Pass additional video requirements after
--. Runcli.py --helponce only when an unfamiliar option must be verified.
评价
还没有评价。欢迎分享你的使用感受。
评论
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。