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/08b5ea77-450f-4b38-865e-c90982151fa4.png","https://assets.modelslab.com/generations/5ff19f1c-06f1-4551-a717-e8b2e1c5efde.png"],"prompt": "Transition from dawn to night as the camera flies forward across the city skyline, lights gradually turning on, colors shifting from orange warmth to neon blues.","model_id": "kling-v2-1-start-end-frame","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 | Upload the reference image |
| Prompt | prompt | Text description of the video you want to generate |
| Model | model_id | model_id is required for selecting the right model for API |
