Production checklist
What to check before real users depend on your integration — keys, retries, webhooks, storage, costs and monitoring.
Before launch, check how your integration handles credentials, timeouts, duplicate webhooks, expired links and costs.
Keys
- The key lives in your server's secret store, never in a browser or app bundle.
- Each environment and each service has its own key, so one can be revoked alone.
- Production keys are limited to the models you use and have a daily spend cap.
- You know how to rotate a key without downtime (Authentication).
Creating tasks
- Every
createTasksends anIdempotency-Keyderived from your own job ID, generated once, reused on every retry. - Retries are limited to responses with
429,500,503or50301, with backoff and respect forRetry-After(Errors). -
400,40004and other "fix the request" errors are shown or logged, not retried. - If you show prices, display
expectedChargeUsdandmaxChargeUsdin USD. SubmitquoteIdandexpectedCostUsd: quote.maxChargeUsdwith the same request before the quote expires, and handle40901. - A low balance (
40201) reaches a person — an alert, an email, a banner — before users notice.
Getting results
- Tasks carry a
callBackUrl; your endpoint verifies the signature and rejects stale timestamps. - The webhook handler answers
2xxquickly and does the work in the background. - Duplicate deliveries are ignored by
request_id. - A periodic check queries tasks whose webhook has not arrived.
- Your code treats any state other than
succeeded,failed,expiredandcanceledas "still running".
Files
- Finished files are copied into your own storage (or your asset library) instead of linking to the signed URL, which expires in about 20 minutes.
- You store
taskIds, not signed links. - Your download code does not send the API key to the signed URL.
- Reference files are public HTTPS links to the file itself, uploads, or assets — not share pages.
Costs
- You know each model's billing unit (per image, per second, per request) and which settings increase the cost.
- Previews and tests use the cheapest resolution and shortest duration; Playground also spends API USD.
- Funding and low-balance alerts cover your PopNow balance, which use on popnow.ai and in the PopNow app spends too.
- USD spend caps (
dailySpendCap,monthlySpendCap,totalSpendCap) stop runaway loops before they empty the balance. - You check the USD
costUsdandsettledrather than assuming the estimate was charged.
Monitoring
- You log
request_id,taskId,codeanderrorCodefor every failure. - You watch the share of
failedtasks per model; a sudden rise usually means a prompt, input or model change. - You track time from
createTaskto the webhook per model, and alert on outliers. - Someone on your team knows where the API console's logs and usage pages are.
Content
PopNow is a general-audience service. Models apply their own content rules, and requests they decline fail with content_rejected. If your users write prompts, tell them in your own interface why a request was declined instead of showing a raw error, and let them change it.
Code recipes
Copy-and-run Python and Node.js recipes for the PopNow AI image, video and text-to-speech API - batch images from a CSV, photo to video, voiceovers line by line, and a Slack alert when a video is ready.
Developer MCP
Connect Claude Code, Cursor, Codex or any MCP client to PopNow with an API key. Call any image, video or audio model by ID and approve every charge in USD from your API balance.

