Thanks to visit codestin.com
Credit goes to github.com

Skip to content

PoyoAPI/gemini-3-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gemini 3 API Examples for PoYo

Model page API docs License: MIT Main examples

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

What This Repo Covers

  • Chat completions with gemini-3-flash-preview
  • Pro and 3.1 Pro preview model selection
  • OpenAI-style /v1/chat/completions requests
  • Node.js backend example
  • Prompt examples and production integration notes

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.

Production Pattern

  • Keep POYO_API_KEY on 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

Models

This repo uses gemini-3-flash-preview, gemini-3-pro-preview, gemini-3.1-pro-preview.

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.

Run Checks

make check

On Windows:

./scripts/check.ps1

License

MIT

About

Server-side PoYo examples for Gemini 3 chat, coding, and agent workflows.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors