Producer Videos API
POSThttps://api.yxai-tech.top/producer/videos
AceData Producer 音楽 MP4 ファイル取得 API、audio_id を渡すと、カバー付きの MP4 ビデオファイルのダウンロードリンクを返します。
リクエストヘッダー
acceptstring
指定サーバーが返すレスポンスフォーマット。
選択してください
authorizationstring
Bearer token
リクエストボディ
audio_idstring必須パラメータ
参考音声の ID。
レスポンス
成功200
リクエストは成功し、サーバーは正常に処理され、結果を返しました。
レスポンスボディ
dataobject
リクエストが成功した際に返される結果オブジェクトには、今回の生成タスクの `audio_id` などの情報が含まれています。
audio_idstring
successboolean
このリクエストが成功したかどうかを示すブールフラグ。
例
{
"data": {
"audio_id": "eae26f89-b64b-404d-a80c-761996660b1c"
},
"success": true
}失敗400token_mismatched
リクエストエラー、パラメータが欠落しているか無効である可能性があります。
レスポンスボディ
errorobject
codestring
応答のエラーコード。
messagestring
応答のエラーメッセージ。
trace_idstring
本次リクエストのトラッキング ID。
例
{
"error": {
"code": "token_mismatched",
"message": "The specified token is not matched with API."
},
"trace_id": "2efa9340-b21b-4e26-9e14-4aac95f343ab"
}失敗400api_not_implemented
リクエストエラー、パラメータが欠落しているか無効である可能性があります。
レスポンスボディ
errorobject
codestring
応答のエラーコード。
messagestring
応答のエラーメッセージ。
trace_idstring
本次リクエストのトラッキング ID。
例
{
"error": {
"code": "api_not_implemented",
"message": "The API is not implemented."
},
"trace_id": "2efa9340-b21b-4e26-9e14-4aac95f343ab"
}失敗400disabled
リクエストエラー、パラメータが欠落しているか無効である可能性があります。
レスポンスボディ
errorobject
codestring
応答のエラーコード。
messagestring
応答のエラーメッセージ。
trace_idstring
本次リクエストのトラッキング ID。
例
{
"error": {
"code": "disabled",
"message": "Your application has been disabled by Ace Data Cloud due to abnormal usage behavior, please contact our support to get more information."
},
"trace_id": "2efa9340-b21b-4e26-9e14-4aac95f343ab"
}失敗400bad_request
リクエストエラー、パラメータが欠落しているか無効である可能性があります。
レスポンスボディ
errorobject
codestring
応答のエラーコード。
messagestring
応答のエラーメッセージ。
trace_idstring
本次リクエストのトラッキング ID。
例
{
"error": {
"code": "bad_request",
"message": "model is invalid."
},
"trace_id": "2efa9340-b21b-4e26-9e14-4aac95f343ab"
}失敗400no_token
リクエストエラー、パラメータが欠落しているか無効である可能性があります。
レスポンスボディ
errorobject
codestring
応答のエラーコード。
messagestring
応答のエラーメッセージ。
trace_idstring
本次リクエストのトラッキング ID。
例
{
"error": {
"code": "no_token",
"message": "No token specified for the request."
},
"trace_id": "2efa9340-b21b-4e26-9e14-4aac95f343ab"
}失敗401invalid_token
未承認、認証トークンが無効または欠落しています。
レスポンスボディ
errorobject
codestring
応答のエラーコード。
messagestring
応答のエラーメッセージ。
trace_idstring
本次リクエストのトラッキング ID。
例
{
"error": {
"code": "invalid_token",
"message": "The specified token is invalid or wrong."
},
"trace_id": "2efa9340-b21b-4e26-9e14-4aac95f343ab"
}失敗401token_expired
未承認、認証トークンが無効または欠落しています。
レスポンスボディ
errorobject
codestring
応答のエラーコード。
messagestring
応答のエラーメッセージ。
trace_idstring
本次リクエストのトラッキング ID。
例
{
"error": {
"code": "token_expired",
"message": "token expired."
},
"trace_id": "2efa9340-b21b-4e26-9e14-4aac95f343ab"
}失敗401token_mismatched
未承認、認証トークンが無効または欠落しています。
レスポンスボディ
errorobject
codestring
応答のエラーコード。
messagestring
応答のエラーメッセージ。
trace_idstring
本次リクエストのトラッキング ID。
例
{
"error": {
"code": "token_mismatched",
"message": "token and api does not match."
},
"trace_id": "2efa9340-b21b-4e26-9e14-4aac95f343ab"
}失敗403used_up
未承認、認証トークンが無効または欠落しています。
レスポンスボディ
errorobject
codestring
応答のエラーコード。
messagestring
応答のエラーメッセージ。
trace_idstring
本次リクエストのトラッキング ID。
失敗404no_api
未承認、トークンが無効または欠落しています。
レスポンスボディ
errorobject
codestring
応答のエラーコード。
messagestring
応答のエラーメッセージ。
trace_idstring
本次リクエストのトラッキング ID。
失敗429too_many_requests
リクエストが多すぎて、レート制限を超えました。
レスポンスボディ
errorobject
codestring
応答のエラーコード。
messagestring
応答のエラーメッセージ。
trace_idstring
本次リクエストのトラッキング ID。
失敗500api_error
サーバー内部エラー、サーバーで例外が発生しました。
レスポンスボディ
errorobject
codestring
応答のエラーコード。
messagestring
応答のエラーメッセージ。
trace_idstring
本次リクエストのトラッキング ID。

Integration workbench
Shell
Python
JavaScript
Java
Go
PHP
注意:ストリーミングリクエストの場合、上記のコードは完全には適用されない可能性があります。変更のために統合ドキュメントを参照してください。
プロデューサー 音楽生成
一般残高の使用を許可
「一般残高を許可」を有効にすると、専用残高が不足した場合、自動的に一般残高が使用されます。

