Pop-cam NanoBanana

v1.3.0

AI image generation in any visual style — photorealistic, cinematic, cartoon, illustration, and more. Transform photos or generate from text prompts via the...

0· 82·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for petagit/pop-cam.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Pop-cam NanoBanana" (petagit/pop-cam) from ClawHub.
Skill page: https://clawhub.ai/petagit/pop-cam
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required env vars: POPCAM_API_TOKEN
Required binaries: curl
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install pop-cam

ClawHub CLI

Package manager switcher

npx clawhub@latest install pop-cam
Security Scan
Capability signals
CryptoCan make purchases
These labels describe what authority the skill may exercise. They are separate from suspicious or malicious moderation verdicts.
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (image generation) aligns with required pieces: a single POPCAM_API_TOKEN credential and use of curl to call pop-cam.com endpoints. Nothing requested is unrelated to generating images.
Instruction Scope
SKILL.md instructs only on authenticating with Pop-cam, submitting text-or-image payloads, using webhook or synchronous modes, and handling presigned download URLs. It does not instruct the agent to read unrelated files, harvest other environment variables, or call unexpected endpoints.
Install Mechanism
No install spec or external downloads — instruction-only skill. Required binary (curl) matches the provided curl examples. Low risk from installation.
Credentials
Only one required environment variable (POPCAM_API_TOKEN) is declared and used, which is appropriate for an API client. No unrelated secrets or config paths are requested.
Persistence & Privilege
Skill is not forced-always; autonomous invocation is allowed by default (expected). The skill does not request system-wide config changes or unusual persistent privileges.
Assessment
This skill appears coherent, but before installing: ensure you trust https://www.pop-cam.com (the skill will ask you to provide and store an API token: POPCAM_API_TOKEN). Keep that token secret — anyone with it can use your credits. Be mindful that webhook usage requires a public HTTPS endpoint you control (if you provide one, results will be POSTed there). Confirm Pop-cam's pricing/credits and content policy because each generation costs credits and may be subject to terms. If you need higher assurance, verify the homepage, developer docs, and that the token behaves as described (pk_ prefix, shown once) before saving it into the agent environment.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

🍌 Clawdis
Binscurl
EnvPOPCAM_API_TOKEN
Primary envPOPCAM_API_TOKEN
latestvk97cd5tq8rpwvcg36amd1r6t7s84skzv
82downloads
0stars
3versions
Updated 2w ago
v1.3.0
MIT-0

Pop-cam NanoBanana Skill

Generate images with the Pop-cam NanoBanana API. The model supports any visual style — photorealistic, cinematic, cartoon, illustration, watercolor, 3D render, and anything else you can describe in a prompt.

This skill supports two modes:

  • Image-to-image: send a base64-encoded photo and a prompt describing how to transform it.
  • Text-to-image: send only a prompt field (no image) to generate an image from scratch.

Both modes cost 1 credit per generation and use the same endpoint.

Authentication

All generation requests require a Pop-cam API token (pk_ prefix) in the Authorization header.

If the user does not have a token yet, walk them through these steps in order:

  1. Sign up at https://www.pop-cam.com/sign-up (skip if they already have an account).
  2. Sign in at https://www.pop-cam.com/sign-in.
  3. Create an API token at https://www.pop-cam.com/developer — label it "OpenClaw". Copy the token immediately; it is only shown once.

Store the token and send it on every request:

Authorization: Bearer pk_YOUR_TOKEN

If unsure whether the user is signed in, call the auth-status endpoint first:

curl https://www.pop-cam.com/api/openclaw/auth-status

The response tells you whether sign-in is needed and provides the relevant URLs.

Skill Definition JSON

For a machine-readable version of this entire skill (features, endpoints, schemas, examples), call:

curl https://www.pop-cam.com/api/openclaw/skill

Generation Endpoint

POST https://www.pop-cam.com/api/v1/nanobanana

Headers

HeaderValue
AuthorizationBearer pk_YOUR_TOKEN
Content-Typeapplication/json

Request Body

FieldTypeRequiredDescription
imagestringNoBase64 data URL of the source image (data:image/png;base64,...). Omit entirely for text-to-image.
promptstringNoGeneration prompt. Required when image is omitted. Optional for image-to-image (a default prompt is used if omitted).
webhook_urlstringNoHTTPS URL to receive the result asynchronously. Omit for synchronous mode.

Image-to-Image Example

Transform an existing photo:

curl -X POST https://www.pop-cam.com/api/v1/nanobanana \
  -H "Authorization: Bearer $POPCAM_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "data:image/png;base64,iVBOR...",
    "prompt": "Enhance this photo with cinematic lighting and shallow depth of field"
  }'

Text-to-Image Example

Generate an image from a text prompt only — no source photo needed:

curl -X POST https://www.pop-cam.com/api/v1/nanobanana \
  -H "Authorization: Bearer $POPCAM_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A photorealistic portrait of a man in a leather jacket standing on a city rooftop at golden hour, natural lighting, shallow depth of field"
  }'

Synchronous Response (200)

{
  "job_id": "a1b2c3d4-...",
  "image_url": "https://cdn.pop-cam.com/generated/user_id/a1b2c3d4.png",
  "download_url": "https://...r2.cloudflarestorage.com/...?X-Amz-Signature=...",
  "used_prompt": "A photorealistic portrait of a man in a leather jacket standing on a city rooftop at golden hour, natural lighting, shallow depth of field",
  "credits_remaining": 22,
  "mode": "text-to-image"
}

Important: Use download_url to fetch the generated image. It is a presigned URL valid for 1 hour that works regardless of storage bucket privacy settings. The image_url is the permanent stored reference but may not be directly accessible if the bucket is private.

The mode field is "text-to-image" or "image-to-image" depending on which path was used.

Webhook / Async Mode

Include webhook_url to get an immediate HTTP 202 response with a job_id. Pop-cam POSTs the result to your URL when generation completes (retries up to 3 times with exponential backoff).

Initial response (202):

{
  "job_id": "a1b2c3d4-...",
  "status": "processing",
  "message": "Your image is being generated. Results will be POSTed to your webhook_url."
}

Webhook delivery payload includes download_url (presigned, 1-hour expiry) for fetching the image.

Error Handling

StatusMeaningAction
401Invalid or missing tokenAsk the user to create or refresh their token at https://www.pop-cam.com/developer
402Insufficient creditsDirect the user to buy credits at https://www.pop-cam.com/checkout
403Account not syncedAsk the user to sign in via the web app first
400Bad request (e.g. missing prompt for text-to-image, invalid image format)Check the request body and fix the issue

Credits

  • Each generation (both modes) costs 1 credit.
  • New accounts receive starter credits for free.
  • Every response includes credits_remaining.
  • Purchase more at https://www.pop-cam.com/checkout.

Prompt Tips

The model is not limited to any single style. The output depends entirely on your prompt. Here are example styles you can request:

StyleExample prompt snippet
Photorealistic"photorealistic photo, natural lighting, 85mm lens"
Cinematic"cinematic still frame, anamorphic lens flare, moody color grading"
Cartoon"colorful cartoon style, bold outlines, flat shading"
Illustration"editorial illustration, clean vector style"
Oil painting"oil painting on canvas, visible brushstrokes, impressionist style"
Watercolor"delicate watercolor painting, soft washes, paper texture"
3D render"3D rendered scene, volumetric lighting, octane render"
Pencil sketch"detailed pencil sketch on white paper, crosshatching"
Anime"anime style, Studio Ghibli-inspired, vibrant colors"

For the most realistic output, include details like lighting conditions, camera lens, depth of field, and environment in your prompt.

Quick Reference

TaskHow
Transform a photoSend image + optional prompt
Generate from textSend prompt only, no image field
Download the resultUse download_url from the response (presigned, 1-hour expiry)
Async processingAdd webhook_url to the request body
Check auth stateGET /api/openclaw/auth-status
Full skill JSONGET /api/openclaw/skill
Buy creditshttps://www.pop-cam.com/checkout
Create tokenhttps://www.pop-cam.com/developer

Comments

Loading comments...