关于 ai-content-pipeline
借助 inference.sh CLI 构建多步骤内容创作流水线的技能,面向内容创作者,涵盖文本、研究、图像、视频和音频生成工作流。
主要功能
- 01组合多步骤内容流水线
- 02结合研究与文本生成
- 03生成并制作视觉素材动画
- 04添加旁白、音乐和音效
- 05合并媒体并添加字幕
适用场景
- 01根据主题制作短视频
- 02制作虚拟形象讲解视频
- 03将产品图像转为视频
- 04把博客文章改编成视频
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ qu-skills/ superpowers --skill ai-content-pipeline安装后在 Claude Code 中输入/ai-content-pipeline确认已加载。
详细介绍
安装 belt CLI 技能:
npx skills add belt-sh/cli
AI 内容流水线
通过 inference.sh CLI 构建多步骤内容创作流水线。

快速入门
需要 inference.sh CLI(
belt)。安装说明
belt login
# Simple pipeline: Generate image -> Animate to video
belt app run falai/flux-dev --input '{"prompt": "portrait of a woman smiling"}' > image.json
belt app run falai/wan-2-5 --input '{"image_url": "<url-from-previous>"}'
流水线模式
模式 1:图像 -> 视频 -> 音频
[FLUX Image] -> [Wan 2.5 Video] -> [Foley Sound]
模式 2:脚本 -> 语音 -> 虚拟形象
[LLM Script] -> [Kokoro TTS] -> [OmniHuman Avatar]
模式 3:研究 -> 内容 -> 分发
[Tavily Search] -> [Claude Summary] -> [FLUX Visual] -> [Twitter Post]
完整工作流
YouTube 短视频流水线
根据主题创作完整的短视频。
# 1. Generate script with Claude
belt app run openrouter/claude-sonnet-45 --input '{
"prompt": "Write a 30-second script about the future of AI. Make it engaging and conversational. Just the script, no stage directions."
}' > script.json
# 2. Generate voiceover with Kokoro
belt app run infsh/kokoro-tts --input '{
"prompt": "<script-text>",
"voice": "af_sarah"
}' > voice.json
# 3. Generate background image with FLUX
belt app run falai/flux-dev --input '{
"prompt": "Futuristic city skyline at sunset, cyberpunk aesthetic, 4K wallpaper"
}' > background.json
# 4. Animate image to video with Wan
belt app run falai/wan-2-5 --input '{
"image_url": "<background-url>",
"prompt": "slow camera pan across cityscape, subtle movement"
}' > video.json
# 5. Add captions (manually or with another tool)
# 6. Merge video with audio
belt app run infsh/media-merger --input '{
"video_url": "<video-url>",
"audio_url": "<voice-url>"
}'
口播视频流水线
创建 AI 虚拟形象来呈现内容。
# 1. Write the script
belt app run openrouter/claude-sonnet-45 --input '{
"prompt": "Write a 1-minute explainer script about quantum computing for beginners."
}' > script.json
# 2. Generate speech
belt app run infsh/kokoro-tts --input '{
"prompt": "<script>",
"voice": "am_michael"
}' > speech.json
# 3. Generate or use a portrait image
belt app run falai/flux-dev --input '{
"prompt": "Professional headshot of a friendly tech presenter, neutral background, looking at camera"
}' > portrait.json
# 4. Create talking head video
belt app run bytedance/omnihuman-1-5 --input '{
"image_url": "<portrait-url>",
"audio_url": "<speech-url>"
}' > talking_head.json
产品演示流水线
创建产品展示视频。
# 1. Generate product image
belt app run falai/flux-dev --input '{
"prompt": "Sleek wireless earbuds on white surface, studio lighting, product photography"
}' > product.json
# 2. Animate product reveal
belt app run falai/wan-2-5 --input '{
"image_url": "<product-url>",
"prompt": "slow 360 rotation, smooth motion"
}' > product_video.json
# 3. Upscale video quality
belt app run falai/topaz-video-upscaler --input '{
"video_url": "<product-video-url>"
}' > upscaled.json
# 4. Add background music
belt app run infsh/media-merger --input '{
"video_url": "<upscaled-url>",
"audio_url": "https://your-music.mp3",
"audio_volume": 0.3
}'
博客转视频流水线
将文字内容转换为视频格式。
# 1. Summarize blog post
belt app run openrouter/claude-haiku-45 --input '{
"prompt": "Summarize this blog post into 5 key points for a video script: <blog-content>"
}' > summary.json
# 2. Generate images for each point
for i in 1 2 3 4 5; do
belt app run falai/flux-dev --input "{
\"prompt\": \"Visual representing point $i: <point-text>\"
}" > "image_$i.json"
done
# 3. Animate each image
for i in 1 2 3 4 5; do
belt app run falai/wan-2-5 --input "{
\"image_url\": \"<image-$i-url>\"
}" > "video_$i.json"
done
# 4. Generate voiceover
belt app run infsh/kokoro-tts --input '{
"prompt": "<full-script>",
"voice": "bf_emma"
}' > narration.json
# 5. Merge all clips
belt app run infsh/media-merger --input '{
"videos": ["<video1>", "<video2>", "<video3>", "<video4>", "<video5>"],
"audio_url": "<narration-url>",
"transition": "crossfade"
}'
流水线构建模块
内容生成
| 步骤 | 应用 | 用途 |
|---|---|---|
| 脚本 | openrouter/claude-sonnet-45 | 撰写内容 |
| 研究 | tavily/search-assistant | 收集信息 |
| 摘要 | openrouter/claude-haiku-45 | 精简内容 |
视觉素材
| 步骤 | 应用 | 用途 |
|---|---|---|
| 图像 | falai/flux-dev | 生成图像 |
| 图像 | google/imagen-3 | 替代图像生成工具 |
| 放大 | falai/topaz-image-upscaler | 提升画质 |
动画
| 步骤 | 应用 | 用途 |
|---|---|---|
| I2V | falai/wan-2-5 | 为图像制作动画 |
| T2V | google/veo-3-1-fast | 根据文本生成 |
| 虚拟形象 | bytedance/omnihuman-1-5 | 口播视频 |
音频
| 步骤 | 应用 | 用途 |
|---|---|---|
| TTS | infsh/kokoro-tts | 语音旁白 |
| 音乐 | infsh/ai-music | 背景音乐 |
| Foley | infsh/hunyuanvideo-foley | 音效 |
后期制作
| 步骤 | 应用 | 用途 |
|---|---|---|
| 放大 | falai/topaz-video-upscaler | 提升视频画质 |
| 合并 | infsh/media-merger | 合并媒体 |
| 字幕 | infsh/caption-video | 添加字幕 |
最佳实践
- 先规划流水线 - 运行前规划好每个步骤
- 保存中间结果 - 保存输出以便迭代
- 选择合适的质量 - 草稿使用快速模型,定稿使用高质量模型
- 匹配分辨率 - 全程保持宽高比一致
- 测试每个步骤 - 验证输出后再继续
相关技能
# Video generation models
npx skills add inference-sh/skills@ai-video-generation
# Image generation
npx skills add inference-sh/skills@ai-image-generation
# Text-to-speech
npx skills add inference-sh/skills@text-to-speech
# LLM models for scripts
npx skills add inference-sh/skills@llm-models
# Full platform skill
npx skills add inference-sh/skills@infsh-cli
浏览所有应用:belt app list
文档
评论
支持 Markdown