MCP API

TeslaWrap MCP API

Generate AI wrap designs on official Tesla templates from your own application — one API call, 10 credits, PNG delivered on your terms.

API keys — generated and managed in your Account Center (sign in with your TeslaWrap account). Credits are shared with the site: buy packs on the Pricing page, spend on API calls.

Quick start

1. Buy credits · 2. Generate your API key (right column above) · 3. Call the API:

curl -X POST https://teslawrapcar.com/api/mcp/call \
  -H "Authorization: Bearer twk_…" \
  -H "Content-Type: application/json" \
  -d '{ "name": "generate_wrap",
       "arguments": { "prompt": "sunset gradient racing livery",
                      "carModel": "Model 3 (2024 Base)" } }'

Pricing

generate_wrap

10
  • AI design on official template
  • PNG on your terms
  • Failed calls refunded

Data tools

1
  • search_wraps / get_wrap
  • list_models / list_themes
  • gallery_stats

Free tier

$0
  • Same data tools, no key
  • IP rate limited
  • Credits from $5 / 100

Credits never expire. Buy credits →

Tools

generate_wrap · 10 credits · key required

AI-generates a wrap texture on the official template. Returns the PNG URL and gallery wrap id. Failed generations are refunded automatically.

{
  "name": "generate_wrap",
  "arguments": { "prompt": "midnight blue chrome livery",
                 "carModel": "Model 3 (2024 Base)" }
}

Data tools · 1 credit with key · free without

{ "name": "search_wraps",
  "arguments": { "q": "camo", "model": "Model Y", "limit": 10 } }

{ "name": "get_wrap", "arguments": { "id": "<24-char hex>" } }

Python example

import requests

r = requests.post("https://teslawrapcar.com/api/mcp/call",
    headers={"Authorization": "Bearer twk_…"},
    json={"name": "generate_wrap",
          "arguments": {"prompt": "sunset gradient livery",
                        "carModel": "Model 3 (2024 Base)"}})
d = r.json()
print(d["result"]["imageUrl"])  # your wrap PNG

Free data tools

No key needed — same tools, IP rate limited:

curl https://teslawrapcar.com/api/mcp/call?name=list_models
curl -X POST https://teslawrapcar.com/api/mcp/call \
  -H "Content-Type: application/json" \
  -d '{ "name": "search_wraps", "arguments": { "q": "camo" } }'