{"access":{"authentication":{"format":"L402 {macaroon}:{proof_of_payment}","header":"Authorization","protocols":["L402","MPP"],"format_mpp":"Payment <base64url_json>"},"endpoint":"https://sats4ai.com/api/l402/generate-music","method":"POST"},"content_type":"api","description":"Generate full songs (up to 6 min) with natural AI vocals, BPM/key control, and 14+ section tags. Uses Music-2.6. On generation failure, a LNURL-withdraw refund link is returned in the error response. Send parameters as JSON:\n```\n{\n    \"prompt\": \"E minor, 90 BPM, acoustic guitar ballad, male vocal\",\n    \"lyrics\": \"[Verse]\\nYour lyrics here...\\n[Chorus]\\nThe hook...\",\n    \"is_instrumental\": false,\n    \"lyrics_optimizer\": false,\n    \"sample_rate\": 44100,\n    \"bitrate\": 256000,\n    \"audio_format\": \"mp3\"\n}\n```\nSection tags: [Intro], [Verse], [Pre Chorus], [Chorus], [Interlude], [Bridge], [Outro], [Post Chorus], [Transition], [Break], [Hook], [Build Up], [Inst], [Solo]. Prompt: up to 2,000 chars. Lyrics: up to 3,500 chars.","name":"Music Generation","billing":"prepaid","billing_detail":"Regular invoice, instant settlement. On failure, error response includes a LNURL-withdraw link to claim your refund with any Lightning wallet."}