Communitygithub.com

PrunaAI/pruna-skills

誰かがオリジナルのAIソング(ボーカル入り)を欲しがっているときに使います。歌詞、スタイルプロンプト、ミュージックビデオ用の音源を生成します。

pruna-skills とは?

このスキルは、AIを使って歌詞付きのオリジナル楽曲を生成するためのものです。Claude Code、Cursor、CodexなどのAIエージェントが、MiniMaxの `music-2.5` モデルをReplicate API経由で呼び出し、指定された歌詞とスタイルプロンプトに基づいてフルトラックを合成します。生成には `REPLICATE_API_TOKEN` が必要で、`ffmpeg` / `ffprobe` が音声スライスやアセンブリに使用されます。このスキルは、歌詞構造([Verse]、[Chorus]など)、ジャンル、ムード、テンポ、楽器編成を指定した高品質なボーカル楽曲の生成に特化しており、音楽ビデオ制作パイプラインの最初のステップとしても機能します。サポートする出力形式はMP3、WAV、PCMで、サンプルレートやビットレートも調整可能です。

対応~Claude Code~Codex CLI~Cursor✓Gemini CLI
npx skills add https://github.com/PrunaAI/pruna-skills/tree/HEAD/skills/audio/music-2.5

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

前提条件

以下のスキルを生成前にインストールしてロードしてください(@pruna で既にコンテキスト内にある場合はスキップできます):

スキル説明インストール方法
generation-diversity生成プロンプトを書くときに使います。有料API呼び出しの前に、リチュアルシード、明示的な構造、シナリオ軸、品質ゲートを設定します。npx skills add PrunaAI/pruna-skills@generation-diversity -y
audio-promptingTTS、音楽、またはBGMのプロンプトを作成するときに使います。ディレクタースタイル、曲の構造、ポストプロダクションのレイヤリングを指定します。npx skills add PrunaAI/pruna-skills@audio-prompting -y
pruna-apiPrunaまたはReplicateへのHTTP呼び出し前に使います。認証情報、アップロード/ポーリング/ダウンロード、並列バッチ、エージェントの安全性を管理します。npx skills add PrunaAI/pruna-skills@pruna-api -y

または、一度で全スイートをインストール:npx skills add PrunaAI/pruna-skills@pruna -y

各スキルの 生成前 / クラフトセクションに従ってください。ここではガイド内容を繰り返しません。

エージェントの習慣

最初の返信で、`music-2.5` をバッククォートで囲んで名前を挙げ、REPLICATE_API_TOKEN を確認して(なければ pruna-api のサインアップリンクで停止)、必要な入力を尋ねます。最初の POST の前に、generation-diversity の明確化インテークを開きます。「使用しない場合」が適切な場合はリダイレクトします。

使用しない場合

代わりに以下のスキルを使ってください:

スキル説明インストール方法
gemini-3.1-flash-tts誰かがナレーションや音声解説を必要としているときに使います。説明ビデオ、ドキュメンタリーライン、または生成ビデオと組み合わせる音声に。npx skills add PrunaAI/[email protected] -y
stable-audio-2.5誰かが軽いインストゥルメンタルの背景音楽を必要としているときに使います。会話の下のアンビエントBGMやリール・説明ビデオのアンダースコアに。npx skills add PrunaAI/[email protected] -y

環境変数

export REPLICATE_API_TOKEN=r8_...

音楽ビデオワークフローでのスライスとアセンブリに ffmpeg / ffprobe が必要です。

HTTP (curl)

curl -s -X POST \
  -H "Authorization: Bearer ${REPLICATE_API_TOKEN}" \
  -H "Content-Type: application/json" \
  -d '{
    "input": {
      "lyrics": "[Verse]\nWe built it line by line\nEvery skill a stepping stone\n\n[Chorus]\nRun the pipeline, watch it grow\nPruna models, let them flow",
      "prompt": "Indie pop, uplifting, warm female vocal, 92 BPM, acoustic guitar and mellow synth pads, no harsh distortion",
      "sample_rate": 44100,
      "bitrate": 256000,
      "audio_format": "mp3"
    }
  }' \
  "https://api.replicate.com/v1/models/minimax/music-2.5/predictions"

urls.get をポーリングして status が succeeded になるまで待ち、output をダウンロードします。

生成前

  1. 前提条件ガイドを読み順に従って完了します。
  2. lyrics(構造タグ付き)とオプションのスタイル prompt を確認します。必須フィールドをリストアップするときは、REPLICATE_API_TOKEN(Replicate — PRUNA_API_KEY ではない)を指定します。
  3. モデルノート: 構造タグは独立した行に — [Intro] [Verse] [Pre Chorus] [Chorus] [Hook] [Bridge] [Solo] [Inst] [Build Up] [Drop] [Interlude] [Break] [Transition] [Outro]。\n = 改行(安全なビデオカット境界にもなる);\n\n = ポーズ。最大約5分の生成。英語と中国語の発音が最も強い。データはReplicateを介してMiniMaxに送信されます。詳細はプライバシーポリシーをご覧ください。

必須入力

  • lyrics(文字列)— 1〜3,500文字

一般的なオプションフィールド

  • prompt — ジャンル、雰囲気、テンポ、声の質感、楽器(最大約2,000文字)
  • sample_rate:16000 · 24000 · 32000 · 44100(デフォルト)
  • bitrate:32000 · 64000 · 128000 · 256000(デフォルト)
  • audio_format:mp3(デフォルト)· wav · pcm

典型的な次のステップ

このスキルの後によく使われるフォローアップ:

スキル説明インストール方法
music-video誰かがフルミュージックビデオを欲しがっているときに使います。オリジナル曲またはボーカル、パフォーマンスクリップ、Bロール、歌詞同期編集を提供します。npx skills add PrunaAI/pruna-skills@music-video -y
whisperx誰かがオーディオから単語レベルのタイムスタンプを必要としているときに使います。歌詞のアライメント、カットセーフな行境界、またはビデオ編集時のバーンイン前のキャプションソースタイミングに。npx skills add PrunaAI/pruna-skills@whisperx -y
p-video誰かがテキストや画像からシンプルな短いクリップを欲しがっているときに使います。クイックBロール、ドラフト、または開始/終了フレームアニメーションに。シネマティックな生成、最高品質、厳密なリップシンク、または1080pでのインポートオーディオが必要な場合は使用しないでください。npx skills add PrunaAI/pruna-skills@p-video -y

Individual skills in this repo

This repo contains 13 individual skills — each has its own dedicated page.

PrunaAI/pruna-skills

Use when someone needs spoken narration or voiceover — explainer tracks, documentary lines, or voice to pair with generated video.

PrunaAI/pruna-skills

Use when someone needs word-level timestamps from audio — lyric alignment, cut-safe line boundaries, or caption source timing before burn-in with video-editing.

PrunaAI/pruna-skills

Use before any Pruna or Replicate HTTP call — credentials, upload/poll/download, parallel batches, and agent safety.

PrunaAI/pruna-skills

Use when assembling or polishing already-rendered clips with ffmpeg — concat, crossfades, burned captions and subtitles, text/logo overlays, before/after sliders, background music beds, platform export — or when composing a multi-layer HTML combination video with Hyperframes. Not for AI video generation, prompt craft, or model-based video edits.

PrunaAI/pruna-skills

Use when crafting video or motion prompts for any generative model — dramaturgy, camera, physics-safe motion, frame anchors, and clip chaining.

PrunaAI/pruna-skills

Use when someone wants to edit an existing photo — change outfits or backgrounds, compose from reference images, or apply prompt-driven edits.

PrunaAI/pruna-skills

Use when someone explicitly wants the fastest, cheapest photo generation — mood boards, bulk panels, or quick iterations — not when controlled photoreal or in-image text is needed.

PrunaAI/pruna-skills

Use when someone wants virtual try-on — dress a person in clothes from reference photos for fashion or ecommerce.

PrunaAI/pruna-skills

Use when installing the full Pruna generative media suite — all guides, tools, and workflows in one package.

PrunaAI/pruna-skills

Use when someone wants a cinematic clip from text or start/end frames — product ads, documentary shots, or dialogue with generated audio. Not for 1080p, imported audio tracks, or talking-head-only hosts.

PrunaAI/pruna-skills

Use when someone wants a polished short clip from text, images, or imported audio — 1080p B-roll, start/end frame animation, or a motion shot with a mixed track. Not for cinematic generated-audio clips or talking-head-only hosts.

PrunaAI/pruna-skills

Use when someone wants to edit an existing video with a text instruction — recolor, restyle, remove or add objects, change environment or lighting, update on-screen text, or apply optional reference-guided product and accessory edits. Not for a new clip from scratch or ffmpeg assembly.

PrunaAI/pruna-skills

Use when someone wants a simple short clip from text or images — quick B-roll, drafts, or start/end frame animation. Not when the brief needs cinematic generation, highest quality, tight lip-sync, or imported audio at 1080p.

関連スキル