ModelsLab/Wan2.2 Image To Video
wan-2.2-i2vGenerate high-quality 720p videos at 24fps from images with advanced motion control and seamless transitions, ideal for animations and cinematic outputs.
API Endpoint URL
Base URL for all API requests to this endpoint.
https://modelslab.com/api/v6/video/img2video_ultra
API Authentication
Authentication requires a valid API key included in the request. Generate and manage your API keys from your developer dashboard. Include the key in the key parameter for all API requests.
Integration Examples
Production-ready code samples for API integration
{"init_image": "https://assets.modelslab.com/generations/91c519f4-20fe-4834-ac47-fe5c39c44b34","prompt": "Flirting, flirtatious, charming, seductive ","resolution": "480","output_type": "mp4","model_id": "wan-2.2-i2v","negative_prompt": "blurry, low quality, distorted, extra limbs, missing limbs, broken fingers, deformed, glitch, artifacts, unrealistic, low resolution, bad anatomy, duplicate, cropped, watermark, text, logo, jpeg artifacts, noisy, oversaturated, underexposed, overexposed, flicker, unstable motion, motion blur, stretched, mutated, out of frame, bad proportions","num_frames": "89","fps": "18","base64": "false","key": "YOUR_API_KEY"}
SDKs
Official SDKs
Production-ready SDKs and client libraries for all major programming languages
API Parameters
Technical specifications for API request parameters.
| Field Name | Parameter | Technical Description |
|---|---|---|
| Reference Image | init_image | Image to upscale/enhance |
| Prompt | prompt | Text description of the image you want to generate |
| Resolution | resolution | Video resolution |
| Output Format | output_type | output_type |
| model_id | model_id | Select the model id |
| Negative Prompt | negative_prompt | Negative prompt are used for things that do not want in the generated video |
| Number of Frames | num_frames | Number of frames (fps=16, frames=81 = 5 seconds) |
| fps | fps | Frames per second |
| base64 | base64 | Indicates whether the init_image is provided in base64 format. Defaults to false. ( true or false) |