AI モデル APIVideosJimeng形式
Jimeng ビデオ生成
Jimengの公式API形式によるビデオ生成インターフェース。
Actionパラメータを使用して操作タイプを指定できます:
CVSync2AsyncSubmitTask: ビデオ生成タスクの送信CVSync2AsyncGetResult: タスク結果の取得
ActionとVersionはクエリパラメータで指定する必要があります。
Authorization
BearerAuth
AuthorizationBearer <token>
Use Bearer Token authentication.
Format: Authorization: Bearer sk-xxxxxx
In: header
Query Parameters
Action*string
API operation type
Value in
"CVSync2AsyncSubmitTask" | "CVSync2AsyncGetResult"Version*string
API version
Request Body
application/json
req_key?string
Request type identifier
prompt?string
Text description
binary_data_base64?array<string>
Base64 encoded image data
Response Body
application/json
application/json
curl -X POST "https://api.aiai.com/jimeng/?Action=CVSync2AsyncSubmitTask&Version=string" \ -H "Content-Type: application/json" \ -d '{}'{
"code": 0,
"message": "string",
"data": {}
}{
"error": {
"message": "string",
"type": "string",
"param": "string",
"code": "string"
}
}