manga-style-video
Manga-style video generator - Specializes in generating animated videos in various manga styles, such as Japanese healing, traditional Chinese ink wash, and American cartoon. Features 8 built-in manga style templates, supports image-to-video generation, and creates high-quality manga animations with one click. Use this skill when users need to generate manga-style, anime-style, or hand-drawn style videos.
1How It Works & Mechanism
The execution body is a Python CLI (scripts/manga_style_video.py): users provide a natural language prompt, specify the art style with --style, and optionally provide a reference image via --image.
python3 scripts/manga_style_video.py "女孩在樱花树下读书"
Styles as templates: The MANGA_STYLES dictionary maps 8 style codes to Chinese/English style prompts, ultimately concatenating the user description with the style prompt into a complete prompt.
full_prompt = f"{prompt},{style_prompt}"
Image-to-video: Reference images are read as base64 and inserted as data URIs into the request content to maintain character consistency.
img_url = f"data:image/{mime_type};base64,{img_base64}"
Credentials are retrieved from the environment variable ARK_API_KEY (first loaded via load_env() from .env, then strictly validated by require_env_key).
return require_env_key("ARK_API_KEY")
Calls Volcengine Ark Seedance asynchronous tasks: POST /contents/generations/tasks to create a task, then polls GET tasks/{id} every 10 seconds until succeeded or failed.
BASE_URL = "https://ark.cn-beijing.volces.com/api/v3"
Upon successful generation, downloads the video using a curl subprocess (code comments state this is to avoid Python SSL issues).
["curl", "-L", "-o", output_path, video_url, "--max-time", "120"],
The script explicitly disables TLS certificate verification (CERT_NONE), which is the direct basis for classifying this skill as Red tier.
ssl_context.verify_mode = ssl.CERT_NONE
Outputs are saved by default to ~/Desktop/manga_{style}_{timestamp}.mp4, which can be overridden with --output; --no-wait creates the task without waiting.
manga_{风格}_{时间戳}.mp4
2Core Capabilities
3External Dependencies
| Kind | Dependency / Endpoint |
|---|---|
| cli | python3(运行自带脚本) |
| cli | curl(下载生成视频) |
| api | 火山方舟 Seedance 视频生成 |
| package | 仓库共享模块 common/env_utils(load_env / require_env_key) |
4Recommended Governance & Evidence
- SKILL.md / 脚本: Calls undisclosed or reverse-engineered private APIs / fakes client identity
- SKILL.md / 脚本参数: Contains bypasses for automated detection, disables host sandboxes, or skips SSL certificate verification
- scripts/: Executes local scripts or commands: python3 scripts/manga_style_video.py (the CLI entrypoint explicitly specified in SKILL.md, executed by the agent on the host)
- 网络端点: Declares external network access: POST https://ark.cn-beijing.volces.com/api/v3/contents/generations/tasks (create task)
- 本地工作目录: File I/O and artifact output: --output specifies path, or defaults to ~/Desktop/manga_{style}_{timestamp}.mp4 (persisted via curl -o download)
5Second-Pass Verification
- [ok] 是否关闭 TLS 校验 — manga_style_video.py 开头 ssl_context.check_hostname=False、ssl_context.verify_mode=ssl.CERT_NONE(注释「忽略SSL验证」),后续两处 urllib.request.urlopen 均带该 context;确为安全降级,是判红档的直接依据。
- [ok] 网络调用清单是否完整 — urllib.request 两处(POST 创建任务、GET 轮询状态)+ curl 一处(下载视频);BASE_URL 固定为 ark.cn-beijing.volces.com/api/v3,全文无其它域名。
- [ok] 凭证读取点 — require_env_key('ARK_API_KEY') 为唯一 key 读取点;SKILL.md 前置要求段声明三级加载优先级(系统环境变量 / 当前目录 .env / 用户主目录 .env),与 load_env() 行为相符。
- [discrepancy] SKILL.md 参数表与 argparse 是否一致 — SKILL.md 参数说明表把 --output 的默认值标为「-」(无),但脚本在未传 --output 时会默认写 ~/Desktop/manga_{style}_{timestamp}.mp4——文档对默认输出目录的标注与实际不符。
- [unlocatable] env_utils 依赖能否在 skill 内定位 — 脚本把 ../../../common 插入 sys.path 后 import env_utils;该模块不在本 skill 目录内(bundle §1 仅列出 SKILL.md 与 1 个 py),bundle 内无法确认其存在与实现,属仓库级共享模块。
- [ok] 8 种风格数量 — SKILL.md 风格表列 8 种;脚本 MANGA_STYLES 字典正 8 个键(japanese/ghibli/chinese/cartoon/sketch/watercolor/manga_comic/chibi),两者吻合。
- [ok] quote 逐条复核 — 本报告全部 evidence.quote 以子串方式回 bundle 原文比对,无编造。
6Verdict & Scenarios
f8ad9990fab42dc5…