Generates songs (vocal or instrumental) from a style/mood prompt and optional lyrics via the MiniMax music API. Produces MP3 files for background music, jingles, or full tracks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/bytedance-deer-flow-1:music-generationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill generates songs (vocal or instrumental) from a structured JSON spec using the
This skill generates songs (vocal or instrumental) from a structured JSON spec using the
MiniMax music generation API (/v1/music_generation). You describe the style/mood/scene in
prompt, optionally provide lyrics, and the script returns an MP3.
Identify the desired style, mood, scene, language, and whether the user wants vocals or a pure instrumental track. Decide whether to supply lyrics or let the model write them.
Write a JSON file in /mnt/user-data/workspace/ named {descriptive-name}.json:
{
"title": "Rainy Night Cafe",
"prompt": "indie folk, melancholic, introspective, walking alone, cafe",
"lyrics": "[verse]\nStreetlights glow the night wind sighs\n[chorus]\nPush the wooden door warm air inside"
}
Fields:
title (optional): a human-readable name.prompt (required): style, mood, and scene. Drives the musical character.lyrics (optional): song lyrics. Use \n between lines and structure tags such as
[Intro], [Verse], [Pre Chorus], [Chorus], [Bridge], [Outro].is_instrumental (optional, bool): set true for a pure instrumental track (no lyrics needed).Behavior:
lyrics provided → those lyrics are sung.is_instrumental: true → instrumental, no vocals.prompt (lyrics_optimizer).python /mnt/skills/public/music-generation/scripts/generate.py \
--prompt-file /mnt/user-data/workspace/rainy-night-cafe.json \
--output-file /mnt/user-data/outputs/rainy-night-cafe.mp3
Parameters:
--prompt-file: Absolute path to the JSON spec (required).--output-file: Absolute path for the output MP3 (required).[!NOTE] Do NOT read the python file, just call it with the parameters.
MINIMAX_API_KEY (required): your MiniMax interface key.MINIMAX_API_HOST (optional): default https://api.minimaxi.com.MINIMAX_MUSIC_MODEL (optional): default music-2.6-free (works for all API-key users);
paid/Token-Plan users can set music-2.6 for higher limits./mnt/user-data/outputs/).prompt focused on style/mood/scene; put the actual sung words in lyrics.lyrics in the target language.npx claudepluginhub bytedance/deer-flowGenerates AI music tracks via ElevenLabs API from text prompts or JSON-defined multi-section compositions. Ideal for soundtracks, jingles, background music, and instrumentals up to 5 minutes.
Generates vocal/instrumental songs and audio covers using MiniMax Music API via mmx CLI. Supports prompts, lyrics optimization, moods, genres, and reference audio.
Generates music from text prompts via ElevenLabs Eleven Music API. Supports vocals with AI lyrics, instrumental tracks, and multiple genres. Requires paid ElevenLabs plan.