What is Suno AI API
Suno AI API, provided by Apiframe, allows users to generate complete songs with vocals, lyrics, and instrumentals through a single API. It supports configurable styles, custom lyrics, and tracks up to eight minutes long.
How to use Suno AI API
To use the Suno AI API, you need to send a POST /v2/music/generate request with your API key. The request body should include the prompt, model identifier (suno), and optional sunoParams such as custom_mode, instrumental, model_version, and title. The API returns a jobId that can be used to poll for the result, or you can provide a webhook_url to receive the result asynchronously.
Features of Suno AI API
- Complete Song Generation: Create full songs with vocals, lyrics, and instrumentation.
- Configurable Styles: Control the output with style tags, negative tags, vocal gender, style weight, and a "weirdness" constraint.
- Customizable Lyrics: Use your own lyrics or let Suno generate them from a theme.
- Instrumental Option: Generate instrumental tracks without vocals.
- Long-form Tracks: Create songs up to 8 minutes in length, with the ability to extend shorter clips.
- Multiple Versions: Access different Suno model versions, including the default v5.5 line, v4, v4.5, v5, and others.
- Stem Separation: Extract up to 12 stems (vocals, drums, bass, etc.) for post-production.
- Webhooks: Receive results asynchronously via webhook notifications.
- Unified API: Access Suno and other AI models through a single, consistent API.
Use Cases of Suno AI API
- Consumer Music Apps: Suitable for applications with a freemium model due to per-song pricing and quick generation times.
- Branded Jingles and Hooks: Generate custom lyrics verbatim for taglines and campaign hooks.
- Long-form Soundtracks: Create music for podcasts, videos, and other projects requiring extended audio.
- Remixing and Production: Utilize stem separation for further editing and production in digital audio workstations.
Pricing
Suno AI API is priced at a flat rate of 11 credits per generation, which is approximately $0.11. There are no per-model plans, and a single credit balance is used across all models. Volume discounts are available for larger credit purchases. Users can start with free credits, and no subscription is required.
FAQ
- Is there an official Suno API?
No. Suno does not offer an official public API. Apiframe provides production-ready access through its unified API.
- Which Suno version does the API use?
The API uses the current v5.5 line by default, with earlier versions selectable via the
model_version parameter.
- Can I provide my own lyrics?
Yes. Custom mode sings your lyrics as written. You can also let Suno write lyrics or generate pure instrumentals.
- How long can songs be?
Songs can be up to 8 minutes long, and shorter clips can be extended to reach a target length.
- How much does it cost?
It costs a flat 11 credits (approximately $0.11) per generation, with typical completion times around 60 seconds.
- Can I use the music commercially?
Yes. Music generated through Apiframe comes with commercial usage rights and is available in high-quality formats, including lossless WAV.