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ミュージック
一般残高の使用を許可
「一般残高を許可」を有効にすると、専用残高が不足した場合、自動的に一般残高が使用されます。

