MusicAPI
HomeDocs
HomeDocs
  1. Docs
  • Introduction
  • Credits Usage Guide
  • Music API FAQ & Troubleshooting
  • Special Scenarios
  • Error handling
  • Webhook Integration Guide
  • Get Your Suno API Key
  • API Changelog
  • sonic
    • Sonic Instructions
    • create / extend / cover / remaster / add vocals / add instrumental
      POST
    • upload and extend music
      POST
    • upload and cover music
      POST
    • create persona
      POST
    • sample
      POST
    • mashup
      POST
    • get BPM
      POST
    • get VOX
      POST
    • get wav
      POST
    • get midi
      POST
    • get lyrics timeline
      POST
    • upsample tags
      POST
    • stems basic
      POST
    • stems full
      POST
    • replace section
      POST
    • upload music
      POST
    • create voice
      POST
    • get music
      GET
    • download (mp3 / m4a / wav)
      POST
  • riffusion(Deprecated)
    • Riffusion instructions
    • create music (with lyrics)
    • create music (with description)
    • cover music
    • extend music
    • replace music section
    • swap music sound
    • swap music vocals
    • upload
    • get music
  • producer
    • Producer instructions
    • Complete Request Examples
    • create music
    • upload
    • download
    • get music
    • Extend an existing music track
    • Replace a section of an existing music track
    • Cover an existing music track
  • studio(Unavailable)
    • Studio Instructions
    • description mode (Use case1)
    • extend mode (Use case2)
    • custom mode (Use case3)
    • instrumental mode (Use case4)
    • get music
  • lyrics generation
    • Make Lyrics
  • nuro
    • Nuro Instruction
    • Error handling
    • create vocal music
    • create instrument music
    • get music
  • get-credits
    GET
  1. Docs

Music API FAQ & Troubleshooting

0# Frequently Asked Questions
Common questions about using MusicAPI.

Getting Started#

How do I get started with MusicAPI?#

1.
Sign up at musicapi.ai
2.
Subscribe to a plan (new accounts get 30 free test credits)
3.
Get your API key from the dashboard
4.
Make your first API call

What's included in the free trial?#

New accounts receive 30 free test credits to explore the platform's features before subscribing.

Music Generation#

How do I create a song with my own lyrics?#

Enable custom_mode and provide your lyrics in the prompt field:
{
  "custom_mode": true,
  "mv": "sonic-v4-5",
  "title": "My Song",
  "tags": "pop, rock",
  "prompt": "[Verse]\nYour lyrics here\n\n[Chorus]\nChorus lyrics here"
}

How do I let AI generate lyrics for me?#

Set custom_mode to false and use gpt_description_prompt:
{
  "custom_mode": false,
  "mv": "sonic-v4-5",
  "gpt_description_prompt": "An upbeat song about summer adventures"
}

How do I create instrumental music without vocals?#

Set make_instrumental to true:
{
  "custom_mode": false,
  "mv": "sonic-v4-5",
  "make_instrumental": true,
  "gpt_description_prompt": "A peaceful piano melody"
}

How do I control the singer's gender?#

Use the vocal_gender parameter (only available for v4-5 and above):
{
  "custom_mode": true,
  "mv": "sonic-v4-5",
  "vocal_gender": "f",
  "prompt": "...",
  "tags": "pop"
}
ValueDescription
fFemale vocal
mMale vocal

Can I control the exact duration of a song?#

Short answer: Sonic and Producer do not support precise duration control. Nuro supports it - see the nuro-instruction for details.
For Sonic and Producer, you can use indirect methods to influence song length:

Model Version Limits#

Different model versions have different maximum durations per generation:
Model VersionMax Duration
sonic-v3-5~2 minutes
sonic-v4~2 minutes
sonic-v4-5~4 minutes
sonic-v4-5-plus~4 minutes
sonic-v5~4-8 minutes

Tips to Make Songs Shorter#

1.
Use ending tags - Add [Outro], [End], [Fade Out], or [Short Instrumental Outro] in your lyrics to signal the song should end:
[Verse]
Your verse lyrics...

[Chorus]
Your chorus lyrics...

[Outro]
Final words...
[End]
2.
Write shorter lyrics - Less lyrics generally means shorter songs
3.
Use concise structure - Fewer sections (e.g., just Verse → Chorus → Outro)

Tips to Make Songs Longer#

1.
Use the Extend feature - Generate a song, then use extend_music to add more content:
{
  "task_type": "extend_music",
  "continue_clip_id": "your-clip-id",
  "continue_at": 180,
  "custom_mode": true,
  "mv": "sonic-v4-5",
  "prompt": "[Bridge]\nNew section...\n\n[Final Chorus]\n..."
}
2.
Write more lyrics - More content generally produces longer songs
3.
Add more sections - Include multiple verses, pre-chorus, bridge, etc.
4.
Use instrumental breaks - Add [Instrumental] or [Guitar Solo] tags

For Precise Duration Control#

Use the Nuro model which supports the duration parameter for exact control over instrumental music length.

Extending & Covering Songs#

How do I extend an existing song?#

Use extend_music task type with the original clip_id and specify where to continue:
{
  "task_type": "extend_music",
  "continue_clip_id": "original-clip-id",
  "continue_at": 120,
  "custom_mode": true,
  "mv": "sonic-v4-5",
  "prompt": "[Bridge]\nNew lyrics for extension...",
  "tags": "pop"
}

How do I get the full extended song (original + extension)?#

After extending, use concat_music to merge the original and extended parts:
{
  "task_type": "concat_music",
  "continue_clip_id": "extended-clip-id"
}
This produces a single full-length track combining both parts.

How do I create a cover version?#

Use cover_music task type:
{
  "task_type": "cover_music",
  "continue_clip_id": "original-clip-id",
  "custom_mode": true,
  "mv": "sonic-v4-5",
  "prompt": "...",
  "tags": "jazz, smooth",
  "audio_weight": 0.6
}
The audio_weight parameter (0-1) controls how much the original influences the cover.

Uploading Your Own Music#

How do I upload my own audio file?#

Use the upload endpoint to get a clip_id:
Requirements:
Audio duration: max 8 min.
Must be copyright-free or owned by you
Processing takes approximately 20 seconds

How do I extend/cover my uploaded music?#

Use the special task types for uploaded music:
OperationTask Type
Extend uploaded musicextend_upload_music
Cover uploaded musiccover_upload_music
Important: Do not use extend_music or cover_music for uploaded files. Use the _upload_ variants instead.

Personas (Virtual Singers)#

What is a persona?#

A persona is a virtual singer profile created from an existing song. Once created, you can generate new songs using that voice.

How do I create a persona?#

POST /api/v1/sonic/persona

{
  "name": "My Singer",
  "clip_id": "source-clip-id",
  "describe": "Smooth jazz vocal with warm tone",
  "styles": "jazz, smooth, warm"
}

How do I use a persona to generate music?#

Use persona_music task type with the persona_id:
{
  "task_type": "persona_music",
  "persona_id": "your-persona-id",
  "custom_mode": true,
  "mv": "sonic-v4-5",
  "prompt": "...",
  "tags": "pop"
}

Lyrics Generation#

How do I generate lyrics?#

Use the lyrics endpoint:
POST /api/v1/sonic/lyrics

{
  "prompt": "A love song about long distance relationships"
}
Cost: 2 credits per generation

Technical Questions#

Does the API support Suno v6?#

Not as a selectable model yet. Suno released v6 on 2026-09-09 and retired v3.5
through v5.5 at the same time. Suno's published model mapping sends a request
naming an older version to v6, so your existing calls keep working and cost the
same, and mv in the response still reports what you asked for.
What you cannot do yet is choose between the v6 variants (v6-wild,
v6-mini). That is announced on the API Changelog when it ships;
email support@musicapi.ai with the subject changelog to get those by email.

What audio formats are supported?#

Input: MP3, WAV, and most common audio formats via URL
Output: MP3 (audio_url), MP4 (video_url), WAV (via get-wav endpoint)

How long does generation take?#

OperationTypical Time
Create music2min
Extend music1.5min
Cover music1.5min
Concat music1min
Upload music~20 seconds

What's the recommended polling interval?#

Poll every 15-25 seconds for task results.

Why did my request fail?#

Common reasons:
ErrorCauseSolution
401 UnauthorizedInvalid API keyCheck your API key
403 ForbiddenInsufficient creditsPurchase more credits
400 Validation ErrorInvalid parametersCheck parameter values
429 Rate LimitToo many requestsWait 3 seconds between requests

Billing & Credits#

How many credits does each operation cost?#

See the Credits Usage Guide for complete pricing.
Quick reference:
OperationCredits
Create/Extend/Cover15
Concat2
Upload2
Persona/BPM/VOX1

Do unused credits roll over?#

Subscription credits: No, reset monthly
Extra credits: Yes, never expire

Which credits are used first?#

Extra credits are consumed before subscription credits.

Output & Usage Rights#

Are there watermarks on generated music?#

No, all generated audio is watermark-free.

Can I use generated music commercially?#

Yes, generated music can be used for commercial purposes. Check our terms of service for specific licensing details.

How many songs does each generation produce?#

Most operations produce 2 songs per request (15 credits), giving you options to choose from.

Still Have Questions?#

Documentation: docs.musicapi.ai
Telegram: Join our channel for updates, examples, and support
Email: Contact us for enterprise inquiries:support@musicapi.ai
Modified at 2026-09-09 15:18:56
Previous
Credits Usage Guide
Next
Special Scenarios
Built with