text-to-video

text-to-video is a skill for Claude Code, Codex from meitu/meitu-skills. It costs 63 tokens per session (2,345 once invoked), scanned A, original, MIT.

A skill for creating short videos from written descriptions, including creative clips, advertisements, and concept demonstrations. It supports several video shapes and routes requests between two text-to-video modes.

In plain words
What is it for?
Use it to generate 3–15 second videos in formats such as widescreen, square, portrait, or ultrawide, with either higher quality or more dynamic motion.
Why use it?
It turns a written scene or idea into a video without requiring an image or existing video as input.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to generate 3–15 second videos in formats such as widescreen, square, portrait, or ultrawide, with either higher quality or more dynamic motion.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/meitu/meitu-skills/text-to-video
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add meitu/meitu-skills --skill text-to-video
Clone the repo
git clone --depth 1 https://github.com/meitu/meitu-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for text-to-video

README.md
[![agentmods](https://agentmods.dev/badge/skills/meitu/meitu-skills/text-to-video/github.svg)](https://agentmods.dev/skills/meitu/meitu-skills/text-to-video)
Your own site
<a href="https://agentmods.dev/skills/meitu/meitu-skills/text-to-video"><img src="https://agentmods.dev/badge/skills/meitu/meitu-skills/text-to-video/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for text-to-video

Your own site · 80×15
<a href="https://agentmods.dev/skills/meitu/meitu-skills/text-to-video"><img src="https://agentmods.dev/badge/skills/meitu/meitu-skills/text-to-video.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,345 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 5 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 5
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 9
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 11
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 17
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Rogue Agent · line 21
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.02345
Opus 5 $0.00032 $0.01172
Sonnet 5 $0.00013 $0.00469
Haiku 4.5 $0.00006 $0.00234

Measured 12d ago against content hash 614af46c2570, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

text-to-video scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/text-to-video/SKILL.md · 190 lines

How it starts

The opening of the file, as written. The whole thing — 190 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Text To Video(文生视频)

Overview

纯文字驱动生成动态视频,涵盖 2 类场景:

  1. 高画质默认模式:创意视频、广告素材、文案可视化、概念演示;4–15s,比例 adaptive/16:9/4:3/1:1/3:4/9:16/21:9,480p/720p,音频默认 on。
  2. 高动态快速模式:追求动态效果 / 画面生动、或需 3s 短时长;3–15s,仅 16:9/1:1/9:16,720p,音频默认 off,动态效果更强。

不处理:图片驱动生成视频、音频驱动生成、视频编辑、视频加特效/改风格。

API Mapping

场景 后端 API
高画质默认模式 video_toffee_t2v_v20
高动态快速模式 video_bonbon_txt2vid_v30

model 映射:

  • auto(默认)/ 不传 → 按路由规则决策
  • toffeevideo_toffee_t2v_v20
  • bonbonvideo_bonbon_txt2vid_v30
  • 互相降级:一方失败切另一方重试

Dependencies

  • meitu-cli: >=2.0.6
  • 凭证:CONFIG AKSK → meitu tools update;EXEC AKSK → 跑命令(见根 CONFIG.md
  • 环境变量MEITU_OPENAPI_TOOL_TASK_MODE=command

Core Workflow

Preflight → Execute → Deliver

Preflight

  1. meitu --version ≥ 2.0.6
  2. meitu auth verify --json
  3. 确认 registry 含 text-to-video
  4. 解析 output_dir:openclaw.yaml./output/;else → ~/.openclaw/workspace/visual/output/text-to-video/
  5. 时长钳位:用户要 <3s → 钳位 3s 并告知

Execute

触发信号 / 路由规则

决策顺序:

  1. 时长 <3s → 钳位 3s
  2. 动态优先 / 3s 短时长 命中 → 候选 video_bonbon_txt2vid_v30
  3. 若比例为 4:3/3:4/21:9/adaptive → 比例优先,切回 video_toffee_t2v_v20
  4. 无特殊要求 → video_toffee_t2v_v20(默认)
场景 判定关键词 路由
动态优先 动态、生动 video_bonbon_txt2vid_v30
3s 短时长 3 秒 video_bonbon_txt2vid_v30
默认 / 无特殊要求 通用 video_toffee_t2v_v20
特殊比例(4:3/3:4/21:9/adaptive) -- 强制 video_toffee_t2v_v20(比例优先)
要 480p -- video_toffee_t2v_v20(bonbon 不支持 480p)

参数定义

通用参数:

参数 类型 必填 范围 默认值 说明
prompt STRING -- -- 视频内容描述。缺失 → 追问
video_duration NUMBER 3–15 按 API 不同 toffee: 4–15,默认 10;bonbon: 3–15,默认 5
sound STRING / BOOL on/off 或 true/false 按 API 不同 toffee: BOOL generate_audio,默认 true;bonbon: STRING on/off,默认 off
aspect_ratio STRING adaptive / 16:9 / 1:1 / 9:16 / 4:3 / 3:4 / 21:9 按 API 不同 toffee 全比例支持,默认 adaptive;bonbon 仅 16:9/1:1/9:16,默认 16:9
resolution STRING 480p / 720p 720p 仅 toffee 支持;bonbon 固定 720p

Read the full file on GitHub · 190 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 190 lines · 63 tokens per session scan A 614af46c2570

Subscribe to this mod's changes

text-to-video is a skill published in the GitHub repository meitu/meitu-skills (32 stars, last pushed 15d ago), licensed MIT. It adds 63 tokens to every session and 2,345 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens