Suno AI API

Deprecated

Get API Key
Product

Features

Suno AI's innovative Audio Input feature allows users to upload or record their own audio to craft unique songs.

Generate Music by Prompt

With Suno AI, you can effortlessly create music tracks based on detailed descriptive prompts.
AI/ML API
API Dreams
Play buttonPause button
0:00
0:00
https://od.lk/s/Ml8yMjgwMzA1MzBf/Best%20api.mp3

High-Quality Music Generation

Our advanced AI technology interprets your input to generate high-quality music that aligns perfectly with your vision.

Flexible Integration

Whether you are developing applications in Python, JavaScript, Node.js, or other popular languages, AI/ML API's API is designed to integrate smoothly into your existing tech stack.

Multiple Models

Suno AI provides flexibility in music generation with its multiple models, allowing users to choose between chirp-v3-5 and chirp-v3-0

Get API Key

How It Works

Describe the type of music you want: Create a nostalgic rock song inspired by Beatles, the song should evoke the classic sounds of the 1960s British Invasion
Inspired by Beatles
Yesterdays Echo
Play buttonPause button
0:00
0:00
https://cdn1.suno.ai/c91f1eec-78e7-4b78-b9c2-1515b7af4dfd.mp3

Select Model

The chirp-v3-5 model excels in producing high-fidelity, complex compositions, making it ideal for professional projects. For simpler, more straightforward music generation, opt for the chirp-v3-0 model.

Generate Music

Once you've input your prompt and selected the appropriate model, initiate the music generation process. Suno AI will create and deliver two high-quality audio files based on your specifications.

Fetch Music Details

By leveraging the Fetch Music Generation Details endpoint, you can efficiently manage and track your music generation projects, ensuring you have all the necessary information at your fingertips.

Get API Key

API Endpoints

Generate Music by Prompt

Generate music based on a given text prompt using the Suno v3.5 model

import requests

url = "https://api.aimlapi.com/deprecated"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json"
}
payload = {
    "prompt": "Create a relaxing ambient music track",
    "make_instrumental": True,
    "wait_audio": True
}
response = requests.post(url, json=payload, headers=headers)
print(response.content)
import requests

url = "https://api.aimlapi.com/generate/deprecated"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json"
}
payload = {
    "prompt": "Create an energetic dance music track",
    "tags": "dance, energetic",
    "title": "Dance Track",
    "make_instrumental": False,
    "wait_audio": True
}
response = requests.post(url, json=payload, headers=headers)
print(response.content)

Generate Music in Custom Mode

This feature allows you to specify various elements such as mood, style, and instrumentation, giving you complete creative control over the music production process.

Get API Key

Ready to get started? Get Your API Key Now!

Get API Key