musicsuno(upload)
curl --request POST \
--url https://api.maxapi.ai/suno/v2/uploads/audio \
--header 'Content-Type: application/json' \
--data '
{
"url": "https://filesystem.site/cdn/20240722/7YSGZwU59FRhWzhRwWiL3A8pNmcJHC.mp3"
}
'import requests
url = "https://api.maxapi.ai/suno/v2/uploads/audio"
payload = { "url": "https://filesystem.site/cdn/20240722/7YSGZwU59FRhWzhRwWiL3A8pNmcJHC.mp3" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({url: 'https://filesystem.site/cdn/20240722/7YSGZwU59FRhWzhRwWiL3A8pNmcJHC.mp3'})
};
fetch('https://api.maxapi.ai/suno/v2/uploads/audio', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.maxapi.ai/suno/v2/uploads/audio"
payload := strings.NewReader("{\n \"url\": \"https://filesystem.site/cdn/20240722/7YSGZwU59FRhWzhRwWiL3A8pNmcJHC.mp3\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.maxapi.ai/suno/v2/uploads/audio")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"https://filesystem.site/cdn/20240722/7YSGZwU59FRhWzhRwWiL3A8pNmcJHC.mp3\"\n}")
.asString();{
"clip_id": "2e584f32-7ae3-4b2d-93f6-391f65a01f15",
"duration": 48.792
}musicsuno(upload)
POST
https://api.maxapi.ai
/
suno
/
v2
/
uploads
/
audio
musicsuno(upload)
curl --request POST \
--url https://api.maxapi.ai/suno/v2/uploads/audio \
--header 'Content-Type: application/json' \
--data '
{
"url": "https://filesystem.site/cdn/20240722/7YSGZwU59FRhWzhRwWiL3A8pNmcJHC.mp3"
}
'import requests
url = "https://api.maxapi.ai/suno/v2/uploads/audio"
payload = { "url": "https://filesystem.site/cdn/20240722/7YSGZwU59FRhWzhRwWiL3A8pNmcJHC.mp3" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({url: 'https://filesystem.site/cdn/20240722/7YSGZwU59FRhWzhRwWiL3A8pNmcJHC.mp3'})
};
fetch('https://api.maxapi.ai/suno/v2/uploads/audio', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.maxapi.ai/suno/v2/uploads/audio"
payload := strings.NewReader("{\n \"url\": \"https://filesystem.site/cdn/20240722/7YSGZwU59FRhWzhRwWiL3A8pNmcJHC.mp3\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.maxapi.ai/suno/v2/uploads/audio")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"https://filesystem.site/cdn/20240722/7YSGZwU59FRhWzhRwWiL3A8pNmcJHC.mp3\"\n}")
.asString();{
"clip_id": "2e584f32-7ae3-4b2d-93f6-391f65a01f15",
"duration": 48.792
}