PopNowAPI Docs

PopNow API docs

One API key for image, video, audio and chat. Pay in USD from your PopNow balance.

Choose where to start

Your first image in three steps

  1. 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.

  2. 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"
      }
    }'
  3. 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_…"
    }
    A small red fox curled up in a teacup, soft morning light, studio photo
    output.assets[0].url

Reference