platform-spec-export
TikTok Shop / 抖音 / 视频号 / 小红书 / 淘宝主图视频 / Amazon 规格导出:把一条母版视频一键转成各平台推荐画幅与编码(9:16、3:4、1:1、16:9,模糊填充或智能裁切),输出规格报告,并可叠加 UI 安全区预览。Use when the user asks for export…
Skill by xianyu110
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/xianyu110-platform-spec-export
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/platform-spec-export
What's inside
- Skill name
platform-spec-export- Description
- TikTok Shop / 抖音 / 视频号 / 小红书 / 淘宝主图视频 / Amazon 规格导出:把一条母版视频一键转成各平台推荐画幅与编码(9:16、3:4、1:1、16:9,模糊填充或智能裁切),输出规格报告,并可叠加 UI 安全区预览。Use when the user asks for export settings, 导出规格, 尺寸, 分辨率, 画幅, 上传要求, re-encode for TikTok Shop / Douyin / WeChat Channels / Xiaohongshu / Taobao / Amazon, or safe zones.
- License
- MIT
- Instructions
- 65 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (2)
- SKILL.md
- export_platform.py · scripts/
SKILL.md (first lines)
# 平台规格导出 · Platform Spec Export
一条母版(建议 1080×1920、30fps)→ 多平台文件 + `export_report.json`。脚本:`scripts/export_platform.py`。
> Part of [ecommerce-video-skills](https://github.com/xianyu110/ecommerce-video-skills)
>
> ⚠️ 平台规则经常变。下表是**稳妥的推荐编码**,不是官方上限;时长、文件大小、是否允许外链/价格信息等,上传前请在各平台官方上传页/商家后台确认。
## 预设 Presets
| `--platform` | 输出 | 用途 / 需确认 |
|---|---|---|
| `douyin` | 1080×1920 · 30fps | 抖音信息流/商品视频;上限以创作者中心为准 |
| `tiktok` | 1080×1920 · 30fps | TikTok 信息流 |
| `tiktok-shop` | 1080×1920 · 30fps | TikTok Shop 商品/联盟视频;以 Seller Center 为准 |
| `channels` | 1080×1920 · 30fps | 视频号;信息流预览可能裁切,主体和标题放中部 |
| `xiaohongshu` | 1080×1440(3:4) | 小红书信息流最占屏 |
| `taobao-main` | 1080×1080(1:1) | 淘宝/天猫主图视频(3:4 用 `taobao-3x4`);以千牛后台为准 |
| `amazon` | 1920×1080(16:9) | Amazon 商品视频;以 Seller Central 为准 |
| `square` | 1080×1080 | Shopee / Lazada / 通用信息流 |
编码统一:H.264 High、yuv420p、CRF 20 + 码率上限、AAC 160k 48 kHz、`+faststart`(边下边播)。
## 步骤 Steps
```bash
python scripts/export_platform.py out/master.mp4 --platform douyin tiktok-shop channels xiaohongshu taobao-main amazon
python scripts/export_platform.py out/master.mp4 --platform all --outdir out/export
python scripts/export_platform.py out/master.mp4 --platform xiaohongshu --mode crop --focus-y 0.4 # 裁切而非模糊填充
python scripts/export_platform.py out/master.mp4 --safe-preview out/safe.png # 安全区叠加图
```
1. 母版先按 9:16 做好(字幕已在安全区内)。
2. 选择转换方式:`blur`(默认,保留完整画面,上下/左右模糊填充)或 `crop`(填满画面,会裁掉边缘 → 检查字幕和商品)。
3. 读 `export_report.json`:分辨率、时长、大小、注意事项。
4. 9:16 → 16:9 时字幕会变小,重要平台建议用 `assemble.py --size 1920x1080` **重新渲染**而不是转码。
## 安全区 Safe zones
`--safe-preview` 在一帧上叠加三块经验区域(顶部状态栏 ~9%、右侧按钮栏 ~15% 宽、底部文案/商品卡 ~22%)。这些是经验值,**最终以真机预览为准**。
## 提示词模板 Prompt template
```text
我有一条 {时长} 秒、{分辨率} 的带货母版视频,要发到 {平台列表}。
请给出:每个平台用哪个 --platform 预设、用 blur 还是 crop、需要去官方后台确认的事项(不要编造具体上限数字)。
```
## 检查清单 Checklist
- [ ] 每个导出文件都能本地播放,音画同步
- [ ] crop 模式下字幕/商品没被裁
- [ ] 视频号/小红书封面另做 3:4(见 `cover-title-ab`)
- [ ] 已在官方后台确认时长与大小限制
## 常见问题与修复 Failure fixes
| 问题 | 修复 |
|---|---|
| 上传后糊 | 平台二压;保证源 1080p、码率不要过低,避免大面积细噪点/渐变 |
| 上传失败:文件太大 | 降低 `maxrate`(如 `8M`)或缩短时长 |
| 横版字幕太小 | 用 `assemble.py --size 1920x1080` 重新渲染 |
| 黑边 | 用默认 `blur` 模式或 `crop` |From xianyu110/ecommerce-video-skills, MIT.
More from xianyu110/ecommerce-video-skills
- 0.679score
cover-title-ab
xianyu110
封面与标题 A/B:为带货短视频生成多套封面(自动挑选清晰帧或用干净素材图 + 不同标题与版式)和多组标题/文案,导出 3:4 / 9:16 封面文件和对比图,并给出 A/B 测试方法与记录表。Use when the user wants a video cover, 封面, 首图, thumbnail, 标题…
SkillAFreshness: A★ 97Claude Code +9 - 0.679score
ffmpeg-auto-assemble
xianyu110
ffmpeg 自动拼接成片:一条命令把 storyboard.json(商品图/视频片段 + 口播稿)渲染成带配音、字幕花字、转场、BGM 自动闪避、响度标准化的 9:16 MP4,纯本地运行。Use when the user wants to assemble/edit/render a product…
SkillAFreshness: A★ 97Claude Code +9 - 0.679score
image-to-video-shots
xianyu110
主图转视频:把一张或几张商品主图/白底图/场景图,写成可直接喂给图生视频模型的镜头提示词(运镜、主体动作、光线、时长、负面约束),并保证商品不变形。Use when the user has product images and wants a product video, 主图视频, 图生视频…
SkillAFreshness: A★ 97Claude Code +9 - 0.679score
live-stream-clips
xianyu110
直播切片:从电商直播录屏中找出高光片段(按时间戳 / 按字幕关键词 / 按停顿自动提议),批量导出 9:16 竖屏切片,自动模糊填充横屏画面、烧录标题与字幕、响度标准化,并给切片写标题与开头钩子。Use when the user has a livestream recording and wants 直播切片…
SkillAFreshness: A★ 97Claude Code +9 - 0.679score
subtitles-and-text-effects
xianyu110
字幕与花字:为带货短视频生成 ASS/SRT 字幕与花字(大标题弹出、关键词高亮、贴纸标签、行动号召按钮),自动避开平台底部/右侧 UI 安全区,并用 ffmpeg/libass 烧录。Use when the user wants subtitles, captions, 字幕, 花字, 大字报, keyword…
SkillAFreshness: A★ 97Claude Code +9 - 0.679score
unboxing-comparison-review
xianyu110
开箱 / 对比评测模板:生成电商开箱视频与 A/B 对比评测的结构、口播稿、拍摄清单与分镜(含公平对比规则、测试设计、缺点与适合人群),可直接转成 storyboard.json 渲染。Use when the user wants an unboxing video, 开箱, 测评, 评测, 横评, 对比…
SkillAFreshness: A★ 97Claude Code +9 - 0.679score
ai-voiceover-edge-tts
xianyu110
AI 口播配音:用免费的 edge-tts(微软 Edge 在线语音)为带货短视频逐句生成配音,自动去首尾静音、统计每句时长、缓存复用,可选音色/语速/音调,并给出口播稿改写规则。Use when the user needs a voice-over, 配音, 口播, 旁白, TTS…
SkillAFreshness: A★ 97Claude Code +9 - 0.675score
multilingual-dubbing
xianyu110
多语言本地化配音:把中文带货视频本地化为英语、日语、韩语、东南亚语(印尼/泰/越/马来/菲律宾)、西语等版本——本地化改写口播(不是直译)、选对 edge-tts 音色、生成对应字幕与花字,并用同一份 storyboard 一键渲染多语言成片。Use when the user wants dubbing…
SkillAFreshness: A★ 97Claude Code +9 - 0.674score
hook-3s-script
xianyu110
3 秒钩子脚本:为电商短视频写前 3 秒开场(台词 + 画面 + 花字),按痛点/反差/结果先行/提问/数字/场景代入等钩子类型一次给出多版,并做合规自检。Use when the user asks for a hook, 开头, 黄金 3 秒, 前三秒, opening line…
SkillAFreshness: A★ 97Claude Code +9 - 0.674score
selling-point-storyboard
xianyu110
卖点分镜表:把商品卖点拆成 15–60 秒带货短视频的逐镜分镜表(时间码、画面、台词、字幕、花字、素材来源、运镜),并直接输出可渲染的 storyboard.json。Use when the user wants a storyboard, 分镜, 分镜脚本, shot list, 带货视频脚本, video…
SkillAFreshness: A★ 97Claude Code +9 - 0.674score
viral-remake
xianyu110
爆款拆解复刻:把抖音/TikTok 爆款带货视频(链接、转写或口述结构)拆成 8 维结构与 5-beat 节拍,再映射到你的商品,输出拆解表 + 3 个复刻角度 + 可渲染 storyboard.json。Use when the user says 爆款, 拆解, 复刻, 对标, 仿拍, viral…
SkillAFreshness: A★ 97Claude Code +9 - 0.674score
multi-model-shot-prompts
xianyu110
多模型镜头提示词适配:把一份分镜表改写成适合不同视频生成模型的提示词(中/英、首帧/首尾帧/纯文生视频、运镜词表、负面约束),模型中立、不编造价格或参数。Use when the user wants the same shot list adapted for Seedance, 可灵 Kling, Veo…
SkillAFreshness: A★ 97Claude Code +9
Compare and alternatives
Featured in
Signals
- Stars
- 97
- Forks
- 17
- Open issues
- 0
- Last commit (this folder)
- Oct 4, 2026 (23 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from xianyu110
- 0.784score
sale-banner
xianyu110
Design promotional sale banners and store hero images for Taobao/Tmall (双11, 618, 年货节), Shopee/Lazada (9.9, 11.11, 12.12), TikTok Shop, Amazon Prime Day/Black…
SkillAFreshness: A★ 114Claude Code +9 - 0.784score
batch-background-swap
xianyu110
Batch-replace backgrounds or recolour SKU variants across a folder of product photos (white background, brand colour, seasonal scene, colour variants) while…
SkillAFreshness: A★ 114Claude Code +9 - 0.784score
ecommerce-listing-suite
xianyu110
Orchestrate a complete ecommerce image set for one product: confirm product facts, plan the gallery per platform (Amazon 7-image set, Taobao 5 main + detail…
SkillAFreshness: A★ 114Claude Code +9 - 0.784score
amazon-white-background
xianyu110
Create an Amazon-compliant white-background main image (pure #FFFFFF background, product fills ≥85% of the frame, no text, props or watermark) from a product…
SkillAFreshness: A★ 114Claude Code +9 - 0.784score
model-try-on
xianyu110
Dress a model in a real garment or accessory from a flat-lay, hanger or mannequin photo (on-model / virtual try-on) while preserving fabric, colour, fit…
SkillAFreshness: A★ 114Claude Code +9 - 0.784score
selling-point-infographic
xianyu110
Design selling-point / feature infographic images (one benefit per image, icons, callout lines, short headlines, comparison or spec rows) for Amazon secondary…
SkillAFreshness: A★ 114Claude Code +9
Cite this page
platform-spec-export skill. Agent Mart. https://agentmart.dev/skills/xianyu110-platform-spec-export (last updated 2026-10-24)