- 指南
- 获取 Base URL 和 API Key
- 通知设置-WebHook参数介绍
- 配置方式
- 列出模型
- 聊天(Chat)
- RAG(嵌入、重排序
- 视频模型
- 数字人
- 绘图模型
- 生图模型简介
- OpenAI Dall-e 格式
- OpenAI 聊天格式
- Mid journey 文生图
- Flux 文生图
- Ideogram(官方格式
- recraft 官方格式
- 快手可灵(官方格式)
- SeedEdit(图片编辑
- Replicate
- 接入教程
- 获取任务进度(predictions (免费
- 创建任务-通过模型version(predictions)
- 创建任务-通过url路径
- 创建任务-stability-ai/stable-diffusion
- 创建任务-stability-ai/sdxl
- 创建任务-stability-ai/stable-diffusion-inpainting
- 创建任务-stability-ai/stable-diffusion-img2img
- 创建任务-lucataco/flux-schnell-lora
- 创建任务-lucataco/flux-dev-lora
- 创建任务-andreasjansson/stable-diffusion-animation
- 创建任务-lucataco/animate-diff
- 创建任务-sujaykhandekar/object-removal
- 创建任务-cjwbw/rembg
- 创建任务-black-forest-labs/flux-1.1-pro
- 创建任务-black-forest-labs/flux-1.1-pro-ultra
- 创建任务-black-forest-labs/flux-dev
- 创建任务-black-forest-labs/flux-pro
- 创建任务-black-forest-labs/flux-schnell
- 创建任务-minimax/video-01-live
- 创建任务-minimax/video-01
- 创建任务-recraft-ai/recraft-v3
- 创建任务-recraft-ai/recraft-v3-svg
- 创建任务-ideogram-ai/ideogram-v2-turbo
- 豆包智能绘图
- 音频接口
- Suno文生歌
- 补充
- 音乐生成参数介绍
- 场景一: 灵感模式
- 场景二: 自定义.歌词歌名
- 场景三: 纯音乐.自定义
- 场景四: 纯音乐.灵感模式
- 场景五: 续写自定义音频
- 场景六: 续写音乐并获取完整音乐
- 场景七: Cover 音乐翻版\修改风格
- 场景八: Replace Section.替换片段
- 场景九: Persona.歌手风格
- 场景十: 上传续写
- 生成歌曲(灵感模式)
- 生成歌曲(自定义模式)
- 生成歌曲(续写模式)
- 生成歌曲(歌手风格)
- 生成歌曲(上传歌曲二次创作)
- 生成歌曲(拼接歌曲)
- 生成歌词
- 上传请求
- 报告上传完毕
- 查询上传处理状态
- 初始化音频文件
- Persona:创建歌手风格
- 查询歌词
- 查询歌曲
- 批量获取任务
- 声曲分离
- Timing:歌词、音频时间线
- wav:获取 wav 格式文件
- mp4:生成 mp4 mv 视频
- 上传音乐通过 url
- 生成歌曲 (v1 版本)
- 拼接歌曲 (v1 版本)
- 生成歌词 (v1 版本)
- 查询歌曲 (v1 版本)
- 查询歌词 (v1 版本)
- OpenAI(TTS\Wishper
- Suno文生歌
- 文件上传(Files)
- PPT接口
- 帮助中心
- 平台API
- 废弃、未开放
获取任务进度(免费
GET
{{BASE_URL}}/udio/fetch/{task_id}
最后修改时间:2024-11-15 07:37:20
请求参数
Path 参数
task_id
string
任务ID
Header 参数
Authorization
string
可选
示例值:
sk-xxx
示例代码
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/' \
--header 'Authorization: sk-xxx'
返回响应
🟢200成功
application/json
Body
code
string
必需
message
string
必需
data
object
必需
task_id
string
必需
notify_hook
string
必需
action
string
必需
status
string
必需
fail_reason
string
必需
submit_time
integer
必需
start_time
integer
必需
finish_time
integer
必需
progress
string
必需
data
object
必需
示例
{
"code": "success",
"message": "",
"data": {
"task_id": "4232a6c9-c293-4eec-b396-e78221120e13",
"notify_hook": "",
"action": "udio-generate",
"status": "SUCCESS",
"fail_reason": "",
"submit_time": 1730993284,
"start_time": 1730993497,
"finish_time": 1730993911,
"progress": "100%",
"data": {
"songs": [
{
"artist": "TraditionalTabla2803",
"artist_image": "https://lh3.googleusercontent.com/a/ACg8ocLyeNbOgAtI0tmcohNAV7C9hRnIVlGqaeOOcW0ZSgg4VQEYXQ=s96-c",
"attribution": "",
"audio_conditioning_type": null,
"created_at": "2024-11-07T15:24:52.280417+00:00",
"description": "",
"disliked": false,
"duration": 32.8106666666667,
"error_code": null,
"error_detail": null,
"error_id": null,
"error_type": null,
"finished": true,
"generation_id": "4232a6c9-c293-4eec-b396-e78221120e13",
"id": "2ff9b3fb-842b-4a70-9708-61210edc2867",
"image_path": "https://imagedelivery.net/C9yUr1FL21Q6JwfYYh2ozQ/63006f79-2b52-4784-9975-0a8dbbc7c200/public",
"liked": false,
"likes": 0,
"lyrics": "[Verse]\n夜燈微微閃爍心\n伴隨回憶慢慢進入夢境\n愛曾在時間中沉靜\n遺忘的樂章重新喚醒\n[Chorus]\n愛的旋律永不凋零\n情感的波浪輕輕震動",
"original_song_path": null,
"plays": 0,
"prompt": "周杰伦",
"publishable": true,
"published_at": null,
"replaced_tags": {
"male vocalist, adult contemporary, pop soul, pop, love, mellow, melodic, romantic": {
"tags": [
"male vocalist",
"pop",
"pop soul",
"melodic",
"love",
"romantic",
"adult contemporary",
"mellow"
],
"type": "tags"
},
"melodic, emotional, contemporary, R&B, male vocalist, mandopop": {
"tags": [
"male vocalist",
"adult contemporary",
"pop soul",
"pop",
"love",
"mellow",
"melodic",
"romantic"
],
"type": "tags"
}
},
"song_path": "https://storage.googleapis.com/udio-artifacts-c33fe3ba-3ffe-471f-92c8-5dfef90b3ea3/samples/5945acbaf0094ba19b246932c4534ed2/1/Eternal%2520Waves%2520of%2520Emotion.mp3",
"tags": [
"male vocalist",
"pop",
"pop soul",
"melodic",
"love",
"romantic",
"adult contemporary",
"mellow"
],
"title": "Eternal Waves of Emotion",
"user_id": "289624f6-c4f0-4a22-a1f4-43d8bac3a9b2",
"user_tags": [],
"video_path": null
},
{
"artist": "TraditionalTabla2803",
"artist_image": "https://lh3.googleusercontent.com/a/ACg8ocLyeNbOgAtI0tmcohNAV7C9hRnIVlGqaeOOcW0ZSgg4VQEYXQ=s96-c",
"attribution": "",
"audio_conditioning_type": null,
"created_at": "2024-11-07T15:24:52.280417+00:00",
"description": "",
"disliked": false,
"duration": 32.8106666666667,
"error_code": null,
"error_detail": null,
"error_id": null,
"error_type": null,
"finished": true,
"generation_id": "4232a6c9-c293-4eec-b396-e78221120e13",
"id": "f4307fca-13bb-4fdc-bd6a-db8459a81a51",
"image_path": "https://imagedelivery.net/C9yUr1FL21Q6JwfYYh2ozQ/172352d3-1199-4b2f-2e46-05fef728ce00/public",
"liked": false,
"likes": 0,
"lyrics": "[Verse]\n當你靠近我的心跳 (越來越快)\n浪漫燈光下的微笑 (無可比擬)\n每個細節都記得 (難以忘懷)\n愛的旋律中如夢行走 (甜蜜)\n\n[Chorus]\n握住你的手 感受心的魔法\n就讓我們愛 直到天荒地老",
"original_song_path": null,
"plays": 0,
"prompt": "周杰伦",
"publishable": true,
"published_at": null,
"replaced_tags": {
"male vocalist, pop, romantic, melodic, love": {
"tags": [
"male vocalist",
"pop",
"melodic",
"romantic",
"love"
],
"type": "tags"
},
"melodic, romantic, male vocalist, Mandopop, catchy, pop": {
"tags": [
"male vocalist",
"pop",
"romantic",
"melodic",
"love"
],
"type": "tags"
}
},
"song_path": "https://storage.googleapis.com/udio-artifacts-c33fe3ba-3ffe-471f-92c8-5dfef90b3ea3/samples/5945acbaf0094ba19b246932c4534ed2/2/Echoes%2520of%2520Affection.mp3",
"tags": [
"male vocalist",
"pop",
"melodic",
"romantic",
"love"
],
"title": "Echoes of Affection",
"user_id": "289624f6-c4f0-4a22-a1f4-43d8bac3a9b2",
"user_tags": [],
"video_path": null
}
]
}
}
}