Skip to content

About

Open-source, browser-only studio for 80+ image & video models (Seedance, Kling, Veo, GPT Image, Nano Banana...) - bring your own PoYo API key. MIT.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Open Generative Studio

Open-source AI image & video studio — 80 models (Seedance 2.5, Kling 4.0, Veo, GPT Image 2.6, Nano Banana…) with your own API key.

Self-hostable · white-label · runs entirely in the browser · MIT

Quick start · Deploy · Models · White-label · FAQ

License: MIT GitHub stars React 19 Vite 6 TypeScript

Open Generative Studio — a live wall of real model outputs behind one prompt box

Why

Most AI studios are closed SaaS with their own credits and markup. Open Generative Studio is a polished, keyboard-first studio you can run anywhere: clone it, paste a PoYo API key, and generate images and videos from dozens of top models. Requests go straight from your browser to the API — no backend to deploy, no database, nothing to maintain. Fork it to build your own AI product.

Features

  • One prompt box, many models — video and image models from ByteDance, Kling, Google, OpenAI, Black Forest Labs, MiniMax, Alibaba, xAI and more, all through one API key.
  • Live showcase — the first screen is a wall of real outputs from the catalog's models; hover any tile to see the model (and the exact prompt and cost when known) and load it into the composer.
  • Schema-driven composer — parameter chips are generated from each model's input schema (aspect ratio, duration, resolution, count…), with field-level validation and the live price on the Generate button.
  • Reference media — drag & drop, paste or pick images, videos and audio; they are uploaded and routed to the right input (first frame, reference images, reference video…).
  • Two-pane model palette — ⌘/Ctrl + K: forgiving search ("klng", "nanobanana", "i2v", makers like "bytedance"), starting prices, and a preview with samples, limits and the price table.
  • Gallery-first — masonry grouped by day, live progress with ETA, an un-blur moment when results land, tab-title and favicon badges for unseen results, multi-select with bulk download/delete, video scrubbing.
  • Follow-ups in one click — Animate an image into a video, Edit it, use any output as a reference, or reuse its settings.
  • Copy as code — every generation exports the exact submit + poll request as cURL, JavaScript or Python.
  • Keyboard-first — ⌘/Ctrl + Enter generate · ⌘/Ctrl + K models · / prompt · ← → browse · F fullscreen · ? all shortcuts.
  • Private by default — your key stays in localStorage; your gallery lives in IndexedDB on your device.
  • Resumable — unfinished tasks keep polling after a reload (with jitter and Retry-After-aware backoff).
  • White-label — brand name, logo, accent color, API base and showcase via environment variables.
  • Accessible & responsive — AA contrast in both themes, focus rings, reduced-motion support, 44 px touch targets, down to 390 px wide.

Typing a prompt, generating, and the result appearing in the gallery
Recorded in the built-in mock mode, which returns sample media instead of calling the API.

Gallery with a running generation and the composer Mobile first screen
Detail panel with follow-up actions and Copy as code Mobile gallery
Two-pane model palette (Ctrl+K) Light theme

Showcase tiles are real outputs published on PoYo's model pages. Gallery screenshots use mock mode with sample media from those pages.

Quick start

Requires Node.js 20+.

git clone https://github.com/coolhackboy/open-generative-studio.git
cd open-generative-studio
npm install
npm run dev

Open http://localhost:5173, click Add API key, paste your key, and press ⌘/Ctrl + Enter.

No key yet? Open http://localhost:5173/?mock=1&seed=1 to explore the UI with simulated generations (dev server only).

To build a static site:

npm run build      # outputs dist/ — host it on any static file server
npm run preview    # preview the production build locally

Get an API key

  1. Sign in at poyo.ai/dashboard/api-key and create a key.
  2. Paste it in the studio under Settings → API key.

Every generation is billed to the PoYo account that owns the key, at PoYo's pay-as-you-go prices. The studio shows an estimate before you generate and the actual credits charged afterwards.

Deploy in 1 click

The app is a static site — no server, no database.

Deploy with Vercel Deploy to Netlify

Any static host works (Cloudflare Pages, GitHub Pages, S3, Nginx): build command npm run build, output directory dist. Visitors of your deployment bring their own API key — it is never part of the build.

White-label & resell

Rebrand the studio with environment variables at build time (copy .env.example to .env.local, or set them in your hosting dashboard):

Variable Default Purpose
VITE_BRAND_NAME Open Generative Studio Name in the top bar, page title and Open Graph tags
VITE_BRAND_LOGO_URL built-in mark Square logo (SVG/PNG URL)
VITE_ACCENT PoYo lime Accent color — any CSS color; hover and contrast colors are derived
VITE_API_BASE https://api.poyo.ai API endpoint the browser talks to
VITE_SHOW_POWERED_BY true Show the small "Powered by PoYo" link
VITE_SITE_URL GitHub repo Your public URL, used for absolute og:url / og:image
VITE_SHOWCASE_URL /showcase/showcase.json Your own showcase wall (same JSON shape)

How billing works. Generations are billed to whichever key the browser sends. Out of the box each visitor uses their own PoYo key, so hosting a public copy costs you nothing.

Reselling with your own margin. Don't put your PoYo key in a VITE_* variable — anything in the build is visible to every visitor. Instead, run a small gateway that implements the same three endpoints (POST /api/generate/submit, GET /api/generate/status/{task_id}, POST /api/common/upload/stream), authenticates your users with keys you issue, forwards requests to PoYo with your PoYo key, and charges your users whatever price you set. Point VITE_API_BASE at that gateway. Every generation then bills your PoYo account, and your margin is the difference.

Deeper changes are easy too: design tokens live in src/styles/tokens.css, generic UI primitives in src/ui/, and all backend-specific code in src/lib/api.ts and src/config.ts.

Copy as code

Found settings you like? Open any generation and copy the exact request as cURL, JavaScript or Python. The snippet reads your key from $POYO_API_KEY, so it is safe to share:

const API = "https://api.poyo.ai";
const headers = { Authorization: `Bearer ${process.env.POYO_API_KEY}`, "Content-Type": "application/json" };

const submit = await fetch(`${API}/api/generate/submit`, {
  method: "POST",
  headers,
  body: JSON.stringify({
    model: "seedance-2.5-flash",
    input: { prompt: "A paper boat drifting through a miniature city at sunset", duration: 5, resolution: "720p" },
  }),
}).then((r) => r.json());
const taskId = submit.data.task_id;

let task;
do {
  await new Promise((r) => setTimeout(r, 3000));
  task = (await fetch(`${API}/api/generate/status/${taskId}`, { headers }).then((r) => r.json())).data;
} while (task.status !== "finished" && task.status !== "failed");
console.log(task.files);

The composer's </> button does the same for the settings you haven't generated yet.

Supported models

80 models — 46 video, 34 image · catalog snapshot 2026-11-17. Prices are the cheapest public tier on PoYo at snapshot time; the app shows a live estimate for your exact settings and PoYo bills the final amount.

Video models (46)
Model Provider Variants Price
Seedance 2.5 Flash Seedance — from $0.0575/s
Gemini Omni 1.2 Flash Google — from $0.0273/s
Kling 4.0 Flash Kling — from $0.063/s
PixVerse V6 Max PixVerse — from $0.024/s
Kling 4.0 Kling — from $0.085/s
FLUX 3 Max Black Forest Labs Text to Video, Image to Video, Keyframes to Video from $0.17/s
Vidu Q4 Vidu — from $0.045/s
OmniHuman 2.0 ByteDance — from $0.105/s
MiniMax H3 Max MiniMax — from $0.05/s
MiniMax H3 Max Turbo MiniMax — from $0.025/s
Gemini Omni 1.1 Flash Google — from $0.225/run
Wan 3.0 Alibaba Text to Video, Image to Video, Reference to Video from $0.05/s
Wan 3.0 Video Prime Alibaba Text to Video, Image to Video, Reference to Video from $0.068/s
MiniMax H3 / Hailuo 03 MiniMax — from $0.105/s
FLUX 3 Black Forest Labs Text to Video, Image to Video, First & Last Frame, Extend Video, Keyframes to Video from $0.17/s
Seedance 2.5 Seedance — from $0.085/s
Seedance 2.0 Mini Seedance — from $0.03/s
Kling 3.0 Turbo Kling Standard, Pro from $0.085/s
Omni Flash Google — from $0.60/run
Grok Imagine Video 1.5 xAI — from $0.0725/s
Kling Avatar 2.0 Kling Standard, Pro from $0.035/s
Happy Horse 1.1 Alibaba — from $0.11/s
Happy Horse Alibaba — from $0.08/s
Seedance 2 Seedance Standard, Fast from $0.045/s
Wan 2.7 Video Alibaba Text to Video, Image to Video, Reference to Video, Edit Video from $0.06/s
Sora 2 Official OpenAI Official, Pro Official, Beta from $0.20/video
Kling 3.0 Motion Control Kling — from $0.045/s
Hailuo 2.3 MiniMax — from $0.175/video
Kling 1.6 Kling Standard, Pro from $0.045/s
Kling 2.1 Kling Standard, Pro from $0.15/video
Kling 2.5 Turbo Pro Kling — from $0.21/video
Wan 2.2 Fast Alibaba Image to Video, Text to Video from $0.03/run
Wan 2.5 Alibaba Image to Video, Text to Video from $0.15/video
Runway Gen-4.5 Runway — from $0.375/video
Kling 3.0 Kling Standard, Pro, 4K from $0.135/s
Kling O3 Kling Standard, Pro, 4K from $0.05/s
Kling 2.6 Motion Control Kling — from $0.04/s
Seedance 1.5 Pro Seedance — from $0.045/video
Wan 2.6 Alibaba Text to Video, Image to Video, Video to Video from $0.40/video
Grok Imagine xAI — from $0.15/video
Hailuo 02 MiniMax Standard, Pro from $0.035/s
Seedance 1.0 Pro Seedance — from $0.105/video
Kling 2.6 Kling — from $0.325/video
Wan Animate Alibaba Move, Replace from $0.035/s
Veo 3.1 Google Lite, Fast, Quality from $0.10/video
Veo 3.1 Official Google Fast, Lite, Quality from $0.018/s
Image models (34)
Model Provider Variants Price
Seedream 5.5 Seedream Standard, Layerize from $0.02/image
MiniMax H3 Image MiniMax — from $0.016/image
MAI Image 2.6 Microsoft Standard, Flash billed by usage
GPT Image 2.6 OpenAI Flare, Sunburst, Fixed from $0.0085/image
Ideogram Vector 1.0 Ideogram Text to Vector, Image to Vector from $0.10/image
FLUX 3 Image Klein Black Forest Labs Standard, Edit from $0.009/image
Nano Banana 2.1 Google — from $0.02/image
Seedream 5.0 Flash Seedream Standard, Edit from $0.02/image
Ideogram 4.5 Ideogram Standard, Edit from $0.008/image
Qwen Image 2.1 Alibaba — from $0.03/run
GPT Image 2.5 OpenAI Flare, Sunburst, Fixed from $0.0085/image
Grok Imagine Image 2.0 xAI — from $0.04/image
Qwen Image 3.0 Alibaba Standard, Pro from $0.024/image
Seedream 5.0 Pro Seedream Standard, Edit from $0.075/image
Nano Banana 2 Lite Google Standard, Edit from $0.025/run
GPT Image 2 OpenAI Standard, Edit from $0.01/run
Kling O3 Image Kling Standard, Edit from $0.0175/image
Kling O1 Image Kling — from $0.0175/image
Wan 2.7 Image Alibaba Standard, Pro from $0.021/run
Nano Banana 2 Google New, New Edit, Official, Official Edit from $0.025/run
Seedream 5.0 Lite Seedream Standard, Edit from $0.025/run
Seedream 4 Seedream Standard, Edit from $0.025/run
GPT Image 1.5 OpenAI Standard, Edit from $0.01/run
Grok Imagine Image xAI — from $0.03/image
Grok Imagine Image Quality xAI — from $0.04/image
Z-Image Alibaba — from $0.01/run
Seedream 4.5 Seedream Standard, Edit from $0.025/run
Flux Kontext Black Forest Labs Pro, Pro Edit, Max, Max Edit from $0.04/run
FLUX.2 Black Forest Labs Pro, Pro Edit, Flex, Flex Edit from $0.03/run
Flux Dev Black Forest Labs — from $0.02/MP
Flux Schnell Black Forest Labs — from $0.0024/MP
Nano Banana Pro Google Pro, Pro Edit, Nano Banana 2, Nano Banana 2 Edit from $0.04/run
GPT-4o Image OpenAI Standard, Edit from $0.02/run
Nano Banana Google Standard, Edit from $0.025/run

FAQ

Is it free?

The software is free and MIT-licensed. Generating images and videos costs PoYo credits on the account that owns the API key — pay as you go, no subscription required. Prices for each model are listed above and in the app.

Where are my generations stored?

In your browser: the gallery (prompts, settings, result URLs) is kept in IndexedDB, and your API key in localStorage. Your key, prompts and uploads go only to the API base you configured. Besides that, the page loads model icons and thumbnails from storage.poyo.ai and the star count from GitHub's public API; fonts and the showcase media are self-hosted. The media files themselves are hosted by PoYo; download anything you want to keep long-term. Uploaded reference images expire after 72 hours. Clearing site data or switching browsers starts a fresh gallery.

Can I change the API base?

Yes. Users can change it under Settings → API base URL, and deployers can set the default with VITE_API_BASE. Any endpoint that speaks the same API works — for example your own gateway (see White-label & resell).

Is my API key safe?

The key is stored only in your browser's localStorage and sent only to the configured API base over HTTPS. It is never logged, never included in "Copy as code" snippets, and never part of a build. As with any browser-stored credential, avoid using it on shared computers and clear it in Settings when you're done.

Do I need a backend?

No. The PoYo API allows cross-origin requests, so the studio is a static site that talks to the API directly. To change what the first screen shows, point VITE_SHOWCASE_URL at your own JSON (see public/showcase/showcase.json); set input/credits only for outputs whose exact request you know.

How do I add or update models?

Models, input schemas, examples and prices come from src/data/catalog.json. The UI is generated from the schema, so a new model needs no new components. After editing the catalog, run npm run readme:models to refresh the table above.

Tech stack

React 19 · TypeScript (strict) · Vite 6 · Tailwind CSS 4 · Zustand · Motion · idb-keyval · Lucide icons · Geist (self-hosted).

src/
  ui/          generic primitives (Button, Dialog, Popover, Segmented, Slider, Toast, Masonry…) — reusable in any app
  styles/      design tokens for dark & light themes
  components/  showcase, gallery, composer, model palette, lightbox, settings
  lib/         api client, task polling, schema → controls, search, pricing, code snippets, storage
  data/        generated model catalog (+ UI-side normalization)
public/showcase/  real sample outputs for the first screen
  config.ts    brand + backend configuration

Contributing

Issues and PRs are welcome — see CONTRIBUTING.md. Mock mode (?mock=1) lets you work on the UI without an API key.

Related

License

MIT © 2026 PoYo AI

About

Open-source, browser-only studio for 80+ image & video models (Seedance, Kling, Veo, GPT Image, Nano Banana...) - bring your own PoYo API key. MIT.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages