🎵

Suno API

active

Full-featured AI music generation platform. Supports text-to-music, extend tracks, upload audio covers, generate cover images, and timestamped lyrics. 7 API endpoints.

Suno AImusic10 credits/call
Provider
Suno AI
Pricing
1–12 credits per request (~$0.002–$0.024)
Speed
30–90 seconds
Output
audio

Quick Start

Send a request to the Suno API:

bash
1curl -X POST https://apiin.one/api/v1/audio/music \
2 -H "Authorization: Bearer YOUR_API_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "model": "chirp-v4-5",
6 "prompt": "A cheerful pop song about summer days, with catchy melody and upbeat rhythm",
7 "style": "pop, upbeat",
8 "make_instrumental": false,
9 "title": "Summer Days"
10}'

API Endpoint

POST/api/v1/audio/music

Send a POST request with your API key to generate content using Suno.

Headers

Body ParametersJSON
Authorization:string

Bearer YOUR_API_KEY

Content-Type:string

application/json

Body Parameters

Body ParametersJSON
model:string

Model identifier: suno

prompt:optional string

Music description (inspiration mode) or lyrics (custom mode). Max 5000 chars.

gpt_description_prompt:optional string

Text description for inspiration mode. Max 400 chars for v4.

model:optional string

Model: chirp-v4-0 (5cr), chirp-v4-5 (10cr), chirp-v4-5-plus (10cr), chirp-v5 (12cr) Defaults to chirp-v3-5.

style:optional string

Music style/genre (custom mode). Max 1000 chars.

title:optional string

Track title. Max 80–100 chars.

make_instrumental:optional boolean

Generate instrumental only (no vocals) Defaults to false.

gender:optional string

Preferred vocal gender: male or female

style_weight:optional number

Style adherence strength (0–1)

weirdness_constraint:optional number

Creative deviation control (0–1)

audio_weight:optional number

Audio feature balance (0–1)

callback_url:optional string

Webhook URL for result notification

Available Endpoints

8 endpoints available for this model. All endpoints use the same API key.

Example Request

json
1{
2 "model": "chirp-v4-5",
3 "prompt": "A cheerful pop song about summer days, with catchy melody and upbeat rhythm",
4 "style": "pop, upbeat",
5 "make_instrumental": false,
6 "title": "Summer Days"
7}

Example Response

Successful task creation response.

1{
2 "code": 200,
3 "message": "success",
4 "data": {
5 "task_id": "gen2abc123def456bksv",
6 "status": "IN_PROGRESS"
7 }
8}

Check Task Status

For asynchronous tasks, poll the status endpoint to check when your task is complete:

GET/api/v1/tasks/{task_id}

Returns the current status of a generation task. Poll until status is 'completed' or 'failed'.

bash
1curl https://apiin.one/api/v1/tasks/task_abc123 \
2 -H "Authorization: Bearer aio_your_key"

Use Cases

  • Generate original music from text prompts or custom lyrics
  • Extend existing tracks with new content or different styles
  • Upload audio files and create AI cover versions
  • Generate album cover images for tracks
  • Get word-level timestamped lyrics for karaoke/player UIs
  • Build AI-powered music creation tools and apps

API Tester

Test the Suno API directly from your browser:

API 测试沙盒POST

Error Codes

1{
2 "error": {
3 "code": 400,
4 "message": "Invalid parameters",
5 "type": "invalid_request"
6 }
7}

Frequently Asked Questions

How much does the Suno API cost?

Credits depend on model and endpoint: chirp-v4 = 5cr, chirp-v4.5 = 10cr, chirp-v5 = 12cr. Upload-cover = 8–12cr. Cover images = 1cr. Timestamped lyrics = 2cr.

What API endpoints are available?

7 endpoints: /v2/generate (create music), /v2/extend (extend tracks), /v2/feed (poll status), /v2/cover/generate+status (cover images), /v2/upload-cover/generate+status (audio covers), /v2/timestamped-lyrics (word-level lyrics).

Can I extend an existing song?

Yes. Use /v2/extend with a completed task ID. Supports inherit mode (seamless continuation) or custom mode (change style/lyrics).

Can I upload my own audio and create a cover?

Yes. Use /v2/upload-cover/generate to upload audio (max 8 min) and generate an AI cover with new vocals, style, and lyrics.

What model versions are available?

chirp-v4-0, chirp-v4-5, chirp-v4-5-plus, chirp-v4-5-all, and chirp-v5. Each version offers different quality tiers and pricing.

Do I need a separate Suno account?

No. API in One handles all provider authentication. You only need one API in One key.

Why Use Suno Through API in One?

1.Full 7-endpoint API suite: generate, extend, feed, cover, upload-cover, lyrics
2.No separate Suno account or API key required
3.Pay-as-you-go — no $22/mo minimum subscription
4.Multiple model versions (v4, v4.5, v4.5-plus, v4.5-all, v5)
5.Webhook support for real-time completion notifications

Ready to use Suno?

Get Your API Key →