上传音频
Producer
上传音频
上传音频文件进行处理
POST
上传音频
通过 URL 上传音频文件。上传的音频可用于音轨分离和其他操作。
支持的格式:MP3、WAV、FLAC、M4A、AAC、OGG、WMA、OPUS
时长限制:最长 4 分钟
这是一个异步任务。响应中包含一个
taskId — 使用获取任务状态来轮询结果,结果中包含后续操作所需的 audioId。授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
请求体
application/json
Audio file URL (http/https supported). Supported formats: .mp3, .wav, .flac, .m4a, .aac, .ogg, .wma, .opus Duration limit: max 4 minutes
Pattern:
AUDIO_EXTENSION_REGEX示例:
"https://example.com/song.mp3"
响应
任务创建成功
任务 ID,用于后续查询结果