# Grok Imagine 1.5 Preview Image to Video > AI model for generating video content ## Overview - **Model ID**: `grok-imagine-video-1.5-preview` - **Category**: video - **Provider**: xai - **Source Type**: Closed Source Model - **Status**: model_ready - **Screenshot**: `https://assets.modelslab.ai/generations/1cea80b8-5f1c-41c1-b2b6-42112a4a4776.png` ## API Information This model can be used via our HTTP API. See the API documentation and usage examples below. ### Endpoint - **URL**: `https://modelslab.com/api/v7/video-fusion/image-to-video` - **Method**: POST ### Parameters - **`init_image`** (required): Upload the reference image - Type: file - **`prompt`** (required): Text prompt describing the desired video content - Type: textarea - **`resolution`** (optional): Output video resolution: Supported resolutions include 480P and HD - Type: select (options: 480P, HD) - **`duration`** (required): Supported duration is in range of 1 to 15 seconds - Type: number (range: 1-15) ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v7/video-fusion/image-to-video \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "grok-imagine-video-1.5-preview", "init_image": "https://assets.modelslab.ai/generations/6869ce82-ef46-4bd5-b390-50495d107755.png", "prompt": "The girl talks like a professional tech creator and startup founder introducing AI tools to developers. Natural lip sync, realistic facial expressions, smooth eye movement, calm and confident body language. Slight camera movement for realism, cinematic depth of field, realistic lighting reflections, soft shadows, immersive podcast vibe. Dialogue style:“ModelsLab is an AI API platform for developers to access powerful AI models for image generation, video generation, LLMs, speech AI, and more — all through simple APIs"", "resolution": "480p", "duration": "6" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v7/video-fusion/image-to-video", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "grok-imagine-video-1.5-preview", "init_image": "https://assets.modelslab.ai/generations/6869ce82-ef46-4bd5-b390-50495d107755.png", "prompt": "The girl talks like a professional tech creator and startup founder introducing AI tools to developers. Natural lip sync, realistic facial expressions, smooth eye movement, calm and confident body language. Slight camera movement for realism, cinematic depth of field, realistic lighting reflections, soft shadows, immersive podcast vibe. Dialogue style:“ModelsLab is an AI API platform for developers to access powerful AI models for image generation, video generation, LLMs, speech AI, and more — all through simple APIs"", "resolution": "480p", "duration": "6" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v7/video-fusion/image-to-video", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "grok-imagine-video-1.5-preview", "init_image": "https://assets.modelslab.ai/generations/6869ce82-ef46-4bd5-b390-50495d107755.png", "prompt": "The girl talks like a professional tech creator and startup founder introducing AI tools to developers. Natural lip sync, realistic facial expressions, smooth eye movement, calm and confident body language. Slight camera movement for realism, cinematic depth of field, realistic lighting reflections, soft shadows, immersive podcast vibe. Dialogue style:“ModelsLab is an AI API platform for developers to access powerful AI models for image generation, video generation, LLMs, speech AI, and more — all through simple APIs"", "resolution": "480p", "duration": "6" }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Integration Options ### CLI Install: `curl -fsSL https://modelslab.sh/install.sh | sh` or `brew install modelslab/tap/modelslab` ```bash modelslab auth login # Authenticate modelslab models search "grok-imagine-video-1.5-preview" # Find this model modelslab models detail --id grok-imagine-video-1.5-preview # Get model details modelslab generate image --prompt "..." --model grok-imagine-video-1.5-preview # Generate with model modelslab config set generation.default_model grok-imagine-video-1.5-preview # Set as default ``` - Website: https://modelslab.sh - GitHub: https://github.com/ModelsLab/modelslab-cli ### MCP Servers (Model Context Protocol) For Claude Code, Cursor, VS Code, Windsurf, and any MCP-compatible agent. - Generation: `https://modelslab.com/mcp/v7` (API key auth, 23 tools) - Agent Control Plane: `https://modelslab.com/mcp/agents` (Bearer token auth, 10 tools) Claude Code config (`~/.claude/settings.json`): ```json { "mcpServers": { "modelslab-v7": { "url": "https://modelslab.com/mcp/v7", "headers": { "Authorization": "Bearer YOUR_API_KEY" } } } } ``` - Documentation: https://docs.modelslab.com/mcp-web-api/overview ### Agent Skills Install skill files directly into AI coding agents: ```bash npx skills add modelslab/skills --all # All skills npx skills add modelslab/skills --skill image-generation # Specific skill npx skills add modelslab/skills --all -a claude-code -a cursor # Target agents ``` - GitHub: https://github.com/ModelsLab/skills - Documentation: https://docs.modelslab.com/agent-skills ### SDKs - Python: `pip install modelslab` - TypeScript: `npm install modelslab` - PHP: `composer require modelslab/modelslab` - Go: `go get github.com/modelslab/modelslab-go` - Dart: `dart pub add modelslab` ## Links - [Model Playground](https://modelslab.com/models/grok-imagine-video-1-5-preview-image-to-video/grok-imagine-video-1.5-preview) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)