# imaginevid-ai-generation

Connects ImagineVid to an AI coding host for image, video, and music generation. Use its hosted OAuth endpoint or a local adapter.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: imagineVid
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/imagineVid/imaginevid-agent-tools-ai
- Updated: 2026-08-07
- HTML: https://affpapa.org/en/nevibecode/mcp/imaginevid-ai-generation

## What it does

This MCP server links ImagineVid with an agent through a hosted HTTP endpoint or a local stdio adapter. Its tools cover model discovery, credit checks, generation quotes, creation requests, and status lookups. The service handles image, video, and music generation.

The local option runs with `npx -y imaginevid-mcp` and reads `IMAGINEVID_API_KEY` plus `IMAGINEVID_BASE_URL`. A scoped API key is required for that setup. Generation is quoted before creation, then the request needs an exact credit confirmation and a stable idempotency key. Inputs are product capability values and owned asset IDs; arbitrary remote URLs and inline base64 media are rejected.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://imaginevid.io/api/mcp`
- Environment variables: `IMAGINEVID_API_KEY`, `IMAGINEVID_BASE_URL` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http imaginevid-ai-generation https://imaginevid.io/api/mcp
```

2. **Platform CLI**
```bash
claude mcp add --env IMAGINEVID_API_KEY=<IMAGINEVID_API_KEY> --env IMAGINEVID_BASE_URL=<IMAGINEVID_BASE_URL> --transport stdio imaginevid-ai-generation -- npx -y imaginevid-mcp
```
Replace <…> with your own values

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add imaginevid-ai-generation --url https://imaginevid.io/api/mcp
```

2. **Platform CLI**
```bash
codex mcp add imaginevid-ai-generation --env IMAGINEVID_API_KEY=<IMAGINEVID_API_KEY> --env IMAGINEVID_BASE_URL=<IMAGINEVID_BASE_URL> -- npx -y imaginevid-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "imaginevid-ai-generation": {
            "url": "https://imaginevid.io/api/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "imaginevid-ai-generation": {
            "command": "npx",
            "args": [
                "-y",
                "imaginevid-mcp"
            ],
            "env": {
                "IMAGINEVID_API_KEY": "<IMAGINEVID_API_KEY>",
                "IMAGINEVID_BASE_URL": "<IMAGINEVID_BASE_URL>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "imaginevid-ai-generation": {
            "type": "http",
            "url": "https://imaginevid.io/api/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "imaginevid-ai-generation": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "imaginevid-mcp"
            ],
            "env": {
                "IMAGINEVID_API_KEY": "<IMAGINEVID_API_KEY>",
                "IMAGINEVID_BASE_URL": "<IMAGINEVID_BASE_URL>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http imaginevid-ai-generation https://imaginevid.io/api/mcp
```

2. **Platform CLI**
```bash
gemini mcp add -e IMAGINEVID_API_KEY=<IMAGINEVID_API_KEY> -e IMAGINEVID_BASE_URL=<IMAGINEVID_BASE_URL> imaginevid-ai-generation npx -y imaginevid-mcp
```
Replace <…> with your own values

## When to use it
- list available ImagineVid models
- check the account's credit balance
- get a generation cost quote
- start a generation after credit approval
- retrieve a generation status

## Example prompts
- List the available ImagineVid models.
- Check how many credits are available for this account.
- Quote a video generation and create it only after I confirm the exact credit amount.

## Similar
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16730
- [labelhead-artist-momentum](https://affpapa.org/en/nevibecode/mcp/labelhead-artist-momentum.md) — MCP server · ★ 107701
- [Agent Skills Search Server](https://affpapa.org/en/nevibecode/mcp/agent-skills-search-server.md) — MCP server · ★ 26673
- [Skyvern](https://affpapa.org/en/nevibecode/mcp/skyvern.md) — MCP server · ★ 23283
- [Nhost](https://affpapa.org/en/nevibecode/mcp/nhost.md) — MCP server · ★ 9369
- [PraisonAI](https://affpapa.org/en/nevibecode/mcp/praisonai.md) — MCP server · ★ 9298

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
