What is the MCP Web API?
The ModelsLab MCP (Model Context Protocol) Web API enables AI assistants and applications to interact with the ModelsLab V7 API for AI-powered generation capabilities including images, videos, audio, and chat completions. Unlike the open-source MCP Server which requires local installation, the MCP Web API is a hosted solution that works directly over HTTP, making it easy to integrate with any MCP-compatible client.Key Features
Image Generation
Generate, transform, and edit images using text prompts and advanced AI models
Video Creation
Create videos from text, animate images, and apply AI transformations
Audio & Speech
Text-to-speech, speech-to-text, music generation, and voice transformation
LLM Chat
Chat with powerful language models for text generation and conversation
Endpoint
Authentication
All requests must include your ModelsLab API key using one of the following methods:- X-API-Key Header
Get your API key from the ModelsLab Dashboard.
Protocol
The MCP Web API uses the Model Context Protocol specification. Communication is done via JSON-RPC 2.0 over HTTP.Request Format
Response Format
Available Tools
The MCP Web API provides a comprehensive set of tools organized by category:| Category | Tools | Description |
|---|---|---|
| Models | list-models, list-providers | Browse available AI models |
| Image | text-to-image, image-to-image, inpaint-image, fetch-image | Generate and edit images |
| Video | text-to-video, image-to-video, video-to-video, lip-sync, motion-control, fetch-video | Create and transform videos |
| Audio | text-to-speech, speech-to-text, speech-to-speech, sound-generation, music-generation, song-extender, song-inpaint, dubbing, fetch-audio | Audio generation and processing |
| LLM | chat-completion | Chat with AI language models |
View Complete Tool Reference
See detailed documentation for all available tools, parameters, and examples.
Quick Example
Here’s a simple example generating an image using the MCP Web API: 1. List available models:Error Handling
Errors are returned in standard JSON-RPC 2.0 format:Common Error Codes
| Code | Description |
|---|---|
-32600 | Invalid Request |
-32601 | Method not found |
-32602 | Invalid params |
-32603 | Internal error |
Server Information
- Name:
modelslab-v7-api - Version:
1.0.0 - Protocol: MCP (Model Context Protocol)
- Transport: HTTP with JSON-RPC 2.0

