Suno fetch
curl --request GET \
--url https://openp.ai/suno/fetch/{id}import requests
url = "https://openp.ai/suno/fetch/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://openp.ai/suno/fetch/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://openp.ai/suno/fetch/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://openp.ai/suno/fetch/{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://openp.ai/suno/fetch/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://openp.ai/suno/fetch/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyVideo & image generation
Suno fetch
GET /suno/fetch/ — poll a Suno task’s status
GET
/
suno
/
fetch
/
{id}
Suno fetch
curl --request GET \
--url https://openp.ai/suno/fetch/{id}import requests
url = "https://openp.ai/suno/fetch/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://openp.ai/suno/fetch/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://openp.ai/suno/fetch/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://openp.ai/suno/fetch/{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://openp.ai/suno/fetch/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://openp.ai/suno/fetch/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyGet the current status and result of a Suno music-generation task.
Request
curl https://openp.ai/suno/fetch/task_01... \
-H "Authorization: Bearer $OPENPAI_API_KEY"
Response
{
"code": "success",
"data": {
"task_id": "task_01...",
"status": "SUCCESS",
"progress": 100,
"clips": [
{
"id": "clip_a",
"title": "Rainy Night",
"audio_url": "https://...mp3",
"video_url": "https://...mp4",
"image_url": "https://...png",
"duration": 180,
"lyric": "...",
"tags": "lofi, hiphop",
"model_name": "chirp-v4"
},
{
"id": "clip_b",
"title": "Rainy Night",
"audio_url": "https://...mp3",
"duration": 175
}
]
}
}
status
| Value | Meaning |
|---|---|
PENDING | In the queue |
TEXT_GENERATING | Generating lyrics |
FIRST_SUCCESS | The first segment is ready (streamable) |
STREAMING | Streaming generation in progress |
SUCCESS | All complete |
FAILURE | Failed |
Batch query
curl -X POST https://openp.ai/suno/fetch \
-H "Authorization: Bearer $OPENPAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ids":["task_01","task_02"]}'
Notes
- Links like
audio_url/video_urlare usually accessible for only 24-48 hours — download them to your own storage promptly. - A task usually completes in 1-3 minutes; long tracks (continuations) may take longer.
- For failed tasks, check
failure_reasonfirst; common causes: upstream overload, upstream rejection, lyrics too long.