mcpField
M
music-video-generation

music-video-generation

github.com/eachlabsクリエイティブ・メディア44374 回インストール今日更新
リポジトリ

music-video-generation について

music-video-generation は each::sense を使ってミュージックビデオを作るスキルです。音声連動ビジュアル、リリックビデオ、アニメーション、映画風の映像を生成し、リズムやジャンル、アスペクト比に合わせられます。

主な機能

  1. 01音声周波数に反応するビジュアル生成
  2. 02アニメーション付きリリックビデオ
  3. 03抽象・アニメ・演奏風クリップの生成
  4. 04ステージ投影用ビジュアルの作成
  5. 05ビートや音楽ジャンルに合わせた映像

活用シーン

  1. 01楽曲のオーディオビジュアライザー制作
  2. 02ソーシャル向けリリック動画の作成
  3. 03ライブ用 LED ウォール映像の準備
  4. 04静止したアルバムアートのアニメーション化

インストール

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

$npx skills add https://github.com/eachlabs/skills --skill music-video-generation

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

同梱ファイルreferences/SSE-EVENTS.md

詳細

ミュージックビデオの生成

each::sense を使って、魅力的なミュージックビデオを生成します。このスキルでは、オーディオトラックに同期したビジュアライザー、リリックビデオ、アニメーションシーケンス、映画のようなミュージックビデオを作成できます。

特徴

  • オーディオビジュアライザー:音声周波数に同期して反応するビジュアルパターン
  • リリックビデオ:歌詞を使ったアニメーションタイポグラフィ
  • 抽象的なビジュアル:芸術的で具象的な対象を描かない動画コンテンツ
  • アーティストのパフォーマンス:アーティストやバンドのパフォーマンス映像を再現
  • アニメーションミュージックビデオ:漫画、アニメ、またはスタイライズされたアニメーション
  • コンサートビジュアル:LED ウォールのコンテンツやステージ投影
  • アルバムアートのアニメーション:静止したアルバムアートに命を吹き込みます
  • ビート同期コンテンツ:リズムやテンポに反応するビジュアル
  • ジャンルに合わせた美学:ヒップホップ、EDM、ロック、ポップのスタイル

クイックスタート

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create an audio visualizer video with neon geometric shapes that pulse to the beat, dark background with vibrant colors"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

動画形式とアスペクト比

プラットフォームアスペクト比解像度用途
YouTube16:91920x1080標準的なミュージックビデオ
YouTube Shorts9:161080x1920縦型クリップ、プレビュー
Instagram Reels9:161080x1920ソーシャルメディアでのプロモーション
TikTok9:161080x1920バイラルクリップ
スクエア1:11080x1080Instagram フィード、Spotify Canvas
ウルトラワイド21:92560x1080コンサートの LED ウォール

使用例

1. トラックからオーディオビジュアライザーを作成
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a 16:9 audio visualizer video. Circular waveform in the center with particles emanating outward on each beat. Deep purple and electric blue color palette. Dark space background with subtle stars. 10 seconds loop."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
2. リリックビデオの生成
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a lyric video for the lyrics: \"Running through the night, chasing starlight, we are infinite tonight\". Animated text appearing word by word with a dreamy night sky background. Stars twinkling, soft gradient from dark blue to purple. Modern sans-serif font with subtle glow effect. 16:9 aspect ratio."}],

    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
3. 抽象的なミュージックビジュアル
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Generate abstract music visuals for an ambient electronic track. Flowing liquid metal morphing shapes, iridescent surfaces reflecting rainbow colors, slow hypnotic movement. Think art installation meets music video. 16:9, 15 seconds."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
4. アーティストのパフォーマンスビデオ
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a music video showing a female singer performing on a dark stage. Dramatic spotlight lighting, smoke effects, cinematic camera movement circling the performer. She is wearing an elegant black dress, passionate emotional performance. 16:9 widescreen, film grain aesthetic."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
5. アニメーションミュージックビデオ(アニメスタイル)
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create an anime-style animated music video. A young character with colorful hair running through a neon-lit cyberpunk city at night. Dynamic action poses, speed lines, rain effects. Japanese anime aesthetic like Studio Trigger. High energy and dramatic. 16:9."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
6. コンサート用 LED ウォールビジュアル
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Generate concert visuals for LED wall projection. Abstract geometric patterns - triangles and hexagons morphing and pulsing. High contrast black and white with occasional bursts of red. Designed for live performance, loopable, high impact visuals that work on massive screens. 21:9 ultrawide aspect ratio."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
7. アルバムアートのアニメーション(Spotify Canvas)
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a Spotify Canvas style animation from album art concept. A surreal landscape with floating islands and waterfalls going upward. Soft pastel colors - pink clouds, turquoise water, golden sunset light. Subtle parallax motion, dreamy and ethereal mood. 9:16 vertical format, 8 second seamless loop."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
8. ビート同期ビジュアル
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create beat-synced visuals for a 120 BPM track. Geometric shapes (cubes, spheres, pyramids) that flash and transform on each beat. Strobe-like intensity changes. Black background with neon pink, cyan, and yellow shapes. High energy, rave aesthetic. Design cuts to happen every 0.5 seconds to match tempo. 16:9."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
9. ジャンルに合わせた美学(ヒップホップ)
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a hip-hop music video aesthetic. Urban street scene at night, street lights with lens flares, graffiti walls, luxury cars in background. Slow motion rain falling. Moody cinematic color grading - teal shadows and orange highlights. Trap music vibe, high production value look. 16:9 widescreen."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
10. ストーリー仕立てのミュージックビデオ
# Part 1: Opening scene
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create the opening scene of a narrative music video. A lonely figure standing at a train station at dawn. Empty platform, morning mist, warm golden light breaking through clouds. Melancholic mood, cinematic widescreen composition. The character is looking at a departing train. 16:9."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "music-video-story-001",
    "mode": "max"
  }'

# Part 2: Middle scene (same session for consistency)
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create the next scene continuing our music video story. The same character is now walking through a sunlit field of wildflowers. Memories and flashbacks - double exposure effect showing happy moments. Bittersweet emotion, hope emerging. Maintain the same cinematic color grading and style."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "music-video-story-001",
    "mode": "max"
  }'

# Part 3: Final scene
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create the final climactic scene of our music video. The character reunites with a loved one on a rooftop at sunset. City skyline in background, warm embrace, emotional payoff. Golden hour lighting, lens flares, cinematic slow motion. End on a hopeful note with them looking at the horizon together."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "music-video-story-001",
    "mode": "max"
  }'

ベストプラクティス

ビジュアルデザイン
  • 色の一貫性:動画全体を通して統一感のあるカラーパレットを維持します
  • 動きのペース配分:ビジュアルの強さを音楽のエネルギーレベルに合わせます
  • セーフゾーン:ソーシャルプラットフォームでは、重要な要素を端から離して配置します
  • ループポイント:ビジュアライザーや短いクリップ向けに、継ぎ目のないループを設計します
  • テキストの読みやすさ:リリックビデオでは、テキストと背景に十分なコントラストを確保します
技術的な考慮事項
  • ビートのタイミング:可能であれば、ビート同期コンテンツ用に BPM を指定します
  • 長さ:最適な生成のため、クリップは 5~30 秒にします
  • ループ:繰り返し再生する場合は、継ぎ目のないループを明示的に指定します
  • プラットフォームの仕様:対象プラットフォームのアスペクト比を必ず指定します
ジャンル別ガイドライン
ジャンルビジュアルスタイルカラーパレット動き
EDM/エレクトロニック幾何学的、ネオン、未来的鮮やかなネオン、RGB速く、エネルギッシュ
ヒップホップ/ラップアーバン、高級感、映画的ゴールド/ティールを基調とした暗色スローモーション、ドラマチック
ロック/メタル粗削り、ハイコントラスト暗色、赤、モノクロ激しく、混沌とした
ポップカラフル、洗練、楽しい明るい色、パステル滑らか、弾むような
アンビエント/チル抽象的、流れるような柔らかなグラデーションゆっくり、催眠的
インディー/オルタナティブヴィンテージ、芸術的彩度を抑えた色、フィルム調自然で有機的

ミュージックビデオ向けのプロンプトのヒント

ミュージックビデオを作成する際は、次の詳細を含めます。

  1. ジャンル/ムード:音楽の種類と感情的なトーン
  2. ビジュアルスタイル:リアル、アニメーション、抽象的など
  3. カラーパレット:具体的な色、または全体的な雰囲気
  4. アスペクト比:16:9、9:16、1:1、または 21:9
  5. 長さ:クリップの長さ
  6. 動きのスタイル:素早いカット、スローモーション、滑らかな動きなど
  7. 重要な要素:動画に登場させるもの
  8. ループ要件:継ぎ目なくループさせる必要があるかどうか
プロンプトの構成例
"Create a [duration] [genre] music video in [aspect ratio].
Visual style: [style description].
Show [key visual elements].
Color palette: [colors].
Mood: [emotional tone].
[Additional requirements like looping, beat-sync, etc.]"

モードの選択

「高速で低コストなものと、高品質なもののどちらを希望しますか?」

モード最適な用途速度品質
max最終リリース、公式ビデオ、プレミアムコンテンツ遅め最高
eco手早いコンセプト、ソーシャルクリップ、反復作業速め良好

複数ターンでのクリエイティブな反復

session_id を使って、ミュージックビデオを反復しながら作成できます。

# Initial concept
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a visualizer with glowing orbs floating in space"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "visualizer-project-001"
  }'

# Refine based on result
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Add more particle trails to the orbs and make the colors shift from blue to purple"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "visualizer-project-001"
  }'

# Create variation
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a more intense version of this for the chorus section with faster movement"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "visualizer-project-001"
  }'

エラー処理

エラー原因解決策
Failed to create prediction: HTTP 422残高不足eachlabs.ai で残高をチャージしてください
コンテンツポリシー違反禁止されているコンテンツコンテンツポリシーに準拠するようプロンプトを調整してください
タイムアウト複雑な生成クライアントのタイムアウトを最低 10 分に設定してください

関連スキル

  • each-sense - コア API のドキュメント
  • video-generation - 一般的な動画生成
  • image-generation - 静止画作品とスチル
  • audio-generation - 音楽とサウンドの作成

コメント