PopNow API overview
Explore image, video, audio and chat APIs, model IDs, asynchronous tasks, USD billing, idempotency and webhooks.
The PopNow API lets your own software use the image, video and audio models you know from popnow.ai, plus chat models such as Claude and Gemini. Model prices use the same rate for the same settings; API calls spend your PopNow balance, in USD.
What you can make
| Output | Examples |
|---|---|
| Images | Text to image, image editing with one or more references, upscaling, background removal, layer separation |
| Video | Text to video, image to video, first-and-last-frame video, reference video, extending and editing clips |
| Audio | Music, sound effects, text to speech, a soundtrack for an existing video, speech to text |
| Text | Chat with Claude, Gemini, DeepSeek, GLM, Grok and Kimi through the OpenAI, Anthropic or Gemini protocol |
The full list of image, video and audio models, with each model's ID and price, is on Models. Chat models are on Chat models; they answer in the same response instead of creating a task, so most of the ideas below apply to images, video and audio.
Core concepts
Model ID
Each combination of media model and task type has an ID in the form <maker>/<model>/<task>, for example alibaba/wan-3.0/image-to-video or google/nano-banana-2.1/edit. Use this ID in the model field when creating a media task. Image editing always ends in /edit. Tools built by PopNow itself, such as background removal, use popnow as the maker.
Task
Media generation usually takes a few seconds to several minutes, so each media generation request creates a task. You get a taskId at once and read the result when it is ready. A task moves through queued, then running, then one final state: succeeded, failed or expired. Details: Tasks.
API balance
API calls spend your PopNow balance, shown in USD: the same balance you use on popnow.ai. A new account starts at $0; add funds in API billing. API keys, the developer MCP and the API Playground all spend it. When a task is accepted, its highest possible price is held; when it finishes, you pay the real amount (never more than the hold) and the rest is released. A task that fails costs nothing. Details: Billing.
Idempotency key
A network timeout does not tell you whether the server received your request. Send an Idempotency-Key header with every task you create, and a retry with the same key returns the original task instead of making — and charging — a second one. Details: Idempotency.
Webhook
Instead of asking for a task again and again, give it a callBackUrl. When the task finishes, PopNow sends the full result to that URL, signed so you can check it came from us. Details: Webhooks.
What a request looks like
POST https://api.popnow.ai/api/v1/jobs/createTask
Authorization: Bearer sk-popnow-...
Idempotency-Key: 7d0c9a52-...
{ "model": "alibaba/wan-3.0/image-to-video",
"input": { "image_url": "https://…/photo.jpg", "prompt": "The waves roll in slowly" },
"callBackUrl": "https://your-app.example.com/hooks/popnow" }Media API responses use the envelope { "code", "msg", "data", "request_id" }, where code: 200 means success.
Read in this order
- Quickstart — send your first request.
- Authentication — how to keep a key safe and restrict what it can do.
- Models — pick a model and read its parameters.
- Tasks and Webhooks — the full lifecycle.
- Media — send your own images, video and audio.
- Errors and Rate limits — before you go live.
Want to try a model before writing code? Every model has a Playground on its API page on popnow.ai, which spends your API USD balance even though you do not paste a key into it.
Working in a coding agent? Connect Claude Code, Cursor or Codex to the developer MCP with your API key, and install ready-made agent skills. Working in a tool you already use? There are guides for n8n, ComfyUI and Blender, plus copy-and-run recipes. Building a chatbot or an agent? Chat models shows the OpenAI, Anthropic and Gemini routes.

