finpeakinc/frevana-skills

nano-banana-2

Use when the user asks for Nano Banana 2 or nano banana, or wants Frevana-hosted image generation.

First seen May 27, 2026

Installation

$ npx skills add finpeakinc/frevana-skills --skill nano-banana-2

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from finpeakinc/frevana-skills · top by installs.

npx skills add finpeakinc/frevana-skills

Browse all from finpeakinc/frevana-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 2
License MIT
Default branch master
Open issues 1
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,410 B
  • docs SUMMARY.md 119 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 3 installs

SKILL.md

Nano Banana 2

Generate images through Frevana's AI Factory image API.

This skill returns the validated API response JSON unchanged. Treat generatedimages[0].imageurl as the primary image URL.

Trigger Phrases

  • Nano Banana 2
  • nano banana 2
  • nano banana

What This Skill Needs

  • user-provided prompt or contents
  • optional Frevana image config fields: seed, maxOutputTokens, responseModalities, imageConfig.aspectRatio, imageConfig.imageSize
  • FREVANA_TOKEN in the environment variables, or an explicit --token override for the current run
  • curl
  • bash
  • python3

Execution Order

  1. Confirm the user provided the image prompt.
  2. Do not ask for or pass through image routing overrides; the Frevana script owns them.
  3. Prefer the script over ad hoc curl commands.
  4. Let the script read FREVANA_TOKEN first.
  5. In non-interactive runs, fail fast if the token is missing and tell the user to set FREVANA_TOKEN or pass --token.
  6. Return the raw API response JSON, or the first image URL when the user only wants the hosted asset.
  7. Save the JSON with --output when useful.

Allowed Options

  • --seed
  • --max-output-tokens
  • --response-modality (repeatable)
  • --aspect-ratio
  • --image-size (1K, 2K, 4K; numeric values like 1800 and WxH values like 1024x1024 are normalized to the nearest tier, using the larger edge for WxH; defaults to 1K)

Command

bash <skill-path>/scripts/generate_image.sh \
  --prompt "A playful dashboard scene with floating cards and light SaaS illustration styling" \
  --seed 42 \
  --max-output-tokens 2048 \
  --response-modality IMAGE \
  --aspect-ratio 16:9 \
  --image-size 2K \
  --output ./out/nano-banana-2-result.json

Response Shape

{
  "generated_images": [
    {
      "image_url": "https://static.frevana.com/images/user-id/example-image-id.png",
      "enhanced_prompt": "string",
      "rai_filtered_reason": "string",
      "mime_type": "image/png"
    }
  ],
  "positive_prompt_safety_attributes": {},
  "credits_consumed": 1
}

Notes

  • Do not pass image routing overrides; the script rejects them.
  • Do not rewrite, proxy, or transform the returned Frevana image URLs unless the user asks for that.