mcpField
A
ai-content-pipeline

ai-content-pipeline

github.com/inference-shクリエイティブ・メディア7891.0k 回インストール2 週間前に更新
リポジトリ

ai-content-pipeline について

ai-content-pipelineは、inference.shのコマンドラインツール(`belt`)で複数段階のコンテンツ制作ワークフローを組み立てるスキルです。テキスト、調査、画像、動画、音声の処理を組み合わせる制作担当者向けです。

主な機能

  1. 01コンテンツ生成工程の連結
  2. 02調査・テキスト・メディアの組み合わせ
  3. 03中間結果の保存
  4. 04動画やブログのワークフロー例

活用シーン

  1. 01テーマから短編動画を作成
  2. 02ブログ記事を動画に変換
  3. 03製品紹介動画を制作

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/inference-sh/skills --skill ai-content-pipeline

インストール後、Claude Code で/ai-content-pipelineを入力して読み込まれたか確認します。

詳細

belt CLI スキルをインストール: npx skills add belt-sh/cli

AI コンテンツパイプライン

inference.sh CLI を使って、複数のステップから成るコンテンツ作成パイプラインを構築します。

AI コンテンツパイプライン

クイックスタート

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-i2v --input '{"image": "<url-from-previous>", "prompt": "slow camera push-in"}'

パイプラインのパターン

パターン 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 falai/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-i2v --input '{
  "image": "<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/video-audio-merger --input '{
  "video_file": "<video-url>",
  "audio_file": "<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 falai/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": "<portrait-url>",
  "audio": "<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-i2v --input '{
  "image": "<product-url>",
  "prompt": "slow 360 rotation, smooth motion"
}' > product_video.json

# 3. Upscale video quality
belt app run falai/topaz-video-upscaler --input '{
  "video": "<product-video-url>"
}' > upscaled.json

# 4. Add background music
belt app run infsh/video-audio-merger --input '{
  "video_file": "<upscaled-url>",
  "audio_file": "https://your-music.mp3"
}'
ブログから動画へのパイプライン

文章コンテンツを動画形式に変換します。

# 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-i2v --input "{
    \"image\": \"<image-$i-url>\",
    \"prompt\": \"subtle camera motion\"
  }" > "video_$i.json"
done

# 4. Generate voiceover
belt app run falai/kokoro-tts --input '{
  "prompt": "<full-script>",
  "voice": "bf_emma",
  "language": "british-english"
}' > narration.json

# 5. Merge all clips
belt app run infsh/media-merger --input '{
  "media_files": [
    {"file": "<video1>", "transition_type": "crossfade"},
    {"file": "<video2>", "transition_type": "crossfade"},
    {"file": "<video3>", "transition_type": "crossfade"},
    {"file": "<video4>", "transition_type": "crossfade"},
    {"file": "<video5>", "transition_type": "crossfade"}
  ]
}' > merged.json

belt app run infsh/video-audio-merger --input '{
  "video_file": "<merged-url>",
  "audio_file": "<narration-url>"
}'

パイプラインの構成要素

コンテンツ生成
ステップアプリ目的
スクリプトopenrouter/claude-sonnet-45コンテンツを作成
リサーチtavily/search-assistant情報を収集
要約openrouter/claude-haiku-45コンテンツを要約
ビジュアル素材
ステップアプリ目的
画像falai/flux-dev画像を生成
画像google/imagen-3画像生成の代替手段
アップスケールfalai/topaz-image-upscaler品質を向上
アニメーション
ステップアプリ目的
I2Vfalai/wan-2-5-i2v画像をアニメーション化
T2Vgoogle/veo-3-1-fastテキストから生成
アバターbytedance/omnihuman-1-5トーキングヘッド動画
音声
ステップアプリ目的
TTSfalai/kokoro-ttsナレーション音声
音楽infsh/ai-musicBGM
フォーリーinfsh/mmaudio効果音
ポストプロダクション
ステップアプリ目的
アップスケールfalai/topaz-video-upscaler動画の品質を向上
結合infsh/media-mergerメディアを結合
字幕infsh/caption-videos字幕を追加

ベストプラクティス

  1. パイプラインを先に計画する - 実行前に各ステップを整理します
  2. 中間結果を保存する - 繰り返し改善できるよう、出力を保存します
  3. 適切な品質を選ぶ - 下書きには高速なモデルを、最終版には高品質なモデルを使います
  4. 解像度を揃える - 全工程を通じてアスペクト比を統一します
  5. 各ステップをテストする - 次へ進む前に出力を確認します

関連スキル

# 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

ドキュメント

コメント