PopNowAPI
Get API key

SDKs, libraries and tools

Official clients for Python, JavaScript, Go, PHP and Java, a CLI, an MCP server for AI agents and plugins for the tools you already use. All open source.

Quickstart

Install the client, set POPNOW_API_KEY, and generate your first image.

Install
pip install popnow
export POPNOW_API_KEY="sk-popnow-..."
Generate an image
from popnow import PopNow

client = PopNow()  # reads POPNOW_API_KEY

task = client.images.generate(
    model="google/nano-banana-2.1/text-to-image",
    prompt="A small red fox curled up in a teacup, soft morning light",
)
print(task.state, task.urls[0])
client.files.download(task.assets[0], "fox.png")

Authentication

Send your key as a Bearer token. Keys start with sk-popnow- and can be limited to certain models and IP addresses, with daily, monthly and total spending caps.

API keys
cURL
curl https://api.popnow.ai/api/v1/models \
  -H "Authorization: Bearer $POPNOW_API_KEY"

All libraries and tools

Everything is on GitHub under github.com/popnow-ai.

Languages

  • popnow-python

    Python SDK with sync and async clients, file uploads and webhook verification.

    pip install popnowGitHubPyPI
  • popnow-js

    JavaScript and TypeScript SDK for Node.js, Deno, Bun, Cloudflare Workers and edge runtimes.

    npm install popnowGitHubnpm
  • popnow-go

    Go client with typed requests, waiting helpers and iterators.

    go get github.com/popnow-ai/popnow-goGitHubpkg.go.dev
  • popnow-php

    PHP client for PHP 8.1 and later.

    composer require popnow/popnowGitHubPackagist
  • popnow-java

    Java client for Java 17 and later, Kotlin and other JVM languages.

    GitHubMaven Central
  • popnow-cli

    Command-line tool: quote, create, wait, upload and download from your terminal or CI.

    npm install -g @popnow/cliGitHubnpm

Tools and plugins

  • popnow-mcp

    Setup guide and client configs for the remote MCP server.

    GitHub
  • popnow-skills

    Agent Skills for Claude Code, Codex and other coding agents.

    GitHub
  • popnow-api

    OpenAPI file with curl, Python and Node.js examples and an n8n workflow.

    GitHub
  • popnow-blender

    Source of the Blender add-on.

    GitHub
  • popnow-comfyui

    ComfyUI custom nodes that run PopNow models inside your graph.

    GitHubComfy Registry
  • n8n-nodes-popnow

    n8n community node for self-hosted n8n.

    GitHubnpm
  • popnow-proxy

    Server-side proxy so browser and mobile apps can call the API without exposing your key.

    npm install @popnow/proxyGitHubnpm
  • popnow-bot

    Self-hosted Telegram and Discord bot for images, videos and video effects, with spend limits.

    GitHubDocker Hub

For AI agents and coding assistants

Built in for production

  • Quotes

    Price a request without running it, then pass the quote to create the task.

    POST /jobs/quote
  • Idempotency keys

    Retry safely: the same key returns the original task instead of charging twice.

    Idempotency-Key
  • Signed webhooks

    Get the finished task posted to your server, signed so you can verify it came from us.

    X-Webhook-Signature
  • Rate limits

    Up to 1,000 requests per 10 seconds per account; a 429 tells you how long to wait.

    429 · Retry-After

Start building in minutes

One key for every model, a USD balance you top up when you need to, and an exact price before every run.