Generates songs with vocals and accompaniment from text descriptions and/or lyrics, or covers existing songs in new styles. Saves two MP3 variants per request.
Ships in noizai-skills-2. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Two ways to make a song with vocals + accompaniment, saved as MP3. Every request produces two variants.
A request needs a prompt (the music description) and exactly one lyrics source:
# Let the server write lyrics from a theme
python3 skills/text-to-music/scripts/t2m.py "upbeat indie pop, bright guitars, 120 BPM" \
--lyrics-prompt "a song about summer road trips with friends"
# Use your own lyrics (inline or from a file)
python3 skills/text-to-music/scripts/t2m.py "mandopop ballad, piano and strings" \
--lyrics $'[Verse]\n窗外的雨停了\n[Chorus]\n我还在等你' --vocal-gender Female --title "雨停了"
python3 skills/text-to-music/scripts/t2m.py "lo-fi hip hop, mellow, vinyl crackle" \
--lyrics-file song.txt --duration 120 -o chill.mp3
# Model the vocal/style on a reference song (local file ≤20 MB or public URL)
python3 skills/text-to-music/scripts/t2m.py "dreamy synth-pop" --lyrics-file song.txt --ref-audio ./ref.mp3
Output: song_v1.mp3 and song_v2.mp3 (or <stem>_v1.mp3 / <stem>_v2.mp3 with -o). When lyrics were written by the server, they are also saved to <stem>_lyrics.txt.
| Argument | Default | Description |
|---|---|---|
prompt | required | Music description: genre, mood, instruments, tempo (≤1500 chars) |
--lyrics / -l | — | Lyrics text; [Verse], [Chorus], [Bridge] markers help structure |
--lyrics-file | — | UTF-8 .txt file with lyrics (≤64 KB) |
--lyrics-prompt | — | Theme for server-side lyric writing |
--tags | — | Style tags, comma-separated (≤50 chars) |
--negative-tags | — | Styles to avoid |
--duration / -d | auto | Target length hint: 60, 120, or 180 seconds. A hint, not a guarantee. |
--ref-audio | — | Reference song, local path or public URL |
--lyrics, --lyrics-file, and --lyrics-prompt are mutually exclusive; one is required.
Needs the source song, lyrics, and a description of the new sound (--style and/or --prompt):
# Same lyrics, new style: recognize lyrics from the original, then cover it
python3 skills/text-to-music/scripts/t2m.py cover original.mp3 \
--style "jazz, smoky female vocal" --recognize-lyrics -o jazz_cover.mp3
# New lyrics over the original melody, looser arrangement
python3 skills/text-to-music/scripts/t2m.py cover https://example.com/song.mp3 \
--prompt "acoustic folk, fingerpicked guitar, intimate" --lyrics-file new_lyrics.txt \
--adherence main_melody --vocal-gender Male
# Recognize lyrics only (to review or edit before covering)
python3 skills/text-to-music/scripts/t2m.py lyrics original.mp3 -o lyrics.txt
Recommended flow when the user wants to tweak lyrics: run lyrics → edit the file → cover --lyrics-file.
| Argument | Default | Description |
|---|---|---|
source | required | Original song: local file (≤100 MB; mp3/wav/m4a/aac/flac/ogg) or public URL |
--style / -s | — | Short style tags, e.g. "rock, male vocal" (≤50 chars) |
--prompt / -p | — | Longer description of the cover's sound (≤1500 chars) |
--adherence | high | high = follow the original arrangement closely; main_melody = keep only the main melody, more freedom |
--lyrics / -l | — | Lyrics to sing |
--lyrics-file | — | UTF-8 .txt file with lyrics (≤64 KB) |
--recognize-lyrics | off | Transcribe the source's lyrics first and use them |
--output / -o | cover.mp3 | Output path; variants get _v1 / _v2 suffixes |
At least one of --style / --prompt is required; exactly one lyrics source is required.
| Argument | Default | Description |
|---|---|---|
--title | — | Song title (≤80 chars) |
--vocal-gender | — | Male or Female |
--vocal-timbre | — | Free-form voice description, e.g. "husky warm alto" (≤50 chars) |
--output / -o | song.mp3 (cover.mp3 for covers) | Output path; variants get _v1 / _v2 suffixes |
--no-wait | off | Submit, print the job ID(s), then exit |
--poll-interval | 10 | Seconds between status checks |
--timeout | 1800 | Max seconds to wait (the job keeps running server-side) |
--api-key | from env/config | Noiz API key (overrides stored key) |
Generation prints two gen_product_ids; a cover prints one task_id. If the wait times out or you used --no-wait, resume with:
python3 skills/text-to-music/scripts/t2m.py status <id_v1> <id_v2> -o song.mp3
python3 skills/text-to-music/scripts/t2m.py status --cover <task_id> -o cover.mp3
python3 skills/text-to-music/scripts/t2m.py status --cover <task_id> --no-wait # just print status
Status goes submitted → running → succeeded / failed. Covers also report a stage (analysis runs before singing, so covers take longer). Download URLs expire after ~24h; re-run status for fresh ones.
"cinematic orchestral pop, soaring strings, 90 BPM, hopeful".-d 60 and write only a verse + chorus.high to keep the cover recognizable; pick main_melody for a bigger genre change.ceil(longest variant seconds) × 15 credits, charged after both variants succeed. A 2-minute song costs about 1,800 credits. If subscription credits don't cover the whole job, it is billed as pay-as-you-go at $0.00015/s. The script prints the charged amount on completion.lyrics / --recognize-lyrics): 100 credits (or $0.001 pay-as-you-go), charged only when vocals are detected.Rate limits: 5 submissions per minute per key per endpoint; status polling 60 per minute.
--duration is only a hint; actual length may differ. Covers follow the source's length.code=400).python3 skills/text-to-music/scripts/t2m.py config --set-api-key YOUR_KEY
# or
export NOIZ_API_KEY=YOUR_KEY
Get your API key at developers.noiz.ai.
requests package: uv pip install requests~/.config/noiz/api_key (permissions 0600) or via NOIZ_API_KEY env variable.https://noiz.ai/v1/text-to-music and https://noiz.ai/v1/text-to-music/cover*; job status is polled from the same endpoints. No other data is transmitted.What SKILL.md sets; muted values are Claude Code's defaults
10 skills in this plugin
/characteristic-voiceUse this skill whenever the user wants speech to sound more human, companion-like, or emotionally expressive. Triggers include: any mention of 'say like', 'talk like', 'speak like', 'companion voice', 'comfort me', 'cheer me up', 'sound more human', 'good night voice', 'good morning voice', or requests to add fillers, emotion, or personality to generated speech. Also use when the user wants to mimic a specific character's voice, apply speaking style presets (goodnight, morning, comfort, celebration, chatting), tune emotional parameters like warmth or tenderness, or make TTS output feel like a real person talking. If the user asks for a 'voice message', 'companion audio', 'character voice', or wants speech that sighs, laughs, hesitates, or sounds genuinely warm, use this skill. Do NOT use for plain text-to-speech without personality, music generation, sound effects, or general coding tasks unrelated to expressive speech./chat-with-anyoneChat with any real person or fictional character in their own voice by automatically finding their speech online, extracting a clean reference sample, and generating audio replies. Also supports generating a matching voice from an uploaded image. Use when the user says "我想跟xxx聊天", "你来扮演xxx跟我说话", "让xxx给我讲讲这篇文章", "我想跟图片中的人说话", or similar./daily-news-casterFetches the latest news using news-aggregator-skill, formats it into a podcast script in Markdown format, and uses the tts skill to generate a podcast audio file. Use when the user asks to get the latest news and read it out as a podcast./music-videoBuild a music video from an existing song and lyrics, either as p5.js/p5.brush animation or by assembling local images and clips. Use when the user mentions a music video, MV, lyric video, visualizer, storyboard, 音乐视频, 歌词动画, or MV合成. Do not use it to compose the song, generate sound effects, or call an image or video generation API./sound-fxUse this skill whenever the user wants to generate sound effects, ambient audio, or short audio clips from a text description. Triggers include: any mention of 'sound effect', 'sfx', 'generate sound', 'make a sound', 'audio effect', 'ambient sound', 'foley', 'sound clip', 'noise', or requests to produce a specific sound (e.g. 'make a gunshot sound', 'generate thunder', 'create the sound of rain'). Also use when the user describes an action or scenario and wants the corresponding audio (e.g. 'someone getting spanked', 'a door slamming', 'cartoon boing'). Do NOT use for speech synthesis, music generation with melody/lyrics, or voice cloning./speech-to-textUse this skill whenever the user wants to transcribe audio to text, convert speech to text, or get a transcript from an audio or video file. Triggers include: any mention of 'transcribe', 'transcription', 'speech to text', 'STT', 'convert audio to text', 'what does this audio say', 'get transcript', 'subtitle generation', or requests to extract spoken words from a file. Also use when the user wants speaker identification from audio, timestamps for captions, or multilingual transcription./noizai-skills-2:text-to-musicfrom noizai-skills-2
noizai-skills-2@cascade-content-creation-misc-1 is listed by joshuarweaver/cascade-content-creation-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-content-creation-misc-1 --plugin noizai-skills-2Other plugins' skills for the same job