ClipRelay AI

How to Generate AI Images & Videos Inside Cursor and Claude Code via Remote MCP | ClipRelay AI Blog

Approve a still in your editor, then animate it with a separate tool call. Budget both steps and keep the task ID across editor restarts.

Published: 2026-12-06 · Featured Model: seedream-5.5

TL;DR: Approve a still in your editor, then animate it with a separate tool call. Budget both steps and keep the task ID across editor restarts.

Start with discovery

Our remote list_models queries returned 15 image and 14 video entries on 6 December. Discovery verifies the server catalog. Editor permissions and paid execution need separate checks. Each paired row assumes one 2K still and one five-second 720p animation. If you try three animations, charge the still once and the video three times.

What $10 buys

Each row spends a separate USD balance at this site's current retail rates per second, image or million tokens. Round unit cost to a microdollar, then round counts down. A dash means unavailable. Extra takes, checkout taxes and editor fees are excluded.

UnitTier × quantity × ratePer unitWhole units for $10Left
1 photoseedream-5.5 2k × 1 × $0.017$0.017588$0.004
1 still + 1 clipseedream-5.5 2k × 1 × $0.017
wan-3.0 720p × 5 × $0.052
$0.27736$0.028
1 still + 1 clipseedream-5.5 2k × 1 × $0.017
seedance-2.5 720p × 5 × $0.18
$0.91710$0.83

Cursor · .cursor/mcp.json

Create a limited key in Relay. Launch the editor with CLIPRELAY_API_KEY in its environment. Merge this entry into the project configuration and enable the server in MCP settings. See the Cursor configuration reference.

{
  "mcpServers": {
    "cliprelay": {
      "url": "https://cliprelayai.com/mcp",
      "headers": {
        "Authorization": "Bearer ${env:CLIPRELAY_API_KEY}"
      }
    }
  }
}

Claude Code · .mcp.json

Use this version in the project root. Approve the trusted project server and inspect /mcp. A 401 usually calls for checking the inherited variable and key validity. Keep literal keys out of version control. See Claude Code MCP.

{
  "mcpServers": {
    "cliprelay": {
      "type": "http",
      "url": "https://cliprelayai.com/mcp",
      "headers": {
        "Authorization": "Bearer ${CLIPRELAY_API_KEY}"
      }
    }
  }
}

Three calls, two approvals

Ask the agent to list models first and stop after each generation. The JSON below shows three separate tools/call messages. Review the bottle silhouette. Replace STILL_URL with the returned HTTPS image URL accessible to the provider, then TASK_ID with the video result ID. Repeat only get_task until terminal status. Save the MP4 before the link expires. Never publish signed links in a pull request.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "generate_image",
    "arguments": {
      "model": "seedream-5.5",
      "resolution": "2k",
      "aspect_ratio": "16:9",
      "prompt": "Amber bottle on a pale stone shelf"
    }
  }
}

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "generate_video",
    "arguments": {
      "model": "wan-3.0",
      "resolution": "720p",
      "duration": 5,
      "aspect_ratio": "16:9",
      "first_frame_url": "STILL_URL",
      "prompt": "Slow push in. Keep the bottle still."
    }
  }
}

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_task",
    "arguments": {
      "task_id": "TASK_ID"
    }
  }
}

Recheck the quote before spending

On 6 December 2026 we queried the public pricing endpoint and remote MCP catalog. Run the Python 3 check against production, then compare model IDs in MCP with the Bash request below. These lookups do not generate assets. Set CLIPRELAY_API_KEY in your shell for authenticated calls.

# python3
import json, urllib.request
from decimal import Decimal as D, ROUND_HALF_UP
req = urllib.request.Request("https://cliprelayai.com/v1/cliprelay-pricing", headers={"User-Agent": "ClipRelay-budget/1.0"})
with urllib.request.urlopen(req, timeout=30) as f:
    models = json.load(f, parse_float=D)["data"]["models"]
rows = [
    [["seedream-5.5","2k",1]],
    [["seedream-5.5","2k",1],["wan-3.0","720p",5]],
    [["seedream-5.5","2k",1],["seedance-2.5","720p",5]],
]
for parts in rows:
    total = D(0)
    for model, tier, qty in parts:
        m = models[model]
        price = D(str(m["retail"][tier]))
        if not m.get("enabled", True) or price <= 0:
            raise ValueError(model)
        total += price * D(str(qty))
    total = total.quantize(D(".000001"), rounding=ROUND_HALF_UP)
    print(parts, total, int(10 // total), 10 % total)
curl -fsS https://cliprelayai.com/mcp \
  -H "Authorization: Bearer $CLIPRELAY_API_KEY" \
  -H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_models",
    "arguments": {
      "type": "all"
    }
  }
}'

Global Cards & Alipay Instant Checkout ($5 Minimum)

Self-serve USD top-ups from $5 ($5–$500+) via Visa, Mastercard, Amex, Apple Pay, Google Pay, and Alipay. Credits never expire, and failed video/image tasks automatically refund 100%. Support: support@cliprelayai.com.