Skip to content

inference.wan2-7.img2vid.v1

{
"type": "object",
"required": [
"type",
"config"
],
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"enum": [
"inference.wan2-7.img2vid.v1"
]
},
"config": {
"type": "object",
"additionalProperties": false,
"properties": {
"image": {
"type": "string",
"format": "filename",
"description": "First-frame image to animate into a video.",
"examples": [
"first_frame.png",
"input.jpg"
]
},
"last_frame": {
"type": "string",
"format": "filename",
"description": "Last-frame image for start-end interpolation. Used with image to generate a video transitioning between the two frames.",
"examples": [
"last_frame.png",
"end.jpg"
]
},
"audio": {
"type": "string",
"format": "filename",
"description": "Driving audio for lip-sync and action timing. Supported formats: WAV, MP3. Duration: 2-30 seconds, max 15 MB. Audio exceeding video duration is trimmed; shorter audio creates silent portions.",
"examples": [
"speech.mp3",
"audio.wav"
]
},
"prompt": {
"type": "string",
"maxLength": 5000,
"description": "Text description of the desired video content and motion.",
"examples": [
"A cat walking through a garden"
]
},
"negative_prompt": {
"type": "string",
"maxLength": 500,
"description": "Description of content to exclude from the video.",
"examples": [
"low resolution, error, worst quality, deformed"
]
},
"resolution": {
"type": "string",
"default": "720P",
"enum": [
"720P",
"1080P"
],
"description": "Resolution tier of the generated video. Aspect ratio is preserved from the input image."
},
"duration": {
"type": "integer",
"minimum": 2,
"maximum": 15,
"default": 5,
"description": "Duration of the generated video in seconds (2-15)."
},
"seed": {
"type": "integer",
"minimum": 0,
"maximum": 2147483647,
"description": "A randomness initializer for video reproducibility.",
"examples": [
42,
12345
]
},
"prompt_extend": {
"type": "boolean",
"default": true,
"description": "Enable intelligent prompt rewriting for better results."
}
}
}
}
}