Beta ACE Music Tasks API
POSThttps://api.01ai.cloud/acemusic/tasks
무료로 권한이 부여된 개인 작업 및 이력을 조회하며, 일괄 조회와 페이지네이션을 지원합니다.
요청 헤더
authorizationstring
Bearer token
요청 본문
idstring
idsarray
pageinteger
typestring
Optional history type filter.
선택해 주세요
limitinteger
Alternative history page size; use page/page_size or limit/offset consistently.
actionstring필수 매개변수
offsetinteger
page_sizeinteger
created_at_maxnumber
Inclusive creation-time upper bound, Unix seconds.
created_at_minnumber
Inclusive creation-time lower bound, Unix seconds.
응답
성공200
Request accepted or result available. Inspect the task state before treating generation as complete.
응답 본문
idstring
typestring
Operation that created the original task. Asset imports can be retrieved by their original task ID.
statestring
statusstring
elapsednumber
requestobject
The caller-owned public creation parameters.
namestring
Optional display name for an upload.
typestring
Reference asset type. It must match the imported asset.
asyncboolean
lyricstring
modelstring
stylestring
titlestring
actionstring
customboolean
promptstring
asset_idstring
The platform asset ID from a successful import owned by this caller.
audio_idstring
Public platform track ID owned by the caller. Required for cover; optional on upload to associate the import with an existing reference track.
audio_urlstring
HTTPS URL of an MP3 source file for upload. Use audio_id or mashup_audio_ids for already imported or generated tracks.
asset_typestring
Reference asset type. It must match the imported asset.
audio_influencenumber
Audio reference strength for cover and mashup. Defaults to 60.
mashup_audio_idsarray
Exactly two distinct caller-owned public track IDs. The selected references must be compatible with each other.
배열
string
responseobject
dataoneOf
Tracks, generated lyrics, or the public object delivered by a successful asset import.
oneOf 1
배열
anyOf 1
idstring
lyricstring
modelstring
statestring
stylestring
titlestring
durationnumber
audio_urlstring
image_urlstring
created_atstring
anyOf 2
textstring
titlestring
oneOf 2
idstring
The platform asset ID from a successful import owned by this caller.
namestring
typestring
Reference asset type. It must match the imported asset.
statusstring
expires_atnumber
Unix time in seconds when known.
duration_secondsnumber
Verified input video duration in seconds when available.
errorobject
codestring
messagestring
statusstring
successboolean
task_idstring
trace_idstring
trace_idstring
created_atnumber
started_atnumber
finished_atnumber
성공200
Request accepted or result available. Inspect the task state before treating generation as complete.
응답 본문
countinteger
itemsarray
배열
idstring
typestring
Operation that created the original task. Asset imports can be retrieved by their original task ID.
statestring
statusstring
elapsednumber
requestobject
The caller-owned public creation parameters.
namestring
Optional display name for an upload.
typestring
Reference asset type. It must match the imported asset.
asyncboolean
lyricstring
modelstring
stylestring
titlestring
actionstring
customboolean
promptstring
asset_idstring
The platform asset ID from a successful import owned by this caller.
audio_idstring
Public platform track ID owned by the caller. Required for cover; optional on upload to associate the import with an existing reference track.
audio_urlstring
HTTPS URL of an MP3 source file for upload. Use audio_id or mashup_audio_ids for already imported or generated tracks.
asset_typestring
Reference asset type. It must match the imported asset.
audio_influencenumber
Audio reference strength for cover and mashup. Defaults to 60.
mashup_audio_idsarray
Exactly two distinct caller-owned public track IDs. The selected references must be compatible with each other.
배열
string
responseobject
dataoneOf
Tracks, generated lyrics, or the public object delivered by a successful asset import.
oneOf 1
배열
anyOf 1
idstring
lyricstring
modelstring
statestring
stylestring
titlestring
durationnumber
audio_urlstring
image_urlstring
created_atstring
anyOf 2
textstring
titlestring
oneOf 2
idstring
The platform asset ID from a successful import owned by this caller.
namestring
typestring
Reference asset type. It must match the imported asset.
statusstring
expires_atnumber
Unix time in seconds when known.
duration_secondsnumber
Verified input video duration in seconds when available.
errorobject
codestring
messagestring
statusstring
successboolean
task_idstring
trace_idstring
trace_idstring
created_atnumber
started_atnumber
finished_atnumber
성공200
Request accepted or result available. Inspect the task state before treating generation as complete.
응답 본문
object
실패400
Invalid request or unsupported model.
응답 본문
errorobject
codestring
messagestring
successboolean
task_idstring
trace_idstring
실패401
Invalid credentials.
응답 본문
errorobject
codestring
messagestring
successboolean
task_idstring
trace_idstring
실패402
Insufficient balance for a paid operation.
응답 본문
errorobject
codestring
messagestring
successboolean
task_idstring
trace_idstring
실패403
Access denied or content rejected.
응답 본문
errorobject
codestring
messagestring
successboolean
task_idstring
trace_idstring
실패404
Task not found for this caller.
응답 본문
errorobject
codestring
messagestring
successboolean
task_idstring
trace_idstring
실패409
Idempotency key reused with a different request.
응답 본문
errorobject
codestring
messagestring
successboolean
task_idstring
trace_idstring
실패429
Rate limit exceeded.
응답 본문
errorobject
codestring
messagestring
successboolean
task_idstring
trace_idstring
실패500
Service failure.
응답 본문
errorobject
codestring
messagestring
successboolean
task_idstring
trace_idstring

Integration workbench
Shell
Python
JavaScript
Java
Go
PHP
참고: 스트리밍 요청의 경우 위의 코드가 완전히 적용되지 않을 수 있습니다. 변경 사항은 통합 문서를 참조하십시오.
ACE 음악
공용 잔액 사용 허용
‘일반 잔액 허용’을 활성화하면 전용 잔액이 부족할 경우 자동으로 일반 잔액을 사용합니다.

