图生视频(增强版功能)
接口: POST https://4zapi.com/mj/submit/video
请求体 (application/json)
image(string, 必填): 原图 base64(带前缀:data:image/png;base64,...),图生视频的底图。透传给上游,后端结构体未声明prompt(string, 必填): 视频内容/运动描述base64(string): 原图 base64,前端与 image 传同一值。透传给上游mode(string): 生成模式(透传给上游)。FAST(默认)/RELAX/TURBO ["FAST", "RELAX", "TURBO"]motion(string): 运动强度(透传给上游)。low(默认)/high ["low", "high"]notifyHook(string): 回调地址, 为空时使用全局notifyHookstate(string): 自定义参数taskId(string): 可选。若对【已有 MJ 任务】生成视频,传该任务 ID(走后端 relay-mj.go:690 分支,需要 taskId);图生视频(传 image)则不需要