Skip to content
Platform / Docs / Quick start

Overview

Quick start

Call video, avatar, image, and smart-editing APIs with Xiaobao AI API. One API key. These pages list endpoints that are live.

Start here: Use https://xiaoapis.com as the platform home. Create a key on the API key page. Agents should start with /model/*.md.

Step 1: See what is available

The sidebar lists public APIs. Each page has the endpoint, parameters, examples, and error codes. Open the console doc when you want to try a call.

Or open a category in the full catalog:

The list follows what is live. APIs that are not public are omitted.

Step 2: Billing

Billing differs by API: per call, per input second, per resolution, and so on. Use the pricing on each API page and the balance in the console. This page does not invent discounts or unit prices.

  • Membership:Membership
  • Usage and invoices: see the console after you log in

Step 3: Create a key and authenticate

Create or copy a key in API key management.

Security:Do not put an API key in a frontend page, an app package, or a public repository. Treat it as a secret and use it only on your server.

Authentication

Most APIs take key as a query parameter or in the JSON body:

POST https://xiaoapis.com/api/{category}/{action}?key=YOUR_API_KEY
Content-Type: application/json

{ "key": "YOUR_API_KEY", ... }

The exact field is on each API page. If auth fails, check that the key is correct, not expired, and not disabled.

Step 4: Async tasks

Avatars, smart editing, and some generation APIs are async. A successful create call returns a business success code and a task_id. That does not mean the file is ready.

After you have a task_id, poll the query API or set a callback (callback_url / notify) until the task succeeds or fails.
// Query example (field names follow that API)
POST .../api/...?key=YOUR_API_KEY&action=query
{ "task_id": "task_xxxx" }

Request conventions

  • Content-Type: application/jsonContent-Type: application/json (JSON body) or form encoding, as that API documents
  • Media files must be publicly reachable http/https URLs
  • Smart editing may probe media duration for billing. A URL that cannot be fetched will fail at create time

For AI agents

If a model or agent will call the APIs, read these first:

Next

Support

Operator: Zhongke Yunchuang (Fujian) Technology Co., Ltd.. Stability and parameters follow the live docs and the console.