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。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。