# CCAPI

> CCAPI is an MCP server for design and media. Image, video, music and text generation across 100+ models through one endpoint. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Website:** https://ccapi.ai/mcp
- **MCP Registry name:** ai.ccapi/mcp
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media)
- **Listing updated:** 2026-08-02

## About

Image, video, music and text generation across 100+ models through one endpoint.

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http mcp https://api.ccapi.ai/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://api.ccapi.ai/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://api.ccapi.ai/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://api.ccapi.ai/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://api.ccapi.ai/mcp"
    }
  }
}
```

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://api.ccapi.ai/mcp
```

Enter a Name (for example "CCAPI"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://api.ccapi.ai/mcp"
    }
  }
}
```

## Tools

- `chat_completion`: Send a conversation to any text model available through CCAPI (Claude, GPT, Gemini, DeepSeek, GLM, MiniMax, Kimi, Qwen…) and get the reply. Useful for consulting a second model for a different perspective, running a cheap model over bulk work, or reaching a model the current client does not have configured. Responses are non-streaming.
- `edit_image`: Edit existing images according to an instruction, using the dedicated image edit endpoint. Provide at least one source image. For pure text-to-image, or for models that take references through the generation endpoint, use generate_image instead.
- `extend_music`: Continue an existing song from a given timestamp, producing a longer version. Requires the clip_id of a previously generated song, which appears in the 'raw' payload of a completed generate_music task. Asynchronous — poll with get_task.
- `generate_image`: Generate an image from a text prompt, optionally guided by reference images (image-to-image). Returns image URLs directly. Most models finish in 10-60 seconds; if your client times out, set async=true to get a task_id you can poll instead. This call costs money — do not retry speculatively.
- `generate_lyrics`: Write song lyrics from a description, without generating audio. Useful as a first step before generate_music with custom=true, so the user can approve the words before paying for audio. Asynchronous — poll with get_task.
- `generate_music`: Generate a song with vocals or instrumental. Two modes: simple (custom=false) where you describe the song and the model writes the lyrics, or custom (custom=true) where you supply lyrics, title and style tags. Asynchronous — returns a task_id you poll with get_task; generation usually takes 30-120 seconds and normally yields two variations.
- `generate_video`: Generate a video from a text prompt, optionally driven by reference images (image-to-video, first/last frame). This is asynchronous: it returns a task_id you poll with get_task(platform='video'). Generation usually takes 30-180 seconds. Pass wait_seconds to have the server poll for you. Video generation is the most expensive capability here — confirm the prompt with the user before spending on ret
- `get_balance`: Report the remaining and used balance for this CCAPI key. Useful before starting an expensive batch of generations, or to explain a quota failure to the user.
- `get_task`: Check the status of an asynchronous generation task submitted by generate_video, generate_music, generate_lyrics, extend_music, or generate_image with async=true. Pass the platform and task_id exactly as they were returned. Status is one of queued, in_progress, completed or failed; poll every few seconds until it settles, or pass wait_seconds to have the server wait for you.
- `list_models`: List the AI models this CCAPI key can actually call, with their capability category and the MCP tool that drives them. Call this before generating anything if you are unsure a model name is valid — availability depends on the key's group and changes over time. Never guess model names.
- `upscale_image`: Increase the resolution of an existing image 2x with ccapi-upscale-v1. Input must be between 256x256 and 1024x1024 and under 5 MB; for larger inputs, regenerate with a high-resolution model instead.

## FAQ

### How do I add CCAPI to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://api.ccapi.ai/mcp

### What are the best alternatives to CCAPI?

The closest alternatives to CCAPI are HiAPI, apimodels, Callirra, ModelsLab and ToAPIs.

## Where this comes from

- Description: from the official MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 13 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [HiAPI](https://ai-powered.com/mcp/hiapi): HiAPI is a paid MCP server for design and media.
- [apimodels](https://ai-powered.com/mcp/apimodels): apimodels is a paid MCP server for design and media.
- [Callirra](https://ai-powered.com/mcp/callirra): Callirra is a freemium MCP server for design and media.
- [ModelsLab](https://ai-powered.com/mcp/modelslab): ModelsLab is an MCP server for design and media.
- [ToAPIs](https://ai-powered.com/mcp/toapis): ToAPIs is an MCP server for design and media.
- [Jiguang AI Media (极光 AI 图片 / 视频生成)](https://ai-powered.com/mcp/jiguang-ai-media-ai): Jiguang AI Media (极光 AI 图片 / 视频生成) is a paid MCP server for design and media.
- [Cirrela AI video generator](https://ai-powered.com/mcp/cirrela-ai-video-generator): Cirrela AI video generator is a paid MCP server for design and media.
- [API Stock](https://ai-powered.com/mcp/api-stock): API Stock is a paid MCP server for design and media.

---
Source: https://ai-powered.com/mcp/ccapi
