开发者
在 Claude、ChatGPT、你的编辑器和创意应用里使用 eroq
一键操作,浏览器登录,无需粘贴密钥——每个应用都有专属密钥,在 API 密钥中显示为“Claude (connected)”。同一个钱包,价格与 API 相同。
AI 助手
Claude
在 Claude 里生成图片、视频和语音
Connect eroq to Claude
Opens Claude with the connector pre-filled
- 1.Click « Connect eroq to Claude » — Claude opens « Add custom connector » with the eroq URL already filled in.
- 2.Click Add, then Connect: eroq opens, you sign in and click Allow.
- 3.In any chat, switch eroq on from the tools menu and ask: « make a 16:9 image of a neon alley in the rain ».
MCP server URL
https://eroq.ai/mcpChatGPT
在 ChatGPT 对话中生成 eroq 媒体内容
Open ChatGPT
Then follow the three steps below
- 1.In ChatGPT (web), open Settings and turn on Developer mode — available on Plus, Pro, Business, Enterprise and Edu.
- 2.Create an app with the + button: name it eroq, paste the MCP server URL above, pick OAuth as the authentication.
- 3.Sign in to eroq and click Allow, then choose eroq from the composer's developer-mode tools.
MCP server URL
https://eroq.ai/mcpClaude Code
从你的终端智能体生成素材
Then run /mcp in Claude Code and pick Authenticate
- 1.Run the command above in your terminal (add --scope user to make eroq available in every project).
- 2.In Claude Code, type /mcp, select eroq and choose Authenticate — eroq opens in your browser; sign in and click Allow.
- 3.Ask Claude Code for what you need: « generate a 1:1 hero image for the landing page ».
- 4.Prefer the plugin? /plugin marketplace add https://eroq.ai/claude-code/marketplace.json, then /plugin install eroq@eroq.
terminal
claude mcp add --transport http eroq https://eroq.ai/mcpCursor
在编辑器里生成媒体内容
Add to Cursor
Cursor asks to confirm, then to sign in
- 1.Click « Add to Cursor » and confirm the install in Cursor.
- 2.Open Cursor Settings → MCP: eroq shows « Needs login » — click it, sign in to eroq and click Allow.
- 3.Ask the agent: « generate three 16:9 hero images for the pricing page ».
~/.cursor/mcp.json
{
"mcpServers": {
"eroq": {
"url": "https://eroq.ai/mcp"
}
}
}Visual Studio Code
适用于 Copilot 智能体模式的 eroq 工具
Install in VS Code
VS Code asks to confirm, then to sign in
- 1.Click « Install in VS Code » and confirm.
- 2.Start the eroq server when VS Code asks and sign in to eroq in the browser (Allow).
- 3.In Copilot Chat, switch to agent mode and ask for an image, a clip or a voice line.
.vscode/mcp.json
{
"servers": {
"eroq": {
"type": "http",
"url": "https://eroq.ai/mcp"
}
}
}使用密钥连接的客户端
密钥只用于填充下方代码片段——绝不会离开此页面。
Codex CLI
将 eroq CLI 作为本地 stdio 服务器运行——媒体以文件形式保存。
- 1.将以下内容添加到 ~/.codex/config.toml
~/.codex/config.toml
[mcp_servers.eroq]
command = "npx"
args = ["-y", "@eroq/cli", "mcp"]
env = { EROQ_API_KEY = "eroq_sk_YOUR_KEY" }任意 MCP 客户端
Streamable HTTP,无状态——基于 POST 的标准 JSON-RPC。
- 1.端点为 https://eroq.ai/mcp,密钥通过 Bearer 请求头发送
- 2.无法发送请求头的客户端使用 https://eroq.ai/mcp/<key>——此时该 URL 本身就是机密
传输方式
POST https://eroq.ai/mcp
Authorization: Bearer eroq_sk_YOUR_KEY更喜欢终端?试试 eroq CLI
零依赖,Node 18+——eroq mcp 还能当作本地 MCP 服务器。
终端
npm install -g @eroq/cli
eroq login # paste a key from the API keys tab
eroq image "portrait of a starship mechanic, warm hangar light, 35mm"
eroq video "slow dolly-in on a neon-lit alley in the rain" -s 8 --aspect 9:16
eroq speech "That noise is the reactor again." -v aria
eroq mcp # stdio MCP server for coding agents你的 AI 应用可用的工具
generate_image · get_image_status按每次生成的模型价格
generate_video按每个片段的模型价格 · 异步
generate_speech每 100 字符
generate_music · get_music_status每 30 秒歌曲 · 异步
get_video_status免费
enhance_prompt不消耗积分 · 改写需要套餐
list_models · list_voices · list_characters · get_account免费
list_flows · run_flow · get_flow_run列表免费 · 生成按原价 · Studio
make_edit免费
生成按与 API 相同的固定积分价格计费,失败时自动退还——查看价格 →