Skip to main content

Try Wan2.2 5B - Text to Video in the Workbench

Run this model interactively, tune parameters, and compare outputs.
Model ID: wan-ai-wan2-2-ti2v-5b-diffusers Wan-AI/Wan2.2-TI2V-5B-Diffusers is a video generation model that supports both text-to-video and image-to-video synthesis at 720P resolution and 24fps. It excels in efficient high-definition video generation on consumer-grade GPUs, balancing speed, quality, and resource consumption, making it suitable for both industrial and academic applications. Some other noteworthy features of Wan-AI/Wan2.2-TI2V-5B-Diffusers include support for unified text-to-video and image-to-video tasks within a single framework, as well as a high-compression VAE architecture that enables fast generation of five-second 720P videos in under nine minutes on typical hardware.
MetricValue
Parameter Count5 billion
Mixture of ExpertsNo
Context LengthUnknown
MultilingualNo
Quantized*No
*Quantization is specific to the inference provider and the model may be offered with different quantization levels by other providers.

Example request

Use the Workbench as a request builder: configure parameters for this model in the UI, then open the API tab to copy the exact cURL or Python call.
This blocks until the video is ready (typically 5-15 minutes). Prefer Async or Async with SSE for anything beyond quick experimentation.See the video generation reference for more details.
curl -X POST https://hub.oxen.ai/api/ai/videos/generate \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OXEN_API_KEY" \
  -d '{
  "model": "wan-ai-wan2-2-ti2v-5b-diffusers",
  "prompt": "A beautiful landscape painting of a serene lake with mountains in the background and an ox in the foreground."
}'

Fetch model details

The models endpoint returns the full model object, including its json_request_schema.
curl -H "Authorization: Bearer $OXEN_API_KEY" https://hub.oxen.ai/api/ai/models/wan-ai-wan2-2-ti2v-5b-diffusers

Request parameters

Required parameters

FieldTypeDefaultDescription
promptstring"A beautiful landscape painting of a serene lake with mountains in the background and an ox in the foreground."Prompt for generated image

Optional parameters

FieldTypeDefaultDescription
heightinteger720Height of the video Range: 1 – 720.
widthinteger1280Width of the video Range: 1 – 1280.
negative_promptstring" "Negative prompt for generated image
num_inference_stepsinteger30Number of diffusion steps to take Range: 1 – 100.
num_framesinteger81Number of frames of video to generate Range: 1 – 120.
guidance_scalenumber5.0Guidance for generated video. Lower values can give more realistic videos. Range: 0 – 10.
seedintegerRandom seed. Set for reproducible generation