Skip to content
会nokai.studio

nokai.studio

nokai.studio is a prepaid AI media generation API. You POST /api/v1/jobs/createTask, get a taskId back immediately, then poll GET /api/v1/jobs/recordInfo?taskId=... (or wait for a webhook) until the job reaches success. The result is a URL pointing to your generated image or video.

Every model uses the same two calls — /createTask and /recordInfo — against https://nokai.studio.

Where to start

API base URL

https://nokai.studio

All endpoints require Authorization: Bearer zpk_... except the liveness probes.

Key concepts

ConceptOne line
Task / JobAn async generation request. Identified by taskId.
ModelThe generation model name (e.g. wan-i2v-480p).
CreditsPrepaid currency. 1 credit = $0.02. Deducted on completion.
WebhookAn HTTPS endpoint you register to receive signed job events.
API keyA zpk_… bearer token that authenticates every request.

Response envelope

Job endpoints (createTask, recordInfo) use a Standard response envelope:

{ "code": 200, "msg": "success", "data": { ... } }

Non-job endpoints (billing, webhooks, account) return flat responses with HTTP status codes.

Error responses always include:

{ "code": 401, "msg": "Missing or invalid API key", "data": null, "request_id": "req_..." }

Match on code, not msg. Include request_id in support requests — it is the trace key.