plaxico

AI video generation API: using the Plaxico REST API

With the Plaxico REST API you add video and image generation to your own product: create a key in the API section of plaxico.uz/cabinet, send requests to plaxico.uz/v1 with a Bearer key, and get the result by polling or through a signed webhook. Billing is in credits, as in the bot, and /v1/quote gives the price first. Docs: plaxico.uz/docs/api.

Open in TelegramOpen in the studio

What you can do

The main endpoints:

The models are the same as on the Models page: Veo, Kling, Seedance, Wan, Hailuo and the image models. Full reference: API docs.

Your key and a first request

Create the key in your cabinet (plaxico.uz/cabinet, API section) or with the /api command in the bot. The key is shown once, so store it. Add the header Authorization: Bearer <key> to every request.

A sample request:

curl https://plaxico.uz/v1/generations -H "Authorization: Bearer $PLAXICO_KEY" -H "Content-Type: application/json" -d '{"model": "kling-2.5-turbo", "input": {"prompt": "Sunrise over Registan square, slow drone fly-through", "duration": 5, "aspectRatio": "9:16"}, "callback_url": "https://example.com/plaxico/webhook"}'

The response returns at once with an id and the status queued. Fetch the result with GET /v1/generations/{id}, or pass a callback_url.

Results and webhooks

The statuses run queued, submitted, running, then succeeded or failed. On success the result is in the outputs list, and on failed the credits are returned.

If you pass a callback_url, we send a signed POST when the result is ready. Every webhook carries the headers X-Plaxico-Timestamp and X-Plaxico-Signature; verify the signature with HMAC-SHA256(webhookSecret, timestamp and body). The callback_url must be a public https address, and we retry up to 3 times if delivery fails.

Price, limits and rules

Billing is in credits, as in the bot, and 1 credit ≈ 100 UZS. You learn the price before starting through /v1/quote, for example a short Veo 3.1 Lite video is from 60 credits (≈ 6 000 UZS). Detailed prices: AI video prices. If you run out of credits you get 402 INSUFFICIENT_CREDITS.

Limits: 120 requests per minute per key (writes 60) and up to 20 jobs in flight. Requests that break the rules are rejected with 422 CONTENT_BLOCKED. The API is covered by the acceptable use policy and the public offer: no 18+ content, no real politicians, no deepfakes without consent, and results must be labelled as AI-generated.

How to generate a video through the Plaxico API

  1. Create an API key in your cabinet and store it safely.
  2. Check your credits and the price with GET /v1/balance and POST /v1/quote.
  3. Send POST /v1/generations with the model, the input and an optional callback_url.
  4. Poll GET /v1/generations/{id} or accept the webhook after verifying its signature.
  5. When the status is succeeded, take the video from the link in outputs.

FAQ

Where do I get an API key?

In your cabinet (plaxico.uz/cabinet, API section) or with the /api command in the bot. The key is shown only once.

How much does a video cost through the API?

The price is the same as in the bot, in credits. /v1/quote tells you the exact sum first. For example, a Veo 3.1 Lite video is from 60 credits (≈ 6 000 UZS).

Which models are available through the API?

GET /v1/models lists them: the Veo, Kling, Seedance, Wan and Hailuo video models and the Nano Banana, Seedream, FLUX and GPT Image image models.

How do I verify a webhook signature?

Take the X-Plaxico-Timestamp and X-Plaxico-Signature headers, compute HMAC-SHA256 with your webhookSecret over the timestamp, a dot and the request body, and compare. A code sample is in the docs.

What are the API limits?

120 requests per minute per key (writes 60) and up to 20 jobs in flight. If you exceed them you get 429 RATE_LIMITED.

Are credits returned if a generation fails?

Yes. When the status is failed, the credits are returned automatically.

Can I run templates through the API?

Yes: send POST /v1/templates/{id}/run with an image_url and an optional text, for example the uzum-product template for product videos.

Updated: · Isomadinov Baxrom Zaxriddin o'g'li

Read next

Product video from a photo for Uzum and marketplaces with AIHow much AI video costs: Veo, Kling, Seedance, Hailuo and Wan pricesHow to make AI video in Uzbekistan: in Uzbek or Russian, pay in sum