Communitygithub.com

openchatcut 音樂生成

透過 Mureka、MiniMax、Atlas Cloud 和 Sonilo 生成音樂,可用於配樂、歌曲、音軌、人聲翻唱或影片配樂,並透過 `submit_music` 提交任務。

openchatcut 音樂生成 是什麼?

此技能整合了四大音樂生成供應商(Mureka、MiniMax、Atlas Cloud、Sonilo)的多種模式,提供從純音樂、歌曲、配樂到音軌生成與影片條件配樂的完整能力。使用者只需呼叫 `submit_music` 並指定供應商與模式即可提交生成任務,然後透過 `track_progress` 輪詢直到結果存入媒體池。技能涵蓋 Mureka 的五種模式(器樂、歌曲、提示歌曲、配樂、音軌)、MiniMax 的文字轉音樂與翻唱、Atlas Cloud 的異步文字轉音樂,以及 Sonilo 從已完成剪輯影片生成配樂。適合需要快速產出高品質音樂素材的影片剪輯、內容創作與音樂製作 workflow,支援多平台並提供清晰的規則避免誤用或隱藏收費。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/0xsline/openchatcut/tree/HEAD/src/agent/skills/music

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

音樂

submit_music 會回傳一個生成任務 jobId;請持續呼叫 track_progress 直到每個結果都存入媒體池。時間線上的放置、裁切、循環、淡入淡出與音量避讓仍是後製操作。

供應商與模式

供應商模式參考文件
murekainstrumental、song、prompt-song、soundtrack、trackreferences/mureka.md
minimaxt2m、coverreferences/minimax.md
atlast2mreferences/atlas.md
sonilov2mreferences/sonilo.md

選擇已命名/已設定的供應商。一般背景音樂預設為 Mureka 器樂模式。需要人聲或參考控制時使用 Mureka 歌曲/提示歌曲模式;需要根據圖片/影片生成配樂時使用 Mureka 配樂模式,需要從歌曲/音訊來源生成單軌時使用音軌模式。使用 MiniMax 的文字轉音樂與翻唱模型。使用 Atlas Cloud 透過其非同步音訊 API 進行基於結構的文字轉音樂。當音樂應從已完成剪輯本身(專案影片素材)而非文字描述生成時,使用 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: "旁白背景下的溫暖鬆弛氛圍鋼琴", count: 1 });

// Mureka 歌詞歌曲
submit_music({
  provider: "mureka", mode: "song", prompt: "明亮的現代流行", gender: "female", count: 2,
  lyrics: "[Verse]\n城市的燈火點亮夜晚\n[Chorus]\n我們即時打造未來",
});

// Mureka 提示歌曲
submit_music({ provider: "mureka", mode: "prompt-song", prompt: "充滿希望的公路旅行頌歌", styles: ["pop", "folk"] });

// 為專案影片或圖片配樂
submit_music({ provider: "mureka", mode: "soundtrack", sourceAssetId: "videoAssetId", prompt: "緊湊克制的紀錄片配樂" });

// 從 Mureka 歌曲 ID 生成單軌
submit_music({ provider: "mureka", mode: "track", songId: "song-id", trackType: "Drums", prompt: "緊湊有力的原聲鼓" });

// MiniMax 器樂 / 人聲
submit_music({ provider: "minimax", mode: "t2m", prompt: "歡快的電子科技開場", isInstrumental: true });
submit_music({ provider: "minimax", mode: "t2m", prompt: "雨夜流行", lyricsOptimizer: true });

// MiniMax 從專案音訊素材翻唱
submit_music({ provider: "minimax", mode: "cover", prompt: "溫暖的原聲咖啡廳翻唱", referenceAssetId: "audioAssetId" });

// Atlas Cloud 文字轉音樂
submit_music({ provider: "atlas", mode: "t2m", prompt: "結合克制鋼琴的電影感環境配樂", isInstrumental: true });

// Sonilo 從已渲染剪輯影片生成音樂(提示可選)
submit_music({ provider: "sonilo", mode: "v2m", sourceAssetId: "renderedCutAssetId" });
submit_music({ provider: "sonilo", mode: "v2m", sourceAssetId: "renderedCutAssetId", prompt: "溫暖獨立民謠,無鼓" });

規則

  • 僅在收到明確要求後才生成;count 設為 2–3 會倍增供應商費用,所以絕不能偷偷增加變體。
  • Mureka stream:true 會啟用供應商的串流任務階段,但 OpenChatCut 仍會等待最終持久化檔案。
  • MiniMax 翻唱需要設定 music-cover* 模型,且必須恰好指定 referenceAssetId 或 coverFeatureId 其中之一;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.

相關技能