open-generative-studio
Open Generative Studio
オープンソースでセルフホスト可能なAI制作スタジオ。 1つのキャンバスから画像、動画、 リップシンク、シネマティッククリップ、マーケティング/UGC広告を生成できます。ノードベースの ワークフロービルダー、ユーザーごとのクレジットウォレット、ホスト型MCPサーバーを備え、 AIエージェント(Claude、ChatGPT、Cursor)があなたのインスタンスを通じてメディアを生成できます。
モデル推論は Atlas Cloud を利用しています。1つのAPIキーで、 最先端の画像・動画・音声・LLMモデル(FLUX、Qwen-Image、Kling、Seedream、DeepSeekなど)に アクセスできます。
機能
画像スタジオ - 参照画像を使ったテキストから画像、画像から画像の生成。マルチモデルピッカーと、生成ごとのライブコスト表示を搭載。
動画スタジオ - テキストから動画、画像から動画、参照から動画の生成。複数の画像・動画・音声参照に対応。
リップシンク - ポートレート+音声(アップロードまたはブラウザ内録音)からトーキング動画を生成。
マーケティングスタジオ - テンプレート化されたUGC/商品広告動画の生成。
Flow - ノードベースのワークフロービルダー(React Flow)。LLM、画像、動画、音声ノードを連結し、1つのプロンプトをNバリエーションに展開。サンプルメディア付きのコミュニティ製テンプレートライブラリから開始できます。
MCPサーバー - OAuth 2.1ワンクリック接続に対応したホスト型Model Context Protocolエンドポイント。エージェントが
generate_image、generate_video、get_balanceなどをあなたのインスタンスに対して呼び出せます。クレジットウォレット - アトミックなPostgresクレジット操作(減算/返金/調整)、追記専用の取引台帳、オプションのRazorpayチャージ、プロモコード、2段階アフィリエイトプログラム。
本番対応 - 失敗時返金の生成パイプライン、長時間動画ジョブの非同期送信・調整、Supabase Storageへの結果再ホスティング、レート制限、管理者向けビジネスメトリクスダッシュボード。
アーキテクチャ(60秒)
Browser (studio canvas)
| POST /api/generate { model, prompt, ... }
v
Next.js API route - Supabase auth -> atomic credit deduction -> dispatch
|
| model_costs.source drives the dispatcher:
| 'atlascloud' -> lib/atlascloud/client.js (primary provider)
| 'kie.ai' / 'muapi.ai' -> optional secondary adapters
v
Atlas Cloud (async prediction -> polled by the reconciler -> result re-hosted
into Supabase Storage -> row completed / auto-refunded on failure)フロントエンド: Next.js 15(App Router)+ React + Tailwind。
バックエンド: Next.js APIルート + Supabase(Postgres、Auth、Storage)。
推論: Atlas Cloud - アプリはサーバーサイドでのみ
https://api.atlascloud.aiと通信します。APIキーがブラウザに届くことはありません。
クイックスタート
git clone https://github.com/nextgentrainingacademy88-max/open-generative-studio.git
cd open-generative-studio
cp .env.local.example .env.local # paste your Supabase + Atlas Cloud keys
npm install
npm run build:packages
npm run dev # http://localhost:3000完全なウォークスルー(Supabaseマイグレーション、ストレージバケット、モデル登録): SETUP.md。
Atlas Cloudによる提供
このプロジェクトはモデル推論プロバイダーとしてAtlas Cloudを使用しています:
LLM - OpenAI互換の
POST /v1/chat/completionsエンドポイント経由。画像 -
POST /api/v1/model/generateImage経由(FLUX、Qwen-Image、Seedream、...)。動画 -
POST /api/v1/model/generateVideo経由(Kling、Vidu、...)。非同期予測は
GET /api/v1/model/prediction/{id}でポーリングされ、内蔵のレコンサイラーによって確定されます。
環境変数にATLASCLOUD_API_KEYを設定し、model_costsテーブル(source = 'atlascloud')に必要なモデルを登録してください。コメント付きの例はsupabase/migrations/0052_atlascloud_provider.sqlを参照してください。キーはサーバーサイドでのみ読み取られ、このリポジトリにコミットされることはありません。
リポジトリツアー
app/ Next.js App Router - marketing pages, studio, wallet,
affiliate portal, blog, /api routes (generate, workflow,
razorpay, mcp, cron)
components/ App shell, marketing sections, admin charts, UI primitives
lib/ Server-side core: credit ops, pricing, dispatch
atlascloud/client.js Atlas Cloud adapter (images, video, chat)
generate-core.js Auth -> deduct -> dispatch -> refund-on-failure pipeline
generation-reconcile.js Async poll + re-host + true-up
flow/ Workflow engine (poll-driven, fan-out, CAS-claimed ticks)
mcp/ MCP tools + auth (API keys + OAuth via Supabase)
packages/ Vendored studio UI + workflow-builder (React Flow)
supabase/migrations/ Full schema: wallet, generations, model catalog, promo,
affiliate program, security hardening
scripts/ Template seeders + maintenance scripts
skills/ Agent skill bundle for the MCP serverクレジットと系譜
Anil-matcha/Open-Generative-AI(MIT)から始まり、大幅に再構築されました:クレジットウォレットSaaSバックエンド、サーバーサイドのプロバイダーディスパッチ、Flowワークフローエンジン+ビルダーUX、OAuth対応MCPサーバー、アフィリエイトプログラム、管理者分析、セキュリティ強化、マーケティングサイト。
ライセンス
MIT - 自由に使用、セルフホスト、変更、再配布が可能です。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Generate images, video, and audio with Glif's media-generation agent
Generate images, video, music and voice from your CLI or AI agent. On-brand AI media toolkit.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nextgentrainingacademy88-max/open-generative-studio'
If you have feedback or need assistance with the MCP directory API, please join our Discord server