PopNowAPI Docs
Main content

API reference

Every endpoint of the PopNow API on one page, with links to the full OpenAPI contract.

The complete, machine-readable contract is openapi.yaml (OpenAPI 3.1). Import it into Postman, Insomnia or a code generator, or hand it to an AI agent. This page is the human-sized map.

  • Base URL: https://api.popnow.ai/api/v1 (OpenAI-compatible routes: https://api.popnow.ai/v1)
  • Authentication: Authorization: Bearer sk-popnow-… on every request
  • Envelope: { "code", "msg", "data", "request_id" }; code: 200 is success
  • Amounts: whole credits (credits, maxCredits …), each also given as a US dollar string; 1 credit = $0.01

Tasks

Method and pathDoesPage
POST /jobs/createTaskCreate a generation task (optional ?wait= up to 60 s)Tasks
GET /jobs/recordInfo?taskId=Read a task's state and resultTasks
GET /jobsList this key's tasksTasks
POST /jobs/quotePrice a request without running itBilling
POST /jobs/retryNew task from a failed or expired oneTasks
POST /jobs/purgeDelete a finished task's contentTasks

Models

Method and pathDoesPage
GET /modelsEvery callable model with prices (?includeSchema=1 for input schemas)Models
GET /models/{model}One model, including its input schemaModels

Files and assets

Method and pathDoesPage
POST /common/upload-urlTicket for a direct uploadMedia
POST /files/{fileId}/commitFinish an upload and get its popnow:// URIMedia
POST /files/importImport a LoRA file from a linkAssets
POST /common/download-urlFresh signed link to a task's outputMedia
GET /assets, POST /assetsList or save assetsAssets
GET, PATCH, DELETE /assets/{assetId}Read, rename or delete one assetAssets
GET /assets/entitiesYour charactersAssets
GET /assets/usageStorage plan and usageAssets

Account

Method and pathDoesPage
GET /chat/creditBalance: available, held, totalBilling
GET /usageThis key's usage by day and by modelBilling

OpenAI Videos compatible (/v1)

Method and pathDoesPage
POST /v1/videosCreate a video taskOpenAI Videos
GET /v1/videos/{id}Read itOpenAI Videos
GET /v1/videos/{id}/contentRedirect to the fileOpenAI Videos
GET /v1/modelsModel list in OpenAI's shapeOpenAI Videos

Common headers

HeaderDirectionMeaning
Idempotency-KeyRequestMakes retries of a write safe for 24 hours (Idempotency)
Accept-LanguageRequestLanguage of error messages (Errors)
X-PopNow-RetentionRequestShorten how long one task's content is kept, in seconds
X-Request-IdResponseSame as request_id; quote it to support
X-RateLimit-Limit, X-RateLimit-Remaining, Retry-AfterResponseRate limits (Rate limits)

On this page