跳转到主要内容
POST
ACE Music Tasks

授权

Authorization
string
header
必填

请求体

application/json

Page and page_size cannot be mixed with limit or offset. The resulting offset must not exceed 10000. Missing or foreign task IDs return 404 on retrieve and are omitted from batch results.

action
enum<string>
必填
可用选项:
retrieve
id
string
必填
ids
string[]
Required array length: 1 - 100 elements
page
integer
默认值:1
必填范围: 1 <= x <= 10001
page_size
integer
默认值:20
必填范围: 1 <= x <= 100
type
enum<string>

Optional history type filter.

可用选项:
audios,
lyrics
limit
integer

Alternative history page size; use page/page_size or limit/offset consistently.

必填范围: 1 <= x <= 100
offset
integer
必填范围: 0 <= x <= 10000
created_at_min
number

Inclusive creation-time lower bound, Unix seconds.

必填范围: x >= 0
created_at_max
number

Inclusive creation-time upper bound, Unix seconds.

必填范围: x >= 0

响应

Request accepted or result available. Inspect the task state before treating generation as complete.

id
string
必填
state
string
status
string
created_at
number
finished_at
number | null
request
object

The caller-owned public creation parameters.

response
object
type
enum<string>

Audio tasks include generate, upload, cover and mashup. Lyrics tasks use lyrics.

可用选项:
audios,
lyrics
trace_id
string
started_at
number
elapsed
number
必填范围: x >= 0