Music 3.0: Experience the New Music Generation Capabilities
- Better creative-intent understanding: the upgraded semantic model reduces the usual AI-generated drift.
- A major leap in sound quality: no more cramped or muddy mixes, with support for specific instruments and real playing techniques such as slides and legato for commercial-recording-grade listening.
- More natural vocal synthesis: the new vocal engine removes high-frequency “digital hiss” and gives you control over melody, pronunciation, breathing, and layered harmonies for a more studio-like result.
Music Generation Example
Let’s walk through how to create a modern melodic trap and dark R&B track in two simple steps: first, use the Lyrics Generation API to write lyrics based on a theme; then, feed those lyrics into the Music Generation API to compose and produce a complete song. This demo highlights overall control and realism in Music 3.0.1
Call the Lyrics Generation API to generate lyrics from a theme (optional)
Simply tell the model what you’re looking for — for example, “A modern melodic trap and dark R&B track featuring a male vocalist with heavy autotune.” — and the Lyrics Generation API will automatically write complete lyrics with proper song structure (Verse, Chorus, Bridge, etc.). If you already have your own lyrics, feel free to skip this step. Additionally, even without lyrics you can go straight to the second step: call the music generation API to compose and generate a full song.
2
Call the Music Generation API to compose and produce the full song
Once you have your lyrics, set the music style via the
prompt parameter (e.g., “A modern melodic trap and dark R&B track with heavy autotune, deep bouncy 808 sub-bass, rolling triplet hi-hats, and moody ambient synths”), pass the lyrics into the lyrics parameter, and the Music Generation API will arrange, perform, and output a complete song. If you don’t have lyrics, you can set the lyrics_optimizer parameter to true to generate a song directly. In addition, Music 3.0 supports instrumental-only generation; see the is_instrumental parameter.3
Listen to the result
After completing the steps above, you’ll have a complete song:
Cover Generation
Music Cover generates a new rendition of an existing song with a different style. There are two modes:- One-Step Cover: Pass the reference audio directly — lyrics are auto-extracted via ASR.
- Two-Step Cover: Preprocess the audio first to extract and modify lyrics, then generate the cover.
One-Step Cover (Quick Mode)
Pass the reference audio URL and a style prompt to the Music Generation API. Lyrics are automatically extracted from the audio.Two-Step Cover (Advanced Mode — with Lyrics Modification)
For more control, use the two-step workflow: first preprocess the audio to extract features and lyrics, then modify the lyrics and generate the cover.1
Preprocess the reference audio
Call the Music Cover Preprocess API to extract audio features and structured lyrics. This step is free (no charge).The response includes:
cover_feature_id: A unique identifier for the audio features (valid for 24 hours)formatted_lyrics: Structured lyrics with section tags ([Verse],[Chorus], etc.) that you can modifystructure_result: JSON string with segment types and timestampsaudio_duration: Duration of the reference audio in seconds
2
Modify lyrics and generate the cover
Review and edit the
formatted_lyrics from the previous step, then pass the cover_feature_id and modified lyrics to the Music Generation API.When using
cover_feature_id, do not pass audio_url or audio_base64 — they are mutually exclusive. The lyrics parameter is required (10–1000 characters).Recommended Reading
Music Generation API
Use this API to generate a song from lyrics and a prompt.
Music Cover Preprocess API
Preprocess reference audio to extract features and lyrics for two-step cover generation.
Lyrics Generation API
Use this API to generate or edit lyrics from a song description.
Pricing
Detailed information on model pricing and API packages.
Rate Limits
Rate limits are restrictions that our API imposes on the number of times a user or client can access our services within a specified period of time.