API Endpoint URL
Base URL for all API requests to this endpoint.
https://modelslab.com/api/v7/video-fusion/image-to-video
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/69d70b2a-f97a-4d48-9bad-63c966509879.","prompt": "Using the provided reference image of a girl, generate a cinematic video with a 360-degree continuous camera orbit captured from a drone eye-level angle transitioning slightly overhead. The girl is walking forward confidently, natural body posture, steady pace, and strong presence. The camera smoothly circles around her in a full rotation while maintaining focus on her face and upper body. Cinematic depth of field, stabilized drone movement, realistic motion physics, soft natural lighting, high detail textures, sharp focus, professional film look, dynamic perspective shift, ultra-smooth camera motion, 4K quality, realistic shadows, confident mood, no distortion, no flicker","resolution": "2560x1440","duration": "6","generate_audio": true,"fps": "25","model_id": "ltx-2-pro-i2v","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 |
|---|---|---|
| Image URL | init_image | Image to be used as the first frame of the video in either an HTTPS URL format or base64 data URI format. |
| Prompt | prompt | Text description of how the image should be animated, can relate to the details in the image |
| Resolution | resolution | **Output video resolution:** Supported resolutions include **1920×1080**, **2560×1440**, and **3840×2160**. |
| Duration | duration | **Video duration (in seconds):** Supported durations depend on the model and include **6s, 8s, and 10s**. |
| Generate audio | generate_audio | Generate audio for the video. When true, the generated video will include AI-generated audio matching the scene. When false, only silent video is generated. |
| FPS | fps | **Frame rate (frames per second):** Supported frame rates depend on the model and resolution, with available options **25 FPS** and **50 FPS**. This parameter is optional and defaults to **25 FPS**. |
| model_id | model_id | Model selection: Specify the model to use for generation, such as ltx-2-pro-i2v. |