获取歌词
curl --request GET \
--url https://api.maxapi.ai/suno/v1/v3.0/lyrics/idimport requests
url = "https://api.maxapi.ai/suno/v1/v3.0/lyrics/id"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.maxapi.ai/suno/v1/v3.0/lyrics/id', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.maxapi.ai/suno/v1/v3.0/lyrics/id"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.maxapi.ai/suno/v1/v3.0/lyrics/id")
.asString();{
"code": 200,
"data": {
"task_id": "0af7cdc7-5d21-4361-bd05-111111111111",
"input": "{\"prompt\":\"elon musk in the house\"}",
"status": "completed",
"title": "Electric Dreams",
"text": "[Verse]\nTesla riding\nBatteries flying\nElon Musk\nHe's got the future on his mind\nSolar panels shining\nRockets reaching for the skies\nInnovation's flowing\nHe's the tech wizard of our times\n\n[Verse]\nNeuralink connecting minds\nAI running wild\nMars colonization\nHe's making it his style\nFrom PayPal he came and shook the world with his touch\nElon Musk\nThe eccentric genius\nHe's too much\n\n[Chorus]\nElon Musk\nHe's the man with electric dreams\nChanging the world with his technology schemes\nFrom PayPal to SpaceX\nHe's a force to be seen\nElectric cars and rockets\nHe's living the dream"
},
"message": "success"
}GET
https://api.maxapi.ai
/
suno
/
v1
/
v3.0
/
lyrics
/
id
获取歌词
curl --request GET \
--url https://api.maxapi.ai/suno/v1/v3.0/lyrics/idimport requests
url = "https://api.maxapi.ai/suno/v1/v3.0/lyrics/id"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.maxapi.ai/suno/v1/v3.0/lyrics/id', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.maxapi.ai/suno/v1/v3.0/lyrics/id"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.maxapi.ai/suno/v1/v3.0/lyrics/id")
.asString();{
"code": 200,
"data": {
"task_id": "0af7cdc7-5d21-4361-bd05-111111111111",
"input": "{\"prompt\":\"elon musk in the house\"}",
"status": "completed",
"title": "Electric Dreams",
"text": "[Verse]\nTesla riding\nBatteries flying\nElon Musk\nHe's got the future on his mind\nSolar panels shining\nRockets reaching for the skies\nInnovation's flowing\nHe's the tech wizard of our times\n\n[Verse]\nNeuralink connecting minds\nAI running wild\nMars colonization\nHe's making it his style\nFrom PayPal he came and shook the world with his touch\nElon Musk\nThe eccentric genius\nHe's too much\n\n[Chorus]\nElon Musk\nHe's the man with electric dreams\nChanging the world with his technology schemes\nFrom PayPal to SpaceX\nHe's a force to be seen\nElectric cars and rockets\nHe's living the dream"
},
"message": "success"
}