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への結果再ホスティング、レート制限、管理者向けビジネスメトリクスダッシュボード。
Related MCP server: Agnes MCP Server
アーキテクチャ(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 deployed
Maintenance
Related MCP Connectors
Generate and edit images, video, voice, lip-sync and 3D models from your AI agent.
AI music, video, image, and voice tools callable by agents with USDC payments via x402 on Base.
Generate images, video, and audio with Glif's media-generation agent
Manage ElevenLabs voice agents and generate speech, music, sound effects, images, and video.
Related MCP Servers
- AlicenseBqualityAmaintenanceEnables AI agents to create lipsync videos, manage assets, and check generation status via the Sync API.2923 npm1MIT
- FlicenseAqualityCmaintenanceEnables AI assistants to generate images and videos via the Agnes AI API, supporting text-to-image, image-to-image, and video generation.31-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to generate images, videos, and audio via the Varo Generate API, and manage blockchain registrations and account operations through natural language.MIT

@callirra/mcpofficial
AlicenseBqualityBmaintenanceEnables MCP-compatible agents to discover models, generate images and videos, use Prompt Studio, upload references, poll tasks, and check balances via the Callirra API.1359 npm1MIT