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
{"model_id": "veo2","init_image": "https://assets.modelslab.com/generations/2bab80f7-b2f7-4173-b4fe-69b9f3ab2327","prompt": "In a frozen, ancient Nordic valley, the shamanic warrior—cloaked in fur, wearing a skull mask with curled horns—stands at the edge of a glacier lake. The wind howls violently, whipping up snow around him as he slams his staff into the icy ground, causing the earth to tremble. Blue runes glow across his mask as magic awakens. A storm brews above as shadowy enemies rise from the snow-covered mountains.\n\nThe warrior raises his staff toward the sky, lightning cracking in response. He roars:\n“You dare enter the realm of the old gods? You will leave as ash.”\n\nHe charges forward, cloak billowing, staff igniting in blue flame. The camera rotates dramatically around him as he fights off spectral beasts, striking with magic-infused power, dodging, spinning, and unleashing ancient fury.\n\nSnow explodes around him in slow motion as he slams the ground again, releasing a wave of energy that sends the enemies flying. He stands tall, chest heaving, as the storm quiets.","negative_prompt": null,"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 |
|---|---|---|
| Model | model_id | Model |
| Reference Image | init_image | Upload the reference image |
| Prompt | prompt | Enter prompt for image to video |
| Negative Prompt | negative_prompt | A negative prompt that specifies what should be avoided during video generation. |
