الانتقال إلى المحتوى الرئيسي
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>

Operation that created the original task. Asset imports can be retrieved by their original task ID.

الخيارات المتاحة:
audios,
lyrics,
assets
trace_id
string
started_at
number
elapsed
number
النطاق المطلوب: x >= 0