Now-api文档
  1. Udio
Now-api文档
  • 平台接口
    • 余额
      GET
  • OpenAI接口
    • 介绍
    • 导言
    • 身份验证
    • 发出请求
    • 参数详情
    • 音频(Audio)
      • 创建语音
      • 创建转录
      • 创建翻译
    • 聊天(Chat)
      • 聊天完成对象
      • 聊天完成块对象
      • 创建聊天补全
    • 自动补全(Completions)
      • 完成对象
      • 创建完成
    • 嵌入(Embeddings)
      • 嵌入对象
      • 创建嵌入
    • 图像(Images)
      • README
      • 图像对象
      • 创建图像
      • 创建图片编辑
      • 创建图像变体
    • 模型(Models)
      • 模型对象
      • 列出模型
      • 检索模型
  • 音乐模型
    • Suno
      • 说明
      • 创建音乐
      • 创建歌词
      • 批量获取任务
      • 查询单个任务
    • Udio
      • 创建音乐
        POST
      • 查询任务
        GET
  • 图像模型
    • MidJourney
      • 说明
      • 提交swap_face任务
      • 绘图变化(UPSCALE; VARIATION; REROLL)
      • 执行动作(所有的关联按钮动作UPSCALE; VARIATION; REROLL; ZOOM等)
      • 绘图变化-simple(UPSCALE; VARIATION; REROLL)
      • 提交Blend任务(图生图)
      • 提交Describe任务(图生文)
      • 提交Imagine任务(文生图、文图生图)
      • 提交Modal(提交局部重绘、ZOOM)
      • 提交Shorten任务(prompt分析)
    • ideogram
      • Generates(文生图)
      • Remix(混合图)
      • Upscale(放大高清)
      • Describe(描述)
  • 视频模型
    • Luma
      • 生成视频
      • 扩展视频
      • 获取下载地址
      • 获取任务
  1. Udio

查询任务

开发中
GET
{{BASE_URL}}/udio/fetch/{task_id}

请求参数

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
            }
        ]
    }
}
上一页
创建音乐
下一页
说明
Built with