sonic
Installation
SKILL.md
Sonic
Generate voice, music, lyrics, and sound effects through scripts/sonic.js — a zero-dependency Node.js CLI (Node 18+, no npm install). It saves audio to disk and prints the absolute path.
Quick start
# TTS (defaults to SiliconFlow CosyVoice2)
node scripts/sonic.js tts "Hello, world" -o hi.mp3
# Music with auto-written lyrics / instrumental only
node scripts/sonic.js music "cheerful jazz with brass and double bass, café style" -o song.mp3 --lyrics-optimizer
node scripts/sonic.js music "epic movie soundtrack, orchestral" -o bgm.mp3 --instrumental
# Lyrics
node scripts/sonic.js lyrics "a summer day at the beach"