PopNow API docs
One API key for image, video, audio and chat. Pay in USD from your PopNow balance.
Choose where to start
REST API
Send a task, get the file back. The quickstart takes five minutes.
Chat models
Claude, Gemini, DeepSeek and more with the OpenAI, Anthropic or Gemini SDK.
Developer MCP
Call any PopNow model from Claude Code, Cursor or Codex with your API key.
SDKs and CLI
Python, JavaScript, Go, PHP, Java and a command-line tool.
Agent skills
Ready-made styles for Claude Code, Codex, Cursor and other coding agents.
n8n, ComfyUI and Blender
Workflows, nodes and an add-on for tools you already use.
Your first image in three steps
Create a key and top up
Sign in at popnow.ai, create an sk-popnow- key in the API console, then top up under Billing. Your API USD balance starts at $0 and pays for API calls, the developer MCP and Playground.
Send one request
Paste this into a terminal. It asks Z-Image for one image at $0.01 USD and waits up to 60 seconds for the result.
POST /api/v1/jobs/createTask?wait=60 export POPNOW_API_KEY="sk-popnow-..." # your key from the API console curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask?wait=60" \ -H "Authorization: Bearer $POPNOW_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "model": "alibaba/z-image-turbo/text-to-image", "input": { "prompt": "A small red fox curled up in a teacup, soft morning light, studio photo" } }'Open the result
The response contains a signed link to the image in output.assets[0].url. Longer jobs such as video return a taskId instead; read it later with recordInfo or get a webhook.
200 OK { "code": 200, "msg": "success", "data": { "taskId": "job_01JH8Z4Q5W2N7R3K9M6P1C0VXD", "model": "alibaba/z-image-turbo/text-to-image", "state": "succeeded", "output": { "assets": [ { "url": "https://…signed-link…", "expiresAt": "2026-10-16T09:20:00Z", "mime": "image/png", "width": 1024, "height": 1024 } ] }, "costUsd": "0.01", "settled": true }, "request_id": "req_…" }
output.assets[0].url

