Communitygithub.com

0xsline/openchatcut

Mureka、MiniMax、Atlas Cloud、Sonilo を使用した音楽生成。BGM、楽曲、サウンドトラック、トラック/ステム生成、カバー、動画条件付きスコアリングを `submit_music` で行います。

openchatcut とは?

このスキルは、動画編集ワークフロー内で音楽生成を統合するためのツールです。Mureka、MiniMax、Atlas Cloud、Sonilo の4つのプロバイダーをサポートし、インストゥルメンタル、歌詞付き楽曲、サウンドトラック、カバー、動画条件付きスコアリングなど、多様なモードを提供します。`submit_music` 関数で生成ジョブを開始し、`track_progress` で完了を待ってからメディアプールに結果を保存します。生成後は、配置、トリミング、ループ、フェード、ダッキングなどのタイムライン操作が必要です。各プロバイダーは固有のパラメータを持ち、`count` パラメータで複数バリエーションの生成も可能ですが、暗黙的な追加生成は避けるべきです。音楽はリズムやビートのタイミングを保証しないため、生成後に手動で調整します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/0xsline/openchatcut/tree/HEAD/src/agent/skills/music

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

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

ドキュメント

音楽

submit_music は生成 jobId を返します。すべての結果がメディアプールに保存されるまで track_progress を呼び出します。配置、トリミング、ループ、フェード、ダッキングはタイムライン操作として残ります。

プロバイダーとモード

プロバイダーモードリファレンス
murekainstrumental、song、prompt-song、soundtrack、trackreferences/mureka.md
minimaxt2m、coverreferences/minimax.md
atlast2mreferences/atlas.md
sonilov2mreferences/sonilo.md

名前付き/設定済みのベンダーを選択します。通常のBGMにはデフォルトで Mureka インストゥルメンタルを使用します。ボーカルやリファレンスコントロールが必要な場合は Mureka の song/prompt-song を使用し、画像/動画駆動のスコアリングには Mureka soundtrack を、楽曲/音声ソースからのステム/トラック生成には track モードを使用します。テキストから音楽への変換やカバーモデルには MiniMax を、スキーマベースの非同期オーディオAPIによるテキストから音楽への変換には Atlas Cloud を、テキスト説明ではなく完成したカット(プロジェクト動画アセット)から音楽を構成する場合には Sonilo v2m を使用します。

共通ワークフロー

  1. プロバイダー、モード、有料バリエーションが複数必要かどうかを確認します。
  2. プロバイダーのリファレンスを読み、そのプロバイダーのパラメータのみを渡します。
  3. 一度送信し、track_progress({ target:"generation", action:"wait", jobIds:[jobId] }) を呼び出します。
  4. count が複数の結果を生成した場合は、すべての返されたアセットを使用します。従来の result フィールドのみが存在すると仮定しないでください。
  5. 実際の長さがわかってからタイムラインに配置/トリミング/ダッキングを行います。

例

// Mureka インストゥルメンタル(デフォルト count は意図的に 1)
submit_music({ provider: "mureka", mode: "instrumental", prompt: "Warm lo-fi piano bed under narration", count: 1 });

// Mureka 歌詞付き楽曲
submit_music({
  provider: "mureka", mode: "song", prompt: "Bright modern pop", gender: "female", count: 2,
  lyrics: "[Verse]\nCity lights open the night\n[Chorus]\nWe build the future in real time",
});

// Mureka プロンプトソング
submit_music({ provider: "mureka", mode: "prompt-song", prompt: "A hopeful road-trip anthem", styles: ["pop", "folk"] });

// プロジェクト動画または画像のスコアリング
submit_music({ provider: "mureka", mode: "soundtrack", sourceAssetId: "videoAssetId", prompt: "Tense restrained documentary score" });

// Mureka 楽曲IDからステムを生成
submit_music({ provider: "mureka", mode: "track", songId: "song-id", trackType: "Drums", prompt: "Tight punchy acoustic drums" });

// MiniMax インストゥルメンタル / ボーカル
submit_music({ provider: "minimax", mode: "t2m", prompt: "Upbeat electronic tech intro", isInstrumental: true });
submit_music({ provider: "minimax", mode: "t2m", prompt: "Rainy night pop", lyricsOptimizer: true });

// MiniMax プロジェクト音声アセットからのカバー
submit_music({ provider: "minimax", mode: "cover", prompt: "Warm acoustic coffee-shop cover", referenceAssetId: "audioAssetId" });

// Atlas Cloud テキストから音楽
submit_music({ provider: "atlas", mode: "t2m", prompt: "Cinematic ambient score with restrained piano", isInstrumental: true });

// Sonilo レンダリングカットからの動画から音楽(プロンプトは任意)
submit_music({ provider: "sonilo", mode: "v2m", sourceAssetId: "renderedCutAssetId" });
submit_music({ provider: "sonilo", mode: "v2m", sourceAssetId: "renderedCutAssetId", prompt: "Warm indie folk, no drums" });

ルール

  • 明示的なリクエストがあった場合のみ生成します。count 2~3 はプロバイダーの課金を増やす可能性があるため、バリエーションを黙って追加しないでください。
  • Mureka の stream:true はプロバイダーのストリーミングタスクフェーズを有効にしますが、OpenChatCut は引き続き耐久性のある最終ファイルを待ちます。
  • MiniMax カバーには、設定済みの music-cover* モデルと、referenceAssetId または coverFeatureId のいずれか 1 つが必要です。coverFeatureId には歌詞も必要です。
  • Atlas Cloud は t2m モードのみをサポートし、MiniMax のカバー/オプティマイザーや Mureka 固有のコントロールは受け付けません。
  • MiniMax のオーディオ設定フィールドを Mureka に混ぜたり、Mureka の ID/モードを MiniMax に混ぜたりしないでください。
  • 生成された音楽は正確なビート/ドロップのタイミングを保証しません。生成後にカットして位置合わせを行ってください。

Individual skills in this repo

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

0xsline/openchatcut

Connect an MCP-capable coding agent to OpenChatCut and edit local video projects. Use when the user asks to install, connect, or set up OpenChatCut; inspect or edit an OpenChatCut project; work with its timeline, transcript, captions, media, generation, motion graphics, audio, color, or export tools; or recover from an OpenChatCut MCP error.

0xsline/openchatcut

Use when acquiring or importing media into a OpenChatCut project asset library for video editing or creation, including local/attached videos, user-provided paths, public media URLs, web video/audio/image assets, upload fallback decisions, and deciding between import_media, download_media, or manual user action.

0xsline/openchatcut

Use when a OpenChatCut video editing or creation workflow needs export, render, download, share, final delivery, subtitle-file export, render choice, local-only asset handling, or export fallback explanation.

0xsline/openchatcut

AI image generation via Fal.ai, gpt-image-2, nano-banana, MiniMax image-01, and xAI Grok Imagine. Use when the user wants to generate or create an image / picture / still.

0xsline/openchatcut

Use when a OpenChatCut tool call fails or returns an unexpected shape.

0xsline/openchatcut

OpenChatCut product knowledge — UI layout, editor features, and how generation providers are configured. Use when the user asks about the product interface, how to use a feature, where to find something, or needs GUI guidance for something the agent cannot do directly. Also use as fallback when a task fails and the user needs to complete it manually in the UI. NOT for live project-state queries ("where are my folders?", "what's on my timeline?", "where is clip X?") — those are answered by `read_project`, not by this skill.

0xsline/openchatcut

AI shader generator for WebGL video effects, transitions, masks, and color grading (LUT / 调色 / 电影感 / film look). Use when the user wants a video effect (滤镜 / 特效), a transition (转场 / crossfade / wipe / cube / 3d), a mask (蒙版 / 遮罩 / reveal), a zoom / push-in (推近 / 推镜头), or a color grade — try the built-in effects (zoom, builtin LUTs) before generating a new shader.

0xsline/openchatcut

Use when checking whether agent edits are reflected in the OpenChatCut project and editor.

0xsline/openchatcut

AI video generation via Fal.ai, Seedance 2.0, Kling, MiniMax Hailuo, xAI Grok Imagine, and OFox. Use when the user wants to generate a video clip — text-to-video, image-to-video, first/last-frame transitions, reference-guided generation, multi-shot, or generatively editing / extending an existing clip.

0xsline/openchatcut

Text-to-Speech (TTS), voiceover, narration placement/sync, and custom sound effects (SFX) generator. Use when the user wants generated speech from text, wants to add/replace/align narration or voiceover for an existing video/timeline, wants to keep existing voiceover synced after visual retiming edits, needs voice audition/selection, or explicitly wants a newly generated/custom sound effect that is not available in the Sound Effects library.

0xsline/openchatcut

Use when the agent should ask the user for structured input with an in-chat form, including single-select, multi-select, text fields, style pickers, or voice audition choices.

関連スキル