# Minimax H3 Text To Video (Fast) > AI model for generating video content ## Overview - **Model ID**: `h3-minimax-t2v-fast` - **Category**: video - **Provider**: modelslab - **Source Type**: Open Source Model - **Status**: model_ready - **Screenshot**: `https://assets.modelslab.ai/generations/5a5cc7e1-7a07-4caa-baa2-fba76fd3458f.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/v6/video/text2video` - **Method**: POST ### Parameters - **`prompt`** (required): Text prompt for video generation - Type: textarea - Example: Enter the Prompt - **`duration`** (required): Select how long you want the generated video to be (in seconds). - Type: number (range: 5-15) - **`resolution`** (optional): Resolution refers to the level of detail a video display can provide. The supported values is 720P. - Type: text - **`model_id`** (optional): model_id stands for Model Identifier. It is a unique ID or name used to identify a specific AI model. - Type: text ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v6/video/text2video \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "h3-minimax-t2v-fast", "prompt": "Create a cinematic mini-story that feels like a professionally directed short film. The audience should become emotionally invested in the characters, feel curious about the outcome, experience unexpected emotions, and remain engaged until the very last second.The video should not feel like a collection of random AI-generated scenes. It must feel like one continuous, meaningful, emotionally connected story.", "duration": "5", "resolution": "768p" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v6/video/text2video", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "h3-minimax-t2v-fast", "prompt": "Create a cinematic mini-story that feels like a professionally directed short film. The audience should become emotionally invested in the characters, feel curious about the outcome, experience unexpected emotions, and remain engaged until the very last second.The video should not feel like a collection of random AI-generated scenes. It must feel like one continuous, meaningful, emotionally connected story.", "duration": "5", "resolution": "768p" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v6/video/text2video", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "h3-minimax-t2v-fast", "prompt": "Create a cinematic mini-story that feels like a professionally directed short film. The audience should become emotionally invested in the characters, feel curious about the outcome, experience unexpected emotions, and remain engaged until the very last second.The video should not feel like a collection of random AI-generated scenes. It must feel like one continuous, meaningful, emotionally connected story.", "duration": "5", "resolution": "768p" }) }) .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 "h3-minimax-t2v-fast" # Find this model modelslab models detail --id h3-minimax-t2v-fast # Get model details modelslab generate image --prompt "..." --model h3-minimax-t2v-fast # Generate with model modelslab config set generation.default_model h3-minimax-t2v-fast # 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/modelslab/h3-minimax-t2v-fast) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)