Skip to content

PiAPI-1/Suno-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

Suno API

Introducing our unofficial Suno API, tailored for developers to bring Suno's text-to-music generation to their AI platforms. This integration allows users across the globe to express their musical creativity with ease.

screenshot of the Midjourney API page from PiAPI



Features

  1. Integration Ready for V3
  2. Unlimited Music Creation!
  3. Asynchronous API Calls
  4. Suno Lyrics Generation
  5. Extended clip feature supported!
  6. Full Access to Advanced API Features
  7. High Concurrency
  8. Full song feature supported!
  9. Pay-as-you-go and Host-your-account Options
  10. Bulk generation available



Usage Options

Pay-as-you-go Option

To get started, simply sign up and purchase credits in our Workspace. Once done, you can immediately access our API! Our service leverages PiAPI’s Suno account pools, ensuring seamless operation without any hassle on your part.

  • No need for your own Suno account(s) pool
  • No need to manage or operate Suno accounts
  • Full access to all endpoints
  • Start integrating the API immediately!

Host-your-account Option

When you choose our Host-Your-Account service, you'll use your own Suno Account(s). Then you can subscribe to PiAPI's Suno API seat(s), connecting your Suno account(s) to the seat(s), and you're ready for integration!

  • Faster generation time
  • Supports hosting of multiple accounts
  • Stable API service

Pricing

Pay-as-you-go Option

  • Generation API Call: $0.02/call
  • Continuation API Call: $0.02/call
  • Lyrics Generation: Free

Host-your-account Option

  • Flat pricing: $5/seat/month

Please refer to our pricing page for more information.



Usage Steps

Pay-as-you-go Option

  • Register for PiAPI's Workspace using your GitHub account.
  • Obtain your API KEY from our Workspace
  • Start coding right away!

Sample API Calls (using cURL)


Create a Generate Music call

curl --request POST \
  --url https://api.piapi.ai/api/suno/v1/music \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: {{x-api-key}}' \
  --data '{
  "custom_mode": true,
  "mv": "chirp-v3-5",
  "input": {
    "prompt": "Add_lyrics_into_the_music.",
    "title": "Add_the_title_of_the_song.",
    "tags": "Add_the_type_of_music.",
    "continue_at": 0,
    "continue_clip_id": ""
  }
}'

Response

{
    "code": 200,
    "data": {
        "task_id": "record_this_taskID"
    },
    "message": "success"
}

Get the Generate Music call

curl --request GET \
  --url https://api.piapi.ai/api/suno/v1/music/Insert_the_taskID_here \   //Replace the task_id with the returned task_id
  --header 'Accept: application/json' \
  --header 'X-API-Key: {{x-api-key}}'

Response - Check out our documentation for more information!



Contact us

Email: contact@piapi.ai


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published