image-to-video
Convert static images into dynamic videos using Vidu API. Specify duration, resolution, and movement amplitude for customized video generation. Supports text prompts for enhanced creative control.
Instructions
Generate a video from an image using Vidu API
Input Schema
Name | Required | Description | Default |
---|---|---|---|
duration | No | Duration of the output video in seconds (4 or 8) | |
image_url | Yes | URL of the image to convert to video | |
model | No | Model name for generation | vidu2.0 |
movement_amplitude | No | Movement amplitude of objects in the frame | auto |
prompt | No | Text prompt for video generation (max 1500 chars) | |
resolution | No | Resolution of the output video | 720p |
seed | No | Random seed for reproducibility |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"duration": {
"default": 4,
"description": "Duration of the output video in seconds (4 or 8)",
"maximum": 8,
"minimum": 4,
"type": "integer"
},
"image_url": {
"description": "URL of the image to convert to video",
"format": "uri",
"type": "string"
},
"model": {
"default": "vidu2.0",
"description": "Model name for generation",
"enum": [
"vidu1.0",
"vidu1.5",
"vidu2.0"
],
"type": "string"
},
"movement_amplitude": {
"default": "auto",
"description": "Movement amplitude of objects in the frame",
"enum": [
"auto",
"small",
"medium",
"large"
],
"type": "string"
},
"prompt": {
"description": "Text prompt for video generation (max 1500 chars)",
"maxLength": 1500,
"type": "string"
},
"resolution": {
"default": "720p",
"description": "Resolution of the output video",
"enum": [
"360p",
"720p",
"1080p"
],
"type": "string"
},
"seed": {
"description": "Random seed for reproducibility",
"type": "integer"
}
},
"required": [
"image_url"
],
"type": "object"
}