plaxico

Plaxico API

Plug video and image generation into your product: one key, one balance, every model — Veo, Kling, Seedance, Wan, Hailuo, Nano Banana and more.

Authentication

Create a key in your cabinet (plaxico.uz/cabinet → API) or with /api in the bot. The key is shown once. Send it with every request:

Authorization: Bearer vg_live_…

Billing

Calls are billed in credits, as in the bot (1 credit ≈ 100 UZS). Get the price before starting with /v1/quote. Failed generations are refunded automatically. Top up in the cabinet; invoices for companies via support@plaxico.uz.

Endpoints

Path
GET/v1/modelsmodels, modes, durations, from-price
GET/v1/templatesone-tap templates
GET/v1/balancecredits: available, paid, bonus, held
POST/v1/quote{ model, input } → { credits, uzs }
POST/v1/generations{ model, input, callback_url? } → 201 generation
POST/v1/templates/{id}/run{ image_url?, text?, callback_url? } → 201 generation
GET/v1/generations/{id}status and outputs
GET/v1/generations?limit=&offset=your recent jobs

Create a video

The response returns immediately (status queued). Poll GET /v1/generations/{id}, or pass callback_url and we POST a signed result when it is ready.

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"
  }'
{
  "id": "6f1c…",
  "status": "queued",
  "model": "kling-2.5-turbo",
  "kind": "video",
  "credits": 75,
  "outputs": [],
  "error": null,
  "created_at": "2026-11-05T10:00:00.000Z"
}
// Node.js: poll until ready
const r = await fetch("https://plaxico.uz/v1/generations/" + id, { headers: { Authorization: "Bearer " + process.env.PLAXICO_KEY } });
const g = await r.json(); // g.status: queued | submitted | running | succeeded | failed
if (g.status === "succeeded") console.log(g.outputs[0].url);
curl https://plaxico.uz/v1/templates/uzum-product/run \
  -H "Authorization: Bearer $PLAXICO_KEY" -H "Content-Type: application/json" \
  -d '{ "image_url": "https://example.com/product.jpg", "text": "white sneakers" }'

Webhook signature

Every webhook carries X-Plaxico-Timestamp and X-Plaxico-Signature. Signature = HMAC-SHA256(webhookSecret, `${timestamp}.${body}`). callback_url must be public https; we retry up to 3 times.

import { createHmac, timingSafeEqual } from "node:crypto";

function verify(req, rawBody, webhookSecret) {
  const ts = req.headers["x-plaxico-timestamp"];
  const sig = req.headers["x-plaxico-signature"];
  if (Math.abs(Date.now() / 1000 - Number(ts)) > 300) return false;
  const expected = "sha256=" + createHmac("sha256", webhookSecret).update(ts + "." + rawBody).digest("hex");
  return sig?.length === expected.length && timingSafeEqual(Buffer.from(sig), Buffer.from(expected));
}

Statuses

queued → submitted → running → succeeded | failed (credits refunded). Plans may show waiting and cancelled.

Errors and limits

120 requests/min per key (writes: 60), up to 20 jobs in flight. Error body: {"error": CODE, "message": …}.

400INVALID_INPUT
401invalid or revoked key
402INSUFFICIENT_CREDITS (details.need, details.have)
404NOT_FOUND, MODEL_NOT_FOUND
422CONTENT_BLOCKED
429RATE_LIMITED
451offer not accepted

Models and prices

idmodelkindmodessaspectfrom, cr
kling-2.5-turboKling 2.5 Turbo Provideot2v, i2v5/109:16, 16:9, 1:175
kling-3Kling 3.0videot2v, i2v5/10/159:16, 16:9, 1:1150
kling-4Kling 4.0videot2v, i2v5/109:16, 16:9, 1:1340
omni-flashGoogle Omni Flashvideot2v, i2v4/6/8/109:16, 16:9180
veo-3.1-liteGoogle Veo 3.1 Litevideot2v, i2v4/6/89:16, 16:960
veo-3.1Google Veo 3.1 Qualityvideot2v, i2v89:16, 16:9410
seedance-2-fastSeedance 2.0 Fastvideot2v, i2v5/109:16, 16:9, 1:1220
wan-2.6-flashWan 2.6 Flashvideoi2v, t2v5/10/159:16, 16:9, 1:160
hailuo-2.3Hailuo 2.3videoi2v6/109:16, 16:960
nano-banana-2Nano Banana 2imaget2i, i2i—9:16, 1:1, 16:9, 3:4, 4:38
nano-banana-proNano Banana Proimaget2i, i2i—9:16, 1:1, 16:9, 3:4, 4:335
seedream-5Seedream 5.0imaget2i—9:16, 1:1, 16:930
flux-3FLUX 3imaget2i—9:16, 1:1, 16:9, 3:4, 4:318
gpt-image-2GPT Image 2imaget2i—1:1, 9:16, 16:912

Templates

idinputcr
uzum-productProduct video (marketplace)image_url120
food-reelFood reel (restaurant)image_url120
wedding-inviteWedding invitationimage_url150
old-photoBring an old photo to lifeimage_url90
navruzNavruz greetingimage_url130
hayitEid greetingimage_url130
studio-portraitStudio portraitimage_url60
logo-motionLogo animationimage_url90

MCP server for AI agents

Claude, ChatGPT, Cursor and other MCP clients can use Plaxico directly. Endpoint: https://plaxico.uz/mcp (Streamable HTTP). Catalog tools work without a key; for generation add the header "Authorization: Bearer vg_live_…" in the client settings. Full API spec: /openapi.json.

{ "mcpServers": { "plaxico": { "type": "http", "url": "https://plaxico.uz/mcp", "headers": { "Authorization": "Bearer vg_live_…" } } } }

Rules

The API is covered by the acceptable use policy and public offer: no 18+, no real politicians, no non-consensual deepfakes. Label results as AI-generated. AUP · Offer