music-2.6
How to Make a Call
API Schemas
Generate music sample
A description of the music, specifying style, mood, and scenario. Length: 10β2000 characters.
Lyrics of the song. Use ( ) to separate lines. You may add structure tags like [Intro], [Verse], [Chorus], [Bridge], [Outro] to enhance the arrangement. Length: 10β3000 characters.
[Verse] Streetlights flicker, the night breeze sighs Shadows stretch as I walk alone An old coat wraps my silent sorrow Wandering, longing, where should I go [Chorus] Pushing the wooden door, the aroma spreads In a familiar corner, a stranger gazesWhether to automatically generate lyrics based on the prompt description. When set to true and lyrics is empty, the system will automatically generate lyrics from the prompt.
falseWhether to generate instrumental music (no vocals). When set to true, the lyrics field is not required.
falseThe ID of the generated audio.
60ac7c34-3224-4b14-8e7d-0aa0db708325The current status of the generation task.
completedPossible values: Retrieve the generated music sample from the server
Bearer key
<REPLACE_WITH_YOUR_GENERATION_ID>The ID of the generated audio.
60ac7c34-3224-4b14-8e7d-0aa0db708325The current status of the generation task.
completedPossible values: Quick Code Example
Last updated
Was this helpful?