Guides users through AceDataCloud API setup, authentication, request patterns, error handling, billing, and OpenAI-compatible SDK integration.
How this skill is triggered — by the user, by Claude, or both
Slash command
/acedatacloud-ai-media:acedatacloud-apiThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Complete guide for using AceDataCloud's AI-powered data services API.
Complete guide for using AceDataCloud's AI-powered data services API.
Register at platform.acedata.cloud.
Browse available services and click Get to subscribe. Most services include free quota.
Go to your service's Credentials page and create an API Token.
Full details: See authentication for token types and usage.
For chat completion services, use the standard OpenAI SDK:
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_TOKEN",
base_url="https://api.acedata.cloud/v1"
)
response = client.chat.completions.create(
model="claude-sonnet-4-20250514",
messages=[{"role": "user", "content": "Hello!"}]
)
import OpenAI from "openai";
const client = new OpenAI({
apiKey: "YOUR_API_TOKEN",
baseURL: "https://api.acedata.cloud/v1"
});
const response = await client.chat.completions.create({
model: "gpt-4.1",
messages: [{ role: "user", content: "Hello!" }]
});
Some APIs return results immediately (e.g., face transform, search):
curl -X POST https://api.acedata.cloud/face/analyze \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"image_url": "https://example.com/photo.jpg"}'
Most generation APIs (images, video, music) are asynchronous.
Full details: See async task polling for the submit-and-poll pattern.
| HTTP Code | Meaning | Action |
|---|---|---|
| 400 | Bad request | Check request parameters |
| 401 | Unauthorized | Check API token |
| 403 | Forbidden | Content filtered or insufficient permissions |
| 429 | Rate limited | Wait and retry with backoff |
| 500 | Server error | Retry or contact support |
Error response format:
{
"error": {
"code": "token_mismatched",
"message": "Invalid or expired token"
}
}
| Category | Services | Base Path |
|---|---|---|
| AI Chat | GPT, Claude, Gemini, Kimi, Grok | /v1/chat/completions |
| Image Gen | Midjourney, Flux, Seedream, NanoBanana | /midjourney/*, /flux/*, etc. |
| Video Gen | Luma, Sora, Veo, Kling, Hailuo, Seedance, Wan | /luma/*, /sora/*, etc. |
| Music Gen | Suno, Producer, Fish Audio | /suno/*, /producer/*, /fish/* |
| Search | Google Search (web/images/news/maps) | /serp/* |
| Face | Analyze, beautify, swap, cartoon, age | /face/* |
| Utility | Short URL, QR Art, Headshots | /short-url, /qrart/*, /headshots/* |
task_id — always use callback_url to get the task_id immediately, then poll for resultswait: true — it blocks for the full generation duration and will time out for video/music tasksMCP: See MCP servers for tool-use integration with AI agents.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub acedatacloud/skills --plugin acedatacloud-ai-tools