RemixMemeRemixMeme

开发者

RemixMeme 公开 API、CLI 和 MCP

RemixMeme 是第三方梗视频工具。公开 API、CLI 和 MCP 使用与网站相同的生成服务和积分计费。RemixMeme 与 TikTok、CapCut 或 OpenAI 无官方从属关系。

API 密钥

在 /settings/apikeys 创建密钥。只通过 Authorization Bearer 发送,不要放在查询字符串里。

Authorization: Bearer sk_your_key

REST API

基础地址:https://remixmeme.com/api/v1。机器可读规范:/api/v1/openapi.json。模板列表公开。上传、积分和生成需要密钥。接口不会返回模板提示词。

列出模板

curl "https://remixmeme.com/api/v1/templates?query=chatgpt&limit=5"

上传图片

curl -X POST https://remixmeme.com/api/v1/uploads \
  -H "Authorization: Bearer sk_your_key" \
  -F "file=@photo.jpg"

生成并轮询

curl -X POST https://remixmeme.com/api/v1/generations \
  -H "Authorization: Bearer sk_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "consent": true,
    "templateSlug": "if-i-was-chatgpt-trend",
    "imageUrl": "https://remixmeme.com/api/storage/object/uploads/example.jpg",
    "aspectRatio": "9:16"
  }'

curl -H "Authorization: Bearer sk_your_key" \
  https://remixmeme.com/api/v1/generations/TASK_ID

积分

curl -H "Authorization: Bearer sk_your_key" \
  https://remixmeme.com/api/v1/me

命令行工具

只需一个 Node 18+ 脚本,不发布到 npm。安装到 ~/.local/bin/remixmeme:

curl -fsSL https://remixmeme.com/cli/install.sh | bash
remixmeme auth set sk_your_key
remixmeme templates chatgpt
remixmeme generate --template if-i-was-chatgpt-trend --image photo.jpg --consent
remixmeme wait TASK_ID

更短的安装说明见 /cli.

MCP

托管 MCP 地址为 https://remixmeme.com/mcp。API 密钥放在 Authorization 头中,不要放在工具参数里。list_templates 和 get_template 可不带密钥;积分和生成需要密钥。工具不会返回隐藏提示词。

Cursor

{
  "mcpServers": {
    "remixmeme": {
      "url": "https://remixmeme.com/mcp",
      "headers": {
        "Authorization": "Bearer sk_your_key"
      }
    }
  }
}

Claude Desktop 或 Claude Code

{
  "mcpServers": {
    "remixmeme": {
      "type": "http",
      "url": "https://remixmeme.com/mcp",
      "headers": {
        "Authorization": "Bearer sk_your_key"
      }
    }
  }
}
帮助