PopNowAPI Docs
Reference and help
Main content

API reference

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

The complete machine-readable API specification is openapi.yaml (OpenAPI 3.1). Import it into Postman, Insomnia or a code generator, or provide it to an AI agent. Use this page as an endpoint index.

  • Base URL: https://api.popnow.ai/api/v1 (chat and OpenAI-compatible routes: https://api.popnow.ai/v1)
  • Authentication: Authorization: Bearer sk-popnow-… on every request
  • Native API response envelope: { "code", "msg", "data", "request_id" }; code: 200 indicates success
  • Amounts: use the USD decimal strings costUsd, estimatedCostUsd, maxChargeUsd, availableUsd, heldUsd, totalUsd and totalSpend. These are decimal strings with up to nine decimal places, never rounded. API-key calls, the developer MCP and Playground runs spend your PopNow balance. Confirm quotes with quoteId and expectedCostUsd: quote.maxChargeUsd; see Billing

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/retryCreate a new task from a failed or expired taskTasks
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/entities/{entityId}One character with its images in orderAssets
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

Recipes, workflows and skills

Method and pathDoesPage
GET /recipesYour saved recipes and canvas workflowsSaved recipes
GET /recipes/{id}One recipe or workflow, its inputs and current priceSaved recipes
POST /recipes/{id}/runQuote, then confirm a USD budget with currency, max_usd and quote_idSaved recipes
GET /recipes/runs/{runId}Follow a USD run with the API key that started itSaved recipes
POST /recipes/runs/{runId}/resumeQuote and approve the total budget to resume a paused USD runSaved recipes
GET /skills, GET /skills/{id}Your Poppie skills and their instructionsSaved recipes
GET /agent-skillsList or search agent skillsAgent skills
GET /agent-skills/{slug}One agent skill with install stepsAgent skills
GET /agent-skills/{slug}/downloadDownload its packageAgent skills

Productions

Method and pathDoesPage
POST /productionsQuote, then open a production with one USD budgetProductions
GET /productionsThe productions this key openedProductions
GET /productions/{id}One production's budget, spent, held and remaining amountsProductions
GET /productions/{id}/eventsIts holds, charges, refunds and raisesProductions
POST /productions/{id}/budgetQuote, then raise the total budgetProductions
POST /productions/{id}/closeClose itProductions

Chat models (/v1 and /v1beta)

Chat calls return their answer in the same response, either as a complete result or a stream. Each route preserves its protocol's request, response and error formats, so you can use compatible official SDKs with the corresponding PopNow base URL.

Method and pathDoesPage
POST /v1/chat/completionsOpenAI Chat CompletionsChat models
POST /v1/responsesOpenAI Responses, statelessChat models
POST /v1/messagesAnthropic MessagesChat models
POST /v1beta/models/{model}:generateContentGemini; :streamGenerateContent?alt=sse streamsChat models
POST /v1/embeddingsVectors from an embedding model, OpenAI Embeddings compatibleChat models
GET /v1/modelsEvery model in OpenAI's list shape; ?modality=text for chat modelsChat models

OpenAI Videos compatible (/v1)

Method and pathDoesPage
POST /v1/videosCreate a video taskOpenAI Videos
GET /v1/videos/{id}Read a video taskOpenAI Videos
GET /v1/videos/{id}/contentRedirect to the fileOpenAI 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