AI model interfaceVideosDream format
Dream Video Generation
Dream official API format video generation interface.
Supports specifying the operation type through the Action parameter:
CVSync2AsyncSubmitTask: Submit video generation taskCVSync2AsyncGetResult: Get task result
Action and Version need to be specified in the query parameters.
Authorization
BearerAuth
AuthorizationBearer <token>
使用 Bearer Token 认证。
格式: Authorization: Bearer sk-xxxxxx
In: header
Query Parameters
Action*string
API 操作类型
Value in
"CVSync2AsyncSubmitTask" | "CVSync2AsyncGetResult"Version*string
API 版本
Request Body
application/json
req_key?string
请求类型标识
prompt?string
文本描述
binary_data_base64?array<string>
Base64 编码的图片数据
Response Body
application/json
application/json
curl -X POST "https://nodekey.xinghanyun.cn/jimeng/?Action=CVSync2AsyncSubmitTask&Version=string" \ -H "Content-Type: application/json" \ -d '{ "prompt": "手持镜头穿过清晨的咖啡店,阳光从窗边扫过桌面", "binary_data_base64": [] }'{
"code": 0,
"message": "string",
"data": {}
}{
"error": {
"message": "string",
"type": "string",
"param": "string",
"code": "string"
}
}Last updated on