Skip to content

About

Server-side PoYo examples for Nano Banana 2 Lite image generation and editing workflows.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Nano Banana 2 Lite API Examples for PoYo

Model page API docs License: MIT Main examples

Focused server-side examples for building with nano-banana-2-lite and nano-banana-2-lite-edit on PoYo.

Nano Banana 2 Lite is useful for fast lower-cost image drafts, thumbnails, product concepts, and high-throughput visual tests.

Try on PoYo | Get API Key | Docs | Pricing | Main Examples

What This Repo Covers

  • Text-to-image with nano-banana-2-lite
  • Image editing with nano-banana-2-lite-edit
  • cURL and Node.js backend examples
  • Async task flow: submit, store data.task_id, poll status, retrieve files
  • Webhook receiver notes for production callbacks

Quick Start

cp .env.example .env
export POYO_API_KEY="your-api-key"

Run the Node.js example:

cd node
npm start

Keep POYO_API_KEY on the server. Do not expose it in browser code, mobile apps, screenshots, or public logs.

Examples

Path What it covers
curl/generate.md Copy-paste API request.
node/ Native Node.js backend example.
docs/prompt-examples.md Practical prompts for product workflows and creative tests.
docs/production-notes.md Security and reliability notes before launch.
webhooks/express-webhook/ Minimal Express receiver for PoYo callbacks.

Run Checks

make check

On Windows:

./scripts/check.ps1

License

MIT

About

Server-side PoYo examples for Nano Banana 2 Lite image generation and editing workflows.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages