suno api
Basic Information
Suno AI API is an open-source, unofficial implementation that lets developers call the music generation capabilities of Suno.ai via a self-hosted or deployed API. It provides programmatic endpoints to create music, generate lyrics, extend audio, produce stems, fetch clip and track metadata, and assemble full songs from parts. The project automates account maintenance and solves hCaptcha challenges using a paid CAPTCHA solving service together with browser automation, enabling reliable background operation. It exposes endpoints compatible with OpenAI’s chat completions format so the service can be used as a tool within LLM-based agents. The README documents how to obtain a Suno account cookie, configure environment variables, deploy on Vercel or Docker, and run locally. The project is licensed under LGPL-3.0 and includes a demo deployment and example client code in Python and JavaScript.