APACHE-2.0 · OPEN-SOURCE MEDIA GATEWAY

Transparent routing for image, video, and audio models.

OpenGen is an independent Apache-2.0 catalog and execution gateway built for developers, designers, and AI agents who need exact model identity, source-linked regional pricing, durable job execution, and private workspaces—without proprietary lock-in.

33Model series
54Exact model variants
184Documented regional routes
11Model creators

Why we built OpenGen

Generative media infrastructure has fragmented across dozens of model families, subtle variant revisions, regional endpoints, and incompatible provider APIs. Wrapper services often hide which exact model or region handled a request, round away unknown tariffs, or expose user creations in public feeds.

OpenGen takes an evidence-first approach. Every model variant and regional deployment in the catalog is a fixed, inspectable execution choice backed by dated, credential-free provider documentation. When a provider does not disclose pricing, processing regions, or retention terms, OpenGen reports those fields as unknown rather than inventing zero, free, or 100% figures.

Core architectural guarantees

01 · EXACT IDENTITY

No silent variant substitution

Requests target canonical variant IDs and explicit regional deployments. Automatic fallback is strictly opt-in, follows only explicit pre-acceptance rejections, and never swaps in a different model variant.

02 · SINGLE-SOURCE PRICING

Published tariffs with dated sources

Every rate displayed across REST, MCP, CLI, and the web catalog is computed from one validated micro-USD source of truth with positive integer rates and explicit units. Dry-run estimates never reserve credit.

03 · DURABLE EXECUTION

Submit once, persist IDs, resume safely

Paid submissions require an Idempotency-Key and an explicit spending cap (maxCostMicros). Network timeouts enter explicit recovery rather than triggering blind paid retries.

04 · PRIVATE BY DEFAULT

Owned workspaces with zero public gallery

All prompts, uploaded input assets, and generated outputs stay private to the owning workspace and its authorized scopes. Output media is served through owned private capabilities—never shared publicly.

One contract across REST, MCP, CLI, and browser

OpenGen ships a single PostgreSQL-backed gateway serving a 24-endpoint OpenAPI 3.1 REST API, a focused Streamable HTTP MCP server (with zero-auth public discovery on /mcp/readonly and OAuth 2.1 DCR + PKCE on /mcp), a portable Node.js CLI (@opengen-dev/cli), and a browser Playground. You can use the hosted gateway with prepaid credit or bring-your-own provider keys (BYOK), or self-host the complete Apache-2.0 stack on your own infrastructure with no proprietary control plane.