get video
curl --request POST \
--url https://api.siliconflow.com/v1/video/status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"requestId": "<string>"
}
'import requests
url = "https://api.siliconflow.com/v1/video/status"
payload = { "requestId": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({requestId: '<string>'})
};
fetch('https://api.siliconflow.com/v1/video/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "Succeed",
"reason": "<string>",
"results": {
"videos": [
{
"url": "<string>"
}
],
"timings": {
"inference": 123
},
"seed": 123
}
}{
"code": 20012,
"message": "<string>",
"data": "<string>"
}"Invalid token""404 page not found"{
"code": 50505,
"message": "Model service overloaded. Please try again later.",
"data": "<string>"
}"<string>"Video
Retrieve video
Get the user-generated video. The URL for the generated video is valid for one hour. Please make sure to download and store it promptly to avoid any issues due to URL expiration.
POST
/
video
/
status
get video
curl --request POST \
--url https://api.siliconflow.com/v1/video/status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"requestId": "<string>"
}
'import requests
url = "https://api.siliconflow.com/v1/video/status"
payload = { "requestId": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({requestId: '<string>'})
};
fetch('https://api.siliconflow.com/v1/video/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "Succeed",
"reason": "<string>",
"results": {
"videos": [
{
"url": "<string>"
}
],
"timings": {
"inference": 123
},
"seed": 123
}
}{
"code": 20012,
"message": "<string>",
"data": "<string>"
}"Invalid token""404 page not found"{
"code": 50505,
"message": "Model service overloaded. Please try again later.",
"data": "<string>"
}"<string>"Authorizations
Body
application/json
The requestId returned by the interface submit.