← Back to Models

ziframe/video

Auto-mode template for video generation. Frontend selects the actual model based on context.

template ziframe

Pricing

No pricing information available.

Input Parameters

Prompt required string

What to create or how to animate the image

Image string

Optional: provide an image to animate. If provided, switches to image-to-video model.

Duration integer

Duration of the generated video in seconds

Default: 5

Options: 5, 10

Resolution string

Video resolution

Default: 720p

Options: 720p, 1080p

Directives

Advanced Keys:
Hidden Keys:
Raw JSON
{
    "identifier": "ziframe/video",
    "type": "template",
    "category": "ziframe",
    "description": "Auto-mode template for video generation. Frontend selects the actual model based on context.",
    "auto_mode": {
        "description": "Frontend auto-selects model based on whether an image file is loaded",
        "text_only": {
            "model": "wan-25-preview/text-to-video",
            "display": "WAN 2.5 Text-to-Video"
        },
        "with_image": {
            "model": "wan-25-preview/image-to-video",
            "display": "WAN 2.5 Image-to-Video"
        }
    },
    "directives": {
        "isTemplate": true,
        "advancedKeys": [],
        "hiddenKeys": [],
        "imageKeys": [
            "image"
        ]
    },
    "inputSchema": {
        "type": "object",
        "title": "Input",
        "description": "Common input schema for auto-mode video generation",
        "required": [
            "prompt"
        ],
        "properties": {
            "prompt": {
                "type": "string",
                "title": "Prompt",
                "x-order": 0,
                "description": "What to create or how to animate the image"
            },
            "image": {
                "type": "string",
                "title": "Image",
                "format": "uri",
                "x-order": 1,
                "description": "Optional: provide an image to animate. If provided, switches to image-to-video model."
            },
            "duration": {
                "enum": [
                    5,
                    10
                ],
                "type": "integer",
                "title": "Duration",
                "description": "Duration of the generated video in seconds",
                "default": 5,
                "x-order": 2
            },
            "resolution": {
                "enum": [
                    "720p",
                    "1080p"
                ],
                "type": "string",
                "title": "Resolution",
                "description": "Video resolution",
                "default": "720p",
                "x-order": 3
            }
        }
    },
    "outputSchema": {
        "type": "array",
        "title": "Output",
        "description": "Array of output objects. Each object contains url, object_key, content_type, etc.",
        "items": {
            "type": "object",
            "properties": {
                "url": {
                    "type": "string",
                    "format": "uri"
                },
                "object_key": {
                    "type": "string"
                },
                "content_type": {
                    "type": "string"
                }
            }
        }
    }
}