czg86389-hub/muse2api

把 Muse(muse.ai) 逆向封装为 OpenAI 兼容接口,支持对话、文生图、文生视频/图生视频、多账号池轮转与 48h 自动续期。OpenAI-compatible API for Muse.ai with Chat, Image & Video generation.

Open original source ↗

Older snapshot: check the original source for current information.

From the publisher

README & documentation

Source preview

Read the project’s overview, installation instructions and usage examples. The original README is the source of truth.

将 muse.ai 网页端的前沿多模态能力逆向工程封装为标准的 OpenAI 兼容 RESTful API。通过无头浏览器 CDP 协议穿透、热备 WebSocket 隧道复用与动态 Session 管理,原生支持文本对话(23 秒级流式首字响应)、文生图、图生图编辑、文生视频、首帧图生视频,并提供多账号池亲和轮转、全自动 48 小时会话续期与云端 VM 唤醒保活,以及配套 Chrome 一键导号扩展。 上传一张商品图,就能做出口播带货视频、剧情带货短剧和整套电商详情页。 👉 立即体验:www.coolai.mov Upload one product photo and get talking-head sales videos, story-style ad shorts and a complete product detail-page image set. 👉 Try it: www.coolai.mov Docker Compose 会读取 .env 中的 MUSE2APIKEY,不会再被 Compose 文件中的示例值覆盖。 打开浏览器访问:http://:18610/admin?key= 如使用 Nginx / 宝塔 / 1Panel 反代,务必将 proxyreadtimeout 调大至 600s 并关闭 proxybuffering(详见 deploy/nginx.example.conf): 项目内置了专用 Chrome 导号扩展(目录位于 extension/),告别复杂的 F12 Cookie 提取: 对于不想开启开发者模式或使用 Firefox / Safari 的用户,推荐直接使用油猴脚本一键安装: 👉 ⚡ 点击一键安装油猴脚本 (Raw UserJS) 在账号池点击账号旁的 代理 / Proxy: 支持 HTTP 代理端点(可选 Basic 认证)与 SOCKS5 代理端点(可选用户名/密码认证),例如 http://proxy.example.com:8080、socks5://proxy.example.com:1080 或 socks5h://proxy.example.com:1080。SOCKS5 的目标主机名经代理解析;HTTPS 网站照常支持。HTTPS 代理端点、VLESS、VMess 与订阅链接暂不支持直接填写;使用 Clash/Mihomo 等工具时,应填部署服务器可访问的 HTTP 或 SOCKS5 代理入口。127.0.0.1:7890 指的是部署服务器自身,不是导入 Cookie 的电脑。没有配置代理的旧账号保持原有网络行为。 聊天、生图、视频、浏览器下载、账号检测、额度查询、会话续签与 VM 唤醒使用账号代理。代理断线、认证失败或浏览器上下文创建失败会报告错误,不会静默回退直连。账号切换同时切换代理。外部参考图在账号选取前按现有安全策略预取,继续执行公网地址、重定向与 DNS 重绑定防护,不承诺任意参考图 URL 都通过账号代理。 账号忙碌时修改代理会返回 HTTP 409,请等待当前任务结束。修改后,下次请求会重建连接,不复用旧节点。代理连通性与账号会话是不同状态:HTTP 407、连接超时不会直接把 Cookie 标成失效;代理测试也不会覆盖账号已有的认证结果。 完整链接中的认证信息优先于手动认证字段;用户名或密码中的 @、#、/ 等特殊字符应使用 URL 百分号编码。保存后地址规范化为不含认证信息的形式,重新打开不会回显密码。 代理密码与 Cookie 一起保存在本机 data/accounts.json,应保护此目录及备份。接口、日志和页面不回显密码。修改时地址与用户名不变,密码留空表示保留;改变地址或用户名时应重新输入认证密码。选择 默认网络 / Default…

czg86389-hub/muse2api on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-11-12T15:06:40.107Z

Inside the original README — Document outline
  1. MUSE2API
  2. 🎬 推荐:COOL AI — 电商 AI 视频与图片一站式创作
  3. 🎬 Recommended: COOL AI — AI video & image studio for e-commerce
  4. 🌟 核心特性
  5. 🚀 极速部署
  6. 方式一:Docker Compose(推荐,一行命令开箱即用)
  7. 方式二:裸机 / VPS 部署(Ubuntu / Debian)
  8. 🧩 账号导入(Chrome 扩展 / 油猴脚本)
  9. 方式 A:Chrome / Edge 扩展
  10. 方式 B:Tampermonkey 油猴脚本(跨浏览器免安装扩展)
  11. 📖 API 调用示例
  12. 账号独立代理 / Per-account proxy

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Links from the README

References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.

Documentation belongs to its respective authors. Reported project/model license: MIT. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

What this repository does

把 Muse(muse.ai) 逆向封装为 OpenAI 兼容接口,支持对话、文生图、文生视频/图生视频、多账号池轮转与 48h 自动续期。OpenAI-compatible API for Muse.ai with Chat, Image & Video generation.

Repository facts

Owner
czg86389-hub
Primary language
Python
Stars
206
Forks
64
Open issues + pull requests
0
License
MIT
Archived
No
Default branch
main
Created
2026-09-25T14:22:55.000Z
Last push
2026-10-02T10:37:01.000Z

Topics and intended use

No topics were included in the latest source metadata.

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-10-02T12:05:32.591Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

public-apis/public-apis

EbookFoundation/free-programming-books

donnemartin/system-design-primer

vinta/awesome-python

practical-tutorials/project-based-learning

NousResearch/hermes-agent