acedatacloud-api
Guide for using AceDataCloud APIs. Use when authenticating, making API calls, managing credentials, understanding billing, or integrating AceDataCloud services into applications. Covers setup, authentication, request patterns, error handling, and SDK integration.
- License 许可
- Apache-2.0
- 最近更新
- 2026-05-06
- Stars
- ★ 14
- Forks
- 2
01 前言 Front Matter
- name
- acedatacloud-api
- license
- Apache-2.0
- metadata
- { "author": "acedatacloud", "version": "1.0" }
- description
- Guide for using AceDataCloud APIs. Use when authenticating, making API calls, managing credentials, understanding billing, or integrating AceDataCloud services into applications. Covers setup, authentication, request patterns, error handling, and SDK integration.
- compatibility
- Requires an AceDataCloud account at platform.acedata.cloud.
02 资源文件 2
- 参考文档_meta.json148 B
- 参考文档.clawhub/origin.json161 B
03 SKILL.md 正文
AceDataCloud API Usage Guide
Complete guide for using AceDataCloud's AI-powered data services API.
Getting Started
1. Create an Account
Register at platform.acedata.cloud.
2. Subscribe to a Service
Browse available services and click Get to subscribe. Most services include free quota.
3. Create API Credentials
Go to your service's Credentials page and create an API Token.
Authentication
All APIs use Bearer token authentication:
curl -X POST https://api.acedata.cloud/<endpoint> \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
Token Types
| Type | Format | Scope |
|---|---|---|
| Service Token | UUID string | Access to subscribed service only |
| Global Token | UUID string | Access to all subscribed services |
Base URL
https://api.acedata.cloud
SDK Integration (OpenAI-Compatible)
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!" }]
});
Common Request Patterns
Synchronous APIs
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"}'
Async Task APIs
Most generation APIs (images, video, music) are asynchronous:
Step 1: Submit request
POST /suno/audios
{"prompt": "a jazz song", "wait": false}
→ {"task_id": "abc123"}
Step 2: Poll for results
POST /suno/tasks
{"task_id": "abc123"}
→ {"state": "succeeded", "data": [...]}
Shortcut: Pass "wait": true to block until completion (simpler but longer timeout).
Error Handling
| 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"
}
}
Billing
- Each API call deducts from your subscription balance (remaining_amount)
- Cost varies by service, model, and usage (tokens, requests, data size)
- Check balance at platform.acedata.cloud
- Most services offer free trial quota
Service Categories
| Category | Services | Base Path |
|---|---|---|
| AI Chat | GPT, Claude, Gemini, DeepSeek, Grok | /v1/chat/completions |
| Image Gen | Midjourney, Flux, Seedream, NanoBanana | /midjourney/*, /flux/*, etc. |
| Video Gen | Luma, Sora, Veo, Kling, Hailuo, Seedance | /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/* |
Gotchas
- Tokens are service-scoped by default — create a global token if you need cross-service access
- Async APIs return a
task_id— you must poll to get the result wait: trueis convenient but has a timeout limit (typically 60–120s)- Rate limits vary by service tier — upgrade your plan if hitting limits
- All timestamps are in UTC
04 同仓库更多 Skills
write-contracts
Generates secure Aptos Move V2 smart contracts with Object model, Digital Asset integration, security patterns, and storage type guidance. Includes comprehensive storage decision framework for optimal data structure selection. Triggers on: 'write contract', 'create NFT collection', 'build marketplace', 'implement minting', 'generate Move module', 'create token contract', 'build DAO', 'implement staking'. Ask storage questions when: 'store', 'track', 'registry', 'mapping', 'list', 'collection'.
web-search
通用网络搜索技能,支持多引擎搜索(百度、必应、DuckDuckGo),无需API密钥即可获取实时信息
solo-build
Execute implementation plan tasks with TDD workflow, auto-commit, and phase gates. Use when user says "build it", "start building", "execute plan", "implement tasks", "ship it", or references a track ID. Do NOT use for planning (use /plan) or scaffolding (use /scaffold).
react-email
Use when building HTML email templates with React components, adding a visual email editor to an application using the React Email visual editor, rendering emails to HTML, or sending emails with Resend. Covers welcome emails, password resets, notifications, order confirmations, newsletters, transactional emails, and the embeddable email editor component.
APITester Agent-Driven API Testing
Test API endpoints and document responses. Define tests in plain English, run them, get formatted results. Agent-driven Postman alternative.
hubspot-implementation-plan
Generate a phased implementation plan from a HubSpot audit report. Creates prioritized, sequenced cleanup processes with effort estimates, dependencies, and automation feasibility. Use after running /hubspot-audit.