Focused server-side examples for building with Gemini 3 models on PoYo.
Gemini 3 is useful for coding assistants, long-context analysis, multimodal reasoning plans, and agent workflows that need a fast model path and a stronger pro path.
Try on PoYo | Get API Key | Docs | Pricing | Main Examples
- Chat completions with
gemini-3-flash-preview - Pro and 3.1 Pro preview model selection
- OpenAI-style
/v1/chat/completionsrequests - Node.js backend example
- Prompt examples and production integration notes
cp .env.example .env
export POYO_API_KEY="your-api-key"Run the Node.js example:
cd node
npm startKeep POYO_API_KEY on the server. Do not expose it in browser code, mobile apps, screenshots, or public logs.
- Keep
POYO_API_KEYon the server - Send a chat completion request
- Log model, latency, and usage for cost tracking
- Add retries around network failures, not around every model response
This repo uses gemini-3-flash-preview, gemini-3-pro-preview, gemini-3.1-pro-preview.
| 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. |
make checkOn Windows:
./scripts/check.ps1MIT