# Claid.ai — how to use (mcp.ai)

Connect your Claid.ai account and use 14 tools for images and design straight from your AI agent. Connect with your own API key. Claid.ai offers AI-powered image editing APIs for tasks like background removal, upscaling, and color correction.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_claid_ai?ms=1787296020000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `claid_ai_background_generate`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/claid_ai`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/claid_ai/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/claid_ai/background/generate` — Generate AI-powered backgrounds for product images. Creates professional scenes with customizable backgrounds, lighting, and composition. Use cases: - E-commerce product photography enhancement - Crea
  - body: { scene: object, object: object, output?: object }
- `POST https://api.mcp.ai/api/claid_ai/background/remove` — Remove the background from images using Claid.ai's AI-powered background removal. Supports category hints (general, products, cars) for optimized removal, selective removal to keep specific objects, a
  - body: { input: string, output?: string|object, operations: object }
- `POST https://api.mcp.ai/api/claid_ai/claid/storage/details` — Tool to retrieve details of a connected storage resource. Use when you have a storage ID and need to inspect its configuration before performing further operations.
  - body: { storage_id: integer }
- `POST https://api.mcp.ai/api/claid_ai/create/storage` — Tool to connect a storage resource. Use after you have bucket/folder details and credentials. E.g., to add a new AWS S3, GCS bucket, or public web folder for your image assets.
  - body: { name: string, type: string, parameters: object }
- `POST https://api.mcp.ai/api/claid_ai/generative/resize` — Expand image canvas using AI-powered generative outpainting. This tool adjusts image aspect ratios by generating coherent background content to fill new canvas areas. Use it when you need to: - Change
  - body: { input: string, output?: string|object, operations: object }
- `POST https://api.mcp.ai/api/claid_ai/image/ai/edit` — Tool to submit an asynchronous AI-based image editing task. Use when you need text-driven edits on existing images and will poll for completion.
  - body: { input: string, output?: string|object, options: object }
- `POST https://api.mcp.ai/api/claid_ai/image/edit/batch` — Tool to process multiple images in batch asynchronously. Use when applying the same edits (resize, enhance, background removal, etc.) to many images at once. Accepts input from: - Cloud storage folder
  - body: { input: object|string|string[], output?: string|object, operations: object }
- `POST https://api.mcp.ai/api/claid_ai/image/generate` — Generate AI images from text prompts using Claid.ai. Creates 1024x1024 pixel images. Use when you need to create custom visuals, product mockups, or creative imagery from a description. Supports gener
  - body: { input: string, output?: string, options?: object }
- `POST https://api.mcp.ai/api/claid_ai/license/plate/blur` — Automatically detect and blur license plates in images for privacy compliance. Use this tool when you need to obscure vehicle registration plates in photos (e.g., for car marketplaces, real estate lis
  - body: { input: string, output?: object }
- `POST https://api.mcp.ai/api/claid_ai/patch/storage` — Tool to update a connected storage's settings. Use when you need to change name, type, or parameters of an existing storage. Use after confirming the storage exists.
  - body: { name?: string, type?: string, parameters?: object, storage_id: integer }
- `POST https://api.mcp.ai/api/claid_ai/polish/image` — Applies AI-powered polish restoration to an image, sharpening and cleaning up while preserving the original structure. Ideal for enhancing upscaled images or removing AI artifacts. Note: Target image 
  - body: { input: string, output?: string|object }
- `POST https://api.mcp.ai/api/claid_ai/smart/frame` — Place images on a canvas with specified dimensions and padding for consistent product photography framing. Ideal for e-commerce: standardizes product photos with uniform spacing and background colors.
  - body: { input: string, options: object }
- `POST https://api.mcp.ai/api/claid_ai/storage/list` — Tool to list connected storage resources. Use when you need to retrieve all storage connectors for your account.
- `POST https://api.mcp.ai/api/claid_ai/storage/types` — Tool to retrieve available storage types. Use when you need to list supported storage connectors before uploading files.

## Example prompts
- "What can I do in Claid.ai?"
- "Show me a summary of my Claid.ai account"

## More
- Page: https://mcp.ai/claid_ai
- Agent spec (llms.txt): https://mcp.ai/claid_ai/llms.txt
- Postman collection: https://mcp.ai/claid_ai/postman.json
