{
"contentType": "application/json",
"properties": {
"base64": {
"description": "原图 base64,前端与 image 传同一值。透传给上游",
"examples": [
"data:image/png;base64,IMG..."
],
"type": "string",
"x-i18n": {
"en-US": {
"description": "Original image base64; same value as image on the client; pass-through"
}
}
},
"image": {
"description": "原图 base64(带前缀:data:image/png;base64,...),图生视频的底图。透传给上游,后端结构体未声明",
"examples": [
"data:image/png;base64,IMG..."
],
"type": "string",
"x-i18n": {
"en-US": {
"description": "Original image base64 (data URL prefix). I2V base image; pass-through; not declared in backend struct"
}
}
},
"mode": {
"description": "生成模式(透传给上游)。FAST(默认)/RELAX/TURBO",
"enum": [
"FAST",
"RELAX",
"TURBO"
],
"examples": [
"FAST"
],
"type": "string",
"x-apifox-enum": [
{
"description": "默认",
"name": "",
"value": "FAST"
},
{
"description": "",
"name": "",
"value": "RELAX"
},
{
"description": "",
"name": "",
"value": "TURBO"
}
],
"x-i18n": {
"en-US": {
"description": "Generation mode (pass-through). FAST(default)/RELAX/TURBO"
}
}
},
"motion": {
"description": "运动强度(透传给上游)。low(默认)/high",
"enum": [
"low",
"high"
],
"examples": [
"low"
],
"type": "string",
"x-apifox-enum": [
{
"description": "默认",
"name": "",
"value": "low"
},
{
"description": "",
"name": "",
"value": "high"
}
],
"x-i18n": {
"en-US": {
"description": "Motion strength (pass-through). low(default)/high"
}
}
},
"notifyHook": {
"description": "回调地址, 为空时使用全局notifyHook",
"type": "string",
"x-i18n": {
"en-US": {
"description": "Callback URL; falls back to the global notifyHook when empty"
}
}
},
"prompt": {
"description": "视频内容/运动描述",
"examples": [
"the cat slowly blinks and looks around"
],
"type": "string",
"x-i18n": {
"en-US": {
"description": "video content / motion description"
}
}
},
"state": {
"description": "自定义参数",
"type": "string",
"x-i18n": {
"en-US": {
"description": "The quality of the image that will be generated. `hd` creates images with finer detail and greater consistency. This parameter only supports `dall-e-3`."
}
}
},
"taskId": {
"description": "可选。若对【已有 MJ 任务】生成视频,传该任务 ID(走后端 relay-mj.go:690 分支,需要 taskId);图生视频(传 image)则不需要",
"type": "string",
"x-i18n": {
"en-US": {
"description": "Optional. For video from an existing MJ task, pass that task ID (relay-mj.go:690 needs taskId); not needed for I2V with image"
}
}
}
},
"required": [
"prompt",
"image"
]
}