🎁 Get the FREE AI Skills Starter GuideSubscribe →
BytesAgainBytesAgain
🦀 ClawHub

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 @littleblackone

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

Versionv1.0.0
Installs1
💡 Examples

Base URL: https://api.ccapi.ai/v1 Auth: Authorization: Bearer

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!"}]
  }'

📋 Tips & Best Practices

  • 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
  • View on ClawHub
    TERMINAL
    clawhub install ccapi

    🧪 Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    🔍 Can't find the right skill?

    Search 60,000+ AI agent skills — free, no login needed.

    Search Skills →