Independent Video Generator
Enables video generation through ComfyUI workflows, providing tools to list workflows, create and manage video jobs, upload assets, and retrieve results.
README
Independent Video Generator
這是從主專案抽離的獨立影片生成前端與後端,只保留 ComfyUI 影片 workflow,不包含 Agent 對話與圖像生成。
啟動
- 複製
.env.example為.env,確認 ComfyUI 與 FFPROBE 路徑。 - 安裝依賴:
npm install - 開發模式:
npm run dev - 正式建置:
npm run build - 正式啟動:
npm run start
預設網址:http://127.0.0.1:8834
Windows 使用者可以直接雙擊 start.bat,它會自動切換到目前資料夾、建立 .env、安裝依賴並啟動服務。
影片 API
GET /api/video/workflowsPOST /api/video/jobsGET /api/video/jobs/:jobIdDELETE /api/video/jobs/:jobId
MCP 最小版本
先啟動影片 API,再執行 npm run mcp。MCP server 使用 stdio transport,透過 MCP_API_URL(預設 http://127.0.0.1:8834)呼叫既有影片 API。
提供的 tools:
list_video_workflowscreate_video_jobupload_video_assetget_video_joblist_video_jobsget_video_resultcancel_video_job
Remote frontend and GPU host
Keep the frontend and MCP on the portable control side, and keep Backend, ComfyUI, models, and GPU on the same GPU host. Build the frontend with:
VITE_BACKEND_URL=http://GPU_HOST:8834
Configure the GPU host Backend with:
HOST=0.0.0.0
PORT=8834
COMFYUI_URL=http://127.0.0.1:8188
CORS_ORIGIN=http://FRONTEND_HOST
Configure MCP with:
MCP_API_URL=http://GPU_HOST:8834
The browser and MCP call only the Video Generator API; ComfyUI remains private on the GPU host. API key authentication is not enabled yet, so HOST=0.0.0.0 should only be used on a trusted LAN or VPN.
目前圖片與音訊仍使用 data URL 傳送,適合本機 MVP,不適合大型或多使用者部署。
影片 workflow 資產位於 workflow/。此專案目前與主專案共用相同的 ComfyUI 服務,但程式碼、前端頁面、任務 API 與 workflow JSON 已獨立。
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.