- 平台接口
- OpenAI接口
- 音乐模型
- 图像模型
- 视频模型
查询任务
开发中
GET
{{BASE_URL}}/udio/fetch/{task_id}
请求参数
Authorization
Path 参数
task_id
string
任务ID
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET '{{BASE_URL}}/udio/fetch/'
返回响应
🟢200成功
application/json
Body
code
string
必需
message
string
必需
data
object
必需
task_id
string
必需
action
string
必需
status
string
必需
fail_reason
string
必需
submit_time
integer
必需
start_time
integer
必需
finish_time
integer
必需
progress
string
必需
songs
array [object {31}]
必需
示例
{
"code": "string",
"message": "string",
"data": {
"task_id": "string",
"action": "string",
"status": "string",
"fail_reason": "string",
"submit_time": 0,
"start_time": 0,
"finish_time": 0,
"progress": "string",
"songs": [
{
"id": "string",
"tags": [
"string"
],
"liked": true,
"likes": 0,
"plays": 0,
"title": "string",
"artist": "string",
"lyrics": "string",
"prompt": "string",
"user_id": "string",
"disliked": true,
"duration": 0,
"error_id": null,
"finished": true,
"song_path": "string",
"user_tags": [
"string"
],
"created_at": "string",
"error_code": null,
"error_type": null,
"image_path": "string",
"video_path": null,
"attribution": "string",
"description": "string",
"publishable": true,
"artist_image": "string",
"error_detail": null,
"published_at": null,
"generation_id": "string",
"replaced_tags": {
"melodic, jazz, chill-out, smooth, atmospheric, 抒情, 夜晚": {
"tags": [
"string"
],
"type": "string"
},
"nu jazz, downtempo, chillout, electronic, lounge, vocal jazz, sensual, rhythmic, mellow, female vocalist, nocturnal, warm, peaceful, urban": {
"tags": [
"string"
],
"type": "string"
},
"romantic, night, soft, melodic, jazz, smooth jazz, town, lyrical": {
"tags": [
"string"
],
"type": "string"
},
"cool jazz, jazz, instrumental, acoustic, mellow, warm, soothing, nocturnal, improvisation, romantic, ballad, sentimental, love, sensual, melodic, calm": {
"tags": [
"string"
],
"type": "string"
}
},
"original_song_path": null,
"audio_conditioning_type": null
}
]
}
}
修改于 2025-04-02 12:01:56