generate_music
Generate full songs with natural AI vocals, precise BPM/key control, and 14+ section tags for arrangement. Pay per song via Bitcoin Lightning without signup.
Instructions
Generate full songs (up to 6 min) with natural AI vocals, BPM/key control (99%+ accuracy), and 14+ section tags for precise arrangement. Uses Music-2.6 — orchestral and traditional instruments, style-aware mixing. Specify BPM, key, genre, mood in prompt. Returns MP3 URL. 300 sats per song. Pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='generate_music'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paymentId | Yes | Valid payment ID (must be paid) | |
| prompt | Yes | Music style with BPM, key, genre, mood, instruments (up to 2,000 chars). Example: 'E minor, 90 BPM, acoustic guitar ballad, male vocal' | |
| modelId | No | Optional. Omit for default model. | |
| lyrics | No | Song lyrics with section tags (up to 3,500 chars). Tags: [Intro], [Verse], [Pre Chorus], [Chorus], [Bridge], [Outro], [Solo], [Hook], [Drop], [Build Up], [Inst], [Interlude], [Transition], [Break], [Post Chorus] | |
| is_instrumental | No | Set true for instrumental-only (no vocals). When true, prompt is required, lyrics are ignored. | |
| lyrics_optimizer | No | Set true to auto-generate lyrics from prompt when lyrics are empty. | |
| sample_rate | No | Audio sample rate. Default: 44100 | |
| bitrate | No | Audio bitrate. Default: 256000 | |
| audio_format | No | Output format. Default: mp3 |