Image-to-Video
Animate source images with vLLM-Omni or SGLang
Choose a backend for image-to-video generation. See the Diffusion Overview for installation and shared configuration.
vLLM-Omni
SGLang
Image-to-video (I2V) uses the same /v1/videos endpoint as text-to-video, with an additional input_reference field that provides the source image. Run a vLLM-Omni worker with --output-modalities video.
Tested Models
For experimental Cosmos3 Nano reference conditioning, use the Cosmos3 example, which specifies its model revision, runtime requirements, and guardrail settings.
To run a non-default model, pass --model to the launch script:
Launch
Launch with the provided script using Wan-AI/Wan2.2-TI2V-5B-Diffusers:
Generate a Video from an Image
The input_reference field accepts:
- HTTP/HTTPS URL:
"https://example.com/image.png" - Base64 data URI:
"data:image/png;base64,iVBORw0KGgo..."
Worker-local paths and file:// URLs are rejected. To use a client-local image,
encode it as a data URI before sending the request, as the Cosmos3 example does.
Request Parameters (nvext)
I2V accepts all text-to-video nvext fields, plus two fields that control the dual-expert MoE denoising schedule in Wan2.x models:
MoE expert switching boundary (I2V).
CFG scale for the low-noise expert (I2V).