CCAPI

ai.ccapi由 ccapi.ai 发布官方发布者v1.0.1更新于 Oct 24, 2026

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

已验证Streamable HTTP可网页运行媒体与设计AI 与机器学习

概览

AI 生成的概览

CCAPI 是一个远程 MCP 端点,让助手通过一个 CCAPI 账户调用多种 AI 模型生成文本、图像、视频、音乐和歌词。

可以做什么
向文本模型发送对话,列出该密钥可调用的模型,并查询余额和异步任务状态。根据提示词或参考图生成图像,编辑已有图像,并将图像放大 2 倍。以异步任务方式根据文本或参考图生成视频。以简单或自定义模式生成歌曲、撰写歌词,并从指定时间点续写已有歌曲。
适用场景
适合希望一个助手无需分别集成即可访问多种媒体和文本模型的场景,也适合咨询第二个模型、用更便宜的模型批量处理,或在对话中直接生成图像、视频和音乐。
运行要求
远程 streamable HTTP 端点 api.ccapi.ai,无需本地软件包或运行时。需要 CCAPI 账户和 API 密钥,因为工具会使用该密钥的余额和模型权限。需要能访问该端点的网络。
安装前请注意
生成调用会产生费用,服务器提示不要对图像生成做试探性重试;批量生成前先查余额。音乐、歌词和视频生成是异步的,需要轮询。提示词和参考图会发送给第三方服务。可用模型取决于密钥所属分组。

安装

在 SourceWeft 中

  1. 打开 控制台中的 CCAPI,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/ai.ccapi%2Fmcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

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

工具

11

chat_completion

Call a text model

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.

输入参数stopmodel必填top_pmessages必填max_tokenstemperature

edit_image

Edit an 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.

输入参数nsizeasyncmodel必填imagesprompt必填qualityaspect_rationsfw_checkerwait_secondsresponse_format

extend_music

Extend a song

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.

输入参数tagstitlepromptclip_id必填providercontinue_at必填wait_seconds

generate_image

Generate an 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.

输入参数nsizeasyncmodel必填imagesprompt必填qualityaspect_rationsfw_checkerwait_secondsresponse_format

generate_lyrics

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.

输入参数prompt必填providerlyrics_modelwait_seconds

generate_music

Generate a song

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.

输入参数tagsmodeltitlecustomprompt必填providerinstrumentalwait_secondsnegative_tags

generate_video

Generate a 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 retries.

输入参数model必填ratioaudiosimagesprompt必填videosdurationresolutionimage_roleswait_secondsgenerate_audio

get_balance

Get account 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 an async 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.

输入参数task_id必填platform必填wait_seconds

list_models

List available 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.

输入参数searchcategory

upscale_image

Upscale an 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.

输入参数image必填model_qualityresponse_format

版本历史

1
  1. v1.0.1最新Sep 16, 2026

评分

已满足适用检查项的 83%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。