Suno AI API v1.0 • 38 Production Endpoints

Suno AI API Documentation & Developer Guide

Build AI music experiences with the definitive Suno API. Integrate high-fidelity text-to-music generation, vocal synthesis, stem separation, lyrics alignment, and lossless audio workflows directly into your web, mobile, and game applications.

Quickstart: How to Get Your Suno API Key in 3 Minutes

1

Obtain Your Suno API Key

Register a free developer account and generate your private Bearer secret key from the API Keys Dashboard. Get 5 free credits instantly.

2

Submit a Generation Task

Send an HTTP POST request to /api/v1/createTask with your prompt, custom lyrics, and audio parameters.

3

Receive Master Audio

Suno synthesizes dual stereo tracks and automatically delivers download links to your designated callBackUrl webhook.

Example Request (cURL)POST /api/v1/createTask
curl -X POST https://api.sunoapi.top/api/v1/createTask \
  -H "Authorization: Bearer sk_live_your_suno_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "taskType": "generate_music",
    "prompt": "An upbeat futuristic synthwave track with punchy drums and melodic leads",
    "tags": "synthwave, electronic, retro, 80s",
    "title": "Neon Horizon",
    "customMode": true,
    "instrumental": false,
    "callBackUrl": "https://yourdomain.com/api/suno-webhook"
  }'
Bearer Token Authentication

All API requests must include your Suno API secret key passed as a standard Bearer token in the HTTP Authorization header:

Authorization: Bearer sk_live_...
Production Base URL

All API endpoints are served over HTTPS with global low-latency CDN edge termination:

https://sunoapi.top/api/v1

Complete Suno AI API Reference (38 Endpoints)

Browse every Suno API endpoint, webhook callback specification, parameter schema, and response code.

Callbacks & Webhooks

(16 endpoints)
CALLBACK

Webhook Security Verification

Verify HMAC-SHA256 signatures, timestamps, and webhook payloads for secure callback handling.

Webhook Callback (Your Server)
CALLBACK

Generate Music Webhook

Real-time asynchronous notification when dual-track music generation completes.

Client Callback URL
CALLBACK

Music Cover Art Webhook

Webhook dispatch with generated high-resolution album cover artwork image URLs.

Client Callback URL
CALLBACK

Extend Music Webhook

Webhook notification delivering extended song files with appended timestamps.

Client Callback URL
CALLBACK

Add Vocals Webhook

Asynchronous event dispatched once synthetic vocal tracks are mixed and ready.

Client Callback URL
CALLBACK

Add Instrumental Webhook

Webhook payload with completed instrumental accompaniment and stem links.

Client Callback URL
CALLBACK

Replace Section Webhook

Notification triggered when the regenerated song section has been inserted seamlessly.

Client Callback URL
CALLBACK

Upload & Cover Webhook

Webhook dispatched when uploaded audio file has been transformed into AI cover version.

Client Callback URL
CALLBACK

Upload & Extend Webhook

Webhook payload returning extended audio file built upon user-uploaded sound source.

Client Callback URL
CALLBACK

Custom Voice Generation Webhook

Dispatches custom voice identifier ID once acoustic model training completes.

Client Callback URL
CALLBACK

Voice Validation Phrase Webhook

Returns generated verification phrase script and sample validation checklist.

Client Callback URL
CALLBACK

Stem Separation Webhook

Dispatches isolated stems (vocals, instruments, bass) download links upon completion.

Client Callback URL
CALLBACK

Convert to WAV Webhook

Webhook delivery with signed high-resolution lossless WAV audio file URL.

Client Callback URL
CALLBACK

Lyrics Generation Webhook

Webhook payload with formatted song lyrics, verses, chorus, and style tags.

Client Callback URL
CALLBACK

Generate MIDI Webhook

Webhook delivery with polyphonic multi-track MIDI note events and instrument channels.

Client Callback URL
CALLBACK

Music Video Generation Webhook

Webhook dispatched with final 1080p MP4 music video URL and duration metadata.

Client Callback URL
Developer FAQ & Knowledge Base

Frequently Asked Questions About Suno AI API

Clear, definitive answers for developers searching for Suno API access, integration keys, and capabilities.

Q1.Does Suno AI Have an API for Developers?

While Suno.com does not offer an open self-serve public developer API directly on their consumer site, sunoapi.top provides a production-grade, high-availability Suno AI API. Developers can programmatically generate songs, separate stems, clone voices, align lyrics, and transcribe MIDI through standard RESTful endpoints and real-time Webhooks.

Q2.How Do I Obtain a Suno API Key?

Getting your Suno API key takes less than 60 seconds: 1. Create a free account on sunoapi.top. 2. Navigate to Dashboard > API Keys. 3. Click "Generate Secret Key". Every new account receives 5 free credits instantly to test music generation in our interactive playground or directly via cURL/SDK.

Q3.What Capabilities and Models Are Supported?

The Suno API supports the latest Chirp v4, v3.5, and v3 audio models across 38 endpoints. Core capabilities include: dual-track music generation (up to 4 minutes), song extension, add vocals to backing tracks, add instrumental accompaniment to acapella, section in-painting, 2-stem and 12-stem separation, lossless WAV conversion, structured lyrics generation, polyphonic MIDI transcription, and 1080p MP4 music video rendering.

Q4.What Are the Pricing and Credit Costs?

The API uses transparent pay-as-you-go credit billing. Music generation starts at 30 credits per dual-track song (~$0.024/track), stem separation is 200 credits, and all asynchronous Webhook callbacks are 100% free (0 credits). Volume discounts and enterprise tiers are available in the billing dashboard.

Q5.How Do Asynchronous Webhooks Work?

Because generating high-fidelity music takes 20-50 seconds, requests to POST /api/v1/createTask return immediately with a task_id. You provide a callBackUrl parameter, and our cloud cluster posts a JSON payload with your master MP3/WAV links once synthesis completes. All callbacks include automatic retries and HMAC signature verification.

Ready to test Suno AI API in your project?

Generate your private secret key and receive 5 free credits immediately.

Generate Suno API Key