PopNowAPI Docs
Integrations
Main content

ComfyUI node for cloud generation

Run cloud AI image, video and audio models inside ComfyUI with the official PopNow node pack from ComfyUI Manager, or one custom node file. No GPU or model downloads; install steps, inputs, pricing and error fixes.

The official PopNow node pack adds every PopNow image, video and audio model to a ComfyUI graph. Each node sends a job to the cloud, waits for it, and passes the result to the next node. The models run remotely rather than on your GPU, so you can call memory-intensive video models from a laptop.

The pack is popnow-comfyui on the Comfy Registry, open source on GitHub. It adds one node per model, a PopNow Generate node that takes any model by name, and a PopNow LoRA node. This page matches the ComfyUI page on popnow.ai.

Install in four steps

Install the node pack

In ComfyUI, open Manager > Custom Nodes Manager, search for PopNow, click Install and restart ComfyUI. With the Comfy CLI:

comfy node install popnow-comfyui

The pack needs nothing beyond ComfyUI itself (Python 3.10 or newer). To install from source instead, clone popnow-comfyui into ComfyUI/custom_nodes.

Add your API key

Create a key in the API console, open Settings > PopNow in ComfyUI and paste it. Runs spend your PopNow balance in USD; a new account starts at $0. Add funds in API billing. You can also set the key in the environment you start ComfyUI from:

export POPNOW_API_KEY="sk-popnow-..."
python main.py

On Windows portable builds, add set POPNOW_API_KEY=sk-popnow-... to the .bat file that starts ComfyUI. Restart once more so the node list comes from your account.

Add a node

Double-click the canvas and type a model name (seedance, kling, wan, nano banana, suno …), or browse PopNow > Video / Image / Audio. PopNow Generate takes any model ID from Models.

Queue

Wire Load Image into the image input if the model takes one, connect Save Image, Save Video or Save Audio, and queue the prompt. ComfyUI's template browser has ready graphs under popnow-comfyui.

The single-file node

If you prefer to inspect a single source file, the pack's PopNow Generate node also comes as a single Python file. Save it as custom_nodes/popnow_api.py inside your ComfyUI folder, set POPNOW_API_KEY as above and restart ComfyUI. It uses only requests, Pillow, NumPy and PyTorch, which ComfyUI already ships.

Install the pack or this file, not both: they add the same node. When you move to the pack, delete custom_nodes/popnow_api.py; saved workflows keep working.

Inputs and outputs

These are the inputs and outputs of PopNow Generate, the same in the pack and in the single file. The pack's per-model nodes show each model's own fields instead, as dropdowns, sliders and sockets.

InputWhat to put in it
modelA model ID from Models, for example google/nano-banana-2.1/text-to-image or minimax/h3/image-to-video
promptWhat to make. Leave it empty for models that take no prompt
optionsThe model's other fields as JSON, such as {"resolution": "2k"} or {"duration_seconds": 5}. Each model's page lists them
image (optional)An IMAGE from another node. It is uploaded for you and placed in the field named by image_field
image_fieldWhich field gets the image: image_url for most video models, image_urls for image editing
OutputContains
imageThe result as an IMAGE for image models; a blank placeholder for video and audio
urlThe signed file URL, valid for about 20 minutes
pathFor video and audio: where the file was saved in ComfyUI's output folder

Common setups

Goalmodeloptionsimage_field
Text to imagegoogle/nano-banana-2.1/text-to-image{"aspect_ratio": "16:9", "resolution": "1k"}—
Edit a local rendergoogle/nano-banana-2.1/edit{"resolution": "2k"}image_urls
Animate a stillminimax/h3/image-to-video{"duration_seconds": 5, "resolution": "768p"}image_url
Upscale a framepopnow/image-upscaler-v1/upscale{}image_url
Cut out the subjectpopnow/background-remover-v1/edit{}image_url

A typical hybrid graph: make a start frame with a local checkpoint, animate it in the cloud with an image-to-video model, then load the saved MP4 back with a video loader node and upscale or interpolate it locally.

What the node does under the hood

The node is a thin wrapper over three REST calls; the same calls in other languages:

curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"model": "google/nano-banana-2.1/text-to-image", "input": {"prompt": "A lighthouse on a cliff at dusk, warm window light", "aspect_ratio": "16:9", "resolution": "1k"}}'

curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=job_..." \
  -H "Authorization: Bearer $POPNOW_API_KEY"
JavaScript
const API = 'https://api.popnow.ai/api/v1';
const auth = { Authorization: `Bearer ${process.env.POPNOW_API_KEY}` };
const created = await fetch(`${API}/jobs/createTask`, {
  method: 'POST',
  headers: { ...auth, 'Content-Type': 'application/json', 'Idempotency-Key': crypto.randomUUID() },
  body: JSON.stringify({
    model: 'google/nano-banana-2.1/text-to-image',
    input: { prompt: 'A lighthouse on a cliff at dusk, warm window light', aspect_ratio: '16:9', resolution: '1k' },
  }),
}).then((r) => r.json());
console.log(created.data.taskId);

Uploading the input image is the three-step flow on Media; the result is a popnow://f/… reference that only works with keys on your own account.

Pricing

Each run spends API USD at the model's normal price; the node adds nothing. Nano Banana 2.1 at 1K is $0.048 per image; MiniMax H3 at 768p is $0.21 for 5 seconds. Failed runs are not charged. Prices for every model are on its page and in API balance and refunds; use jobs/quote for an exact figure.

Common errors

ComfyUI showsWhyFix
No PopNow API key is set (pack)No key in Settings > PopNow or the environmentPaste the key in Settings > PopNow, or set POPNOW_API_KEY, then run again
Set POPNOW_API_KEY before starting ComfyUI (single file)The variable is not in ComfyUI's environmentSet it in the same shell or .bat file, then restart
PopNow 401: …Key missing, mistyped or revokedCreate a new key in the API console
PopNow 400: … naming a fieldoptions has a field the model does not accept, or a value out of rangeCheck the model's page; unknown fields are rejected
PopNow 40201: …Not enough API USDAdd funds in API billing, or lower the resolution or length
PopNow failed: …The model could not finish or declined the requestNothing was charged; change the prompt or settings
JSONDecodeErroroptions is not valid JSONUse double quotes: {"resolution": "2k"}
Node not in the search listThe pack or the file is not installed, or ComfyUI was not restartedCheck Custom Nodes Manager or the custom_nodes folder and restart; look for import errors in the console
A model from popnow.ai has no nodeThe pack builds its node list from your account's catalog when ComfyUI startsRestart ComfyUI, or use PopNow Generate with the model ID

Is this an official package on the ComfyUI registry?

Yes. popnow-comfyui is published by PopNow on the Comfy Registry, so ComfyUI Manager and comfy node install popnow-comfyui both find it. The source is on GitHub under the MIT license. The single-file node on this page is its PopNow Generate node in one file. See SDKs, CLI and open-source tools.

Does it work with ComfyUI Desktop and portable builds?

Yes. It works anywhere you can install custom nodes: portable, Desktop and self-hosted servers.

Do I need a GPU?

No. Generation runs on PopNow's side; your machine only sends the request and receives the file.

How do I get video frames back into the graph?

The node saves the video to ComfyUI's output folder and returns its path. Load it with a video loader node to get frames.

On this page