← Back to Skills Marketplace
littleblackone

O n e A P I . A l w a y s o n . Aggregate multiple AI providers under the hood. Smart routing auto-switches on failure. You call once — we handle the rest.

by Zane · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
355
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install ccapi
Description
Use CCAPI unified AI API gateway to access 60+ models (GPT-5.2, Claude, Gemini, DeepSeek, Sora 2, Kling 3.0, Seedance 2.0, Suno, etc.) across text, image, vi...
README (SKILL.md)

CCAPI — Unified Multimodal AI API Gateway

CCAPI provides OpenAI-compatible access to 60+ AI models across 4 modalities through a single API endpoint. No new SDK needed — works with OpenAI Python/Node.js SDK.

Quick Start

Base URL: https://api.ccapi.ai/v1 Auth: Authorization: Bearer \x3Cyour-ccapi-api-key>

Get your API key at https://ccapi.ai/dashboard

Python (OpenAI SDK)

from openai import OpenAI

client = OpenAI(
    api_key="your-ccapi-key",
    base_url="https://api.ccapi.ai/v1"
)

# Text generation
response = client.chat.completions.create(
    model="openai/gpt-5.2",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)

Node.js (OpenAI SDK)

import OpenAI from "openai"

const client = new OpenAI({
  apiKey: "your-ccapi-key",
  baseURL: "https://api.ccapi.ai/v1",
})

const response = await client.chat.completions.create({
  model: "anthropic/claude-sonnet-4-6",
  messages: [{ role: "user", content: "Hello!" }],
})

cURL

curl https://api.ccapi.ai/v1/chat/completions \
  -H "Authorization: Bearer your-ccapi-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5.2",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Available Models

Model IDs use provider/model-id format.

Text (LLM)

Model ID Context Notes
openai/gpt-5.2 1M Latest OpenAI flagship
openai/gpt-5-mini 1M Fast & affordable
openai/gpt-5-nano 1M Ultra-low cost
openai/gpt-4.1 1M Strong reasoning
openai/gpt-4.1-mini 1M Balanced performance
openai/gpt-4o 128K Multimodal
openai/gpt-4o-mini 128K Cost-effective
anthropic/claude-opus-4-6 200K Most capable Claude
anthropic/claude-sonnet-4-6 200K Best value Claude
anthropic/claude-haiku-4-5 200K Fastest Claude
google/gemini-2.5-pro 1M Google flagship
google/gemini-2.5-flash 1M Fast Gemini
deepseek/deepseek-chat 64K DeepSeek V3.2
zhipu/glm-5 128K 744B MoE, top Chinese LLM
openrouter/minimax-m2.5 1M SWE-bench 80.2%

Image Generation

Model ID Notes
google/nano-banana Gemini Flash image gen
google/nano-banana-pro Gemini Pro image gen

Video Generation

Model ID Resolution Duration Notes
bytedance/seedance-2.0 2K@24fps 4-10s Text/image/video to video
kuaishou/kling-3.0-standard Up to 4K 5-10s Standard quality
kuaishou/kling-3.0-pro Up to 4K@60fps 5-10s Professional quality
openai/sora-2 1080p 5-25s Physics simulation
openai/sora-2-pro 1080p 5-25s Higher quality
google/veo-3.1 1080p Per-second pricing Google video gen

Audio / Music

Model ID Notes
suno/chirp-v5 Music generation
elevenlabs/tts Text-to-speech

API Endpoints

Text Generation (Chat Completions)

POST /v1/chat/completions

Supports streaming (stream: true), function calling, vision (image URLs in messages), and all OpenAI-compatible parameters.

Image Generation

POST /v1/images/generations
{
  "model": "google/nano-banana",
  "prompt": "A futuristic cityscape at sunset",
  "n": 1,
  "size": "1024x1024"
}

Video Generation (Async)

Create video task:

POST /v1/video/generations
{
  "model": "bytedance/seedance-2.0",
  "prompt": "A cat playing piano in a jazz bar",
  "duration": 5
}

Response includes a task_id. Poll for results:

GET /v1/video/generations/{task_id}

Audio (Text-to-Speech)

POST /v1/audio/speech
{
  "model": "elevenlabs/tts",
  "input": "Hello, world!",
  "voice": "alloy"
}

Music Generation (Suno)

POST /v1/audio/suno/generate
{
  "model": "suno/chirp-v5",
  "prompt": "An upbeat electronic track with synth leads",
  "duration": 30
}

Model Discovery

GET /v1/models

Returns all available models with pricing, context windows, and capabilities. Supports filtering by provider and type.

Streaming Example

from openai import OpenAI

client = OpenAI(api_key="your-ccapi-key", base_url="https://api.ccapi.ai/v1")

stream = client.chat.completions.create(
    model="deepseek/deepseek-chat",
    messages=[{"role": "user", "content": "Write a haiku about coding"}],
    stream=True,
)

for chunk in stream:
    if chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="")

Video Generation Full Example

import time
import requests

API_KEY = "your-ccapi-key"
BASE = "https://api.ccapi.ai/v1"
HEADERS = {"Authorization": f"Bearer {API_KEY}", "Content-Type": "application/json"}

# Create video task
resp = requests.post(f"{BASE}/video/generations", headers=HEADERS, json={
    "model": "kuaishou/kling-3.0-standard",
    "prompt": "A golden retriever running on the beach at sunset, cinematic, 4K",
    "duration": 5,
})
task_id = resp.json()["id"]

# Poll until complete
while True:
    status = requests.get(f"{BASE}/video/generations/{task_id}", headers=HEADERS).json()
    if status["status"] == "completed":
        print(f"Video URL: {status['video_url']}")
        break
    elif status["status"] == "failed":
        print(f"Error: {status.get('error')}")
        break
    time.sleep(5)

Key Features

  • OpenAI SDK compatible — change base_url only, zero migration
  • 60+ models across text, image, video, audio
  • Smart routing — automatic failover between providers, 99.9% uptime
  • Transparent USD billing — pay-per-use, no credits/tokens abstraction
  • Tiered pricing — Free (20% off), Standard (30% off), Pro (40% off) vs official prices

Error Handling

All errors follow a consistent format:

{
  "error": {
    "message": "Insufficient balance",
    "type": "billing_error",
    "code": "insufficient_funds"
  }
}

Error types: invalid_request_error, billing_error, api_error, rate_limit_error

Tips

  • Always use provider/model-id format (e.g., openai/gpt-5.2, not gpt-5.2)
  • Video and image generation are async — poll the task endpoint for results
  • Use GET /v1/models to discover available models and current pricing
  • Streaming is supported for all text models
  • All responses follow the OpenAI API format exactly

Resources

Usage Guidance
What to consider before installing: (1) provenance — the skill has no listed source or homepage; verify ccapi.ai is a legitimate provider before trusting an API key. (2) credential mismatch — the SKILL.md requires a CCAPI API key but the registry metadata declares no required env vars; ask the publisher to declare a primary credential and explain how the agent will receive it. (3) privacy risk — this gateway proxies your prompts/responses to many upstream providers, so avoid sending sensitive data or secrets through it. (4) testing advice — if you proceed, use a scoped/test key (not high-privilege credentials), limit data sent, and monitor network calls. (5) additional info that would increase confidence: a verifiable homepage/source repo, a declared required env var in the registry that matches the SKILL.md, or published client/server code showing how keys are handled. If you cannot verify the vendor or the credential handling, treat the skill as untrusted.
Capability Analysis
Type: OpenClaw Skill Name: ccapi Version: 1.0.0 The skill provides instructions and code for 'CCAPI' (api.ccapi.ai), a unified AI gateway. It is classified as suspicious because it claims access to numerous non-existent or futuristic models (e.g., GPT-5.2, Claude 4.6, Sora 2, Kling 3.0), which is a strong indicator of a scam or deceptive service. While the Python and Node.js examples in SKILL.md are standard API implementations, the service acts as a man-in-the-middle, posing a high risk for prompt data collection and credential harvesting of any API keys provided to the gateway.
Capability Assessment
Purpose & Capability
The SKILL.md clearly documents a unified AI gateway (CCAPI) and shows examples (Python/Node/cURL) that match that purpose. However the registry metadata claims no required credentials or config paths even though the instructions repeatedly show an Authorization: Bearer <your-ccapi-api-key> and link to ccapi.ai — the absence of a declared primary credential is an inconsistency.
Instruction Scope
The instructions are largely limited to calling an external REST API (expected for an API gateway). They do not instruct reading local files or unrelated system data. The SKILL.md does instruct users to obtain and use an API key (and shows example client usage), but it does not specify how that key should be supplied to the agent (no declared env var), which leaves ambiguous how the skill will obtain credentials at runtime.
Install Mechanism
There is no install spec and no code files, so nothing is written to disk by the skill itself — this is the lower-risk 'instruction-only' pattern.
Credentials
The SKILL.md requires an API key for ccapi.ai (Authorization header / api_key in examples) but the skill metadata lists no required environment variables or primary credential. That mismatch is problematic because the agent may request the key at runtime in an ad-hoc way or the registry listing is incomplete. Additionally, the gateway nature concentrates prompts/responses with a third party (ccapi.ai), which is a privacy/secret-exfiltration consideration: any data sent goes through that service.
Persistence & Privilege
The skill is not always-enabled and does not request persistent system-level privileges or to change other skills' configurations. It's user-invocable and allows autonomous invocation by default (the platform normal), which is expected for skills.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ccapi
  3. After installation, invoke the skill by name or use /ccapi
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of ccapi-api (v1.0.0) providing unified access to 60+ AI models (text, image, video, audio) through an OpenAI-compatible API gateway. - Supports major models including GPT-5.2, Claude, Gemini, DeepSeek, Sora 2, Kling 3.0, Seedance 2.0, Suno, and more, via a single endpoint. - Seamless integration with OpenAI Python/Node.js SDKs by simply changing the base_url. - Offers standardized endpoints for text, image, video, audio/music generation, model discovery, and streaming. - Transparent USD billing system with tiered pricing and pay-per-use. - Comprehensive error handling and robust documentation provided.
Metadata
Slug ccapi
Version 1.0.0
License
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is O n e A P I . A l w a y s o n . Aggregate multiple AI providers under the hood. Smart routing auto-switches on failure. You call once — we handle the rest.?

Use CCAPI unified AI API gateway to access 60+ models (GPT-5.2, Claude, Gemini, DeepSeek, Sora 2, Kling 3.0, Seedance 2.0, Suno, etc.) across text, image, vi... It is an AI Agent Skill for Claude Code / OpenClaw, with 355 downloads so far.

How do I install O n e A P I . A l w a y s o n . Aggregate multiple AI providers under the hood. Smart routing auto-switches on failure. You call once — we handle the rest.?

Run "/install ccapi" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is O n e A P I . A l w a y s o n . Aggregate multiple AI providers under the hood. Smart routing auto-switches on failure. You call once — we handle the rest. free?

Yes, O n e A P I . A l w a y s o n . Aggregate multiple AI providers under the hood. Smart routing auto-switches on failure. You call once — we handle the rest. is completely free (open-source). You can download, install and use it at no cost.

Which platforms does O n e A P I . A l w a y s o n . Aggregate multiple AI providers under the hood. Smart routing auto-switches on failure. You call once — we handle the rest. support?

O n e A P I . A l w a y s o n . Aggregate multiple AI providers under the hood. Smart routing auto-switches on failure. You call once — we handle the rest. is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created O n e A P I . A l w a y s o n . Aggregate multiple AI providers under the hood. Smart routing auto-switches on failure. You call once — we handle the rest.?

It is built and maintained by Zane (@littleblackone); the current version is v1.0.0.

💬 Comments