UPLOAD

Upload an audio file and turn it into an extendable song.

POST https://api.apiframe.pro/suno-upload

Headers

Name
Value

Content-Type

application/json

Authorization*

Your APIFRAME API Key

Body

Name
Type
Description

audio_url*

string

The URL of the audio we want to turn into a Suno song

Response

// Success: the audio was turned into a song
{
  "task_id": "29e983ca-7e86-4017-a9e3-ef6fe9cd5f2a",
  "song_id": "a0500307-824c-4efb-b96b-ffa76e362fae"
}

Code samples

const axios = require('axios');
const data = JSON.stringify({
  "audio_url": "https://.....mp4"
});

const config = {
  method: 'post',
  maxBodyLength: Infinity,
  url: 'https://api.apiframe.pro/suno-upload',
  headers: { 
    'Content-Type': 'application/json', 
    'Authorization': 'YOUR_API_KEY'
  },
  data : data
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});

Last updated

Was this helpful?