task_id
参数 | 值 | 说明 |
---|---|---|
--video | 1 | 启用视频生成 |
--motion | low / high | 动态效果强度 |
{
"prompt": "https://cdn.midjourney.com/xxx.png add a dog --motion high --video 1",
"base64": "",
"notifyHook": "",
"state": ""
}
视频任务新参数支持
loop:支持循环播放视频
endImage:支持自定义视频结束时显示的图像
curl --location --request POST 'https://api.deerapi.com/mj/submit/imagine' \
--header 'Authorization: Bearer {{api-key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"botType": "MID_JOURNEY",
"prompt": "Cat",
"accountFilter": {
"modes": [
"FAST"
]
}
}'
{
"code": 1,
"description": "提交成功",
"properties": {},
"result": 1320098173412546
}