# Claid.ai

Claid.ai offers AI-powered image editing APIs for tasks like background removal, upscaling, and color correction.

- **Category:** images & design
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 14
- **Triggers:** 0
- **Slug:** `CLAID_AI`
- **Version:** 20260312_00

## Tools

### Generate AI Backgrounds

**Slug:** `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 - Creating lifestyle scenes for product marketing - Generating consistent backgrounds across product catalogs - Adding realistic shadows and reflections Supports three generation modes: 1. Prompt-based: Describe the background in text (e.g., "minimalist white studio") 2. Template-based: Use a reference image to guide the style 3. Shadow/effect mode: Add shadows to transparent product images Returns temporary URLs (valid 24 hours) or saves to connected storage.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `scene` | object | Yes | Scene generation settings including model, prompt, aspect ratio, and quality preferences. |
| `object` | object | Yes | Source product image URL and placement configuration (position, scale, rotation). |
| `output` | object | No | Optional output settings. If omitted, returns 4 PNG images with temporary URLs (valid 24h). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### CLAID Background Remove

**Slug:** `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, and optional clipping to crop to subject bounds. Returns a temporary URL to download the processed image with transparent or colored background.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `input` | string | Yes | URL or storage URI of the input image. Supported schemes: http(s):// or storage://. |
| `output` | string | No | Optional output destination or format settings. String endpoint or object with format. |
| `operations` | object | Yes | Background removal operation settings. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Storage Details

**Slug:** `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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `storage_id` | integer | Yes | ID of the storage resource to fetch |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Connect New Storage

**Slug:** `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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | The storage name inside Claid |
| `type` | string ("s3" | "gcs" | "web_folder") | Yes | Type of storage connector |
| `parameters` | string | Yes | Connector-specific configuration |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Generative Resize (Outpaint)

**Slug:** `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 image aspect ratio for different platforms (e.g., square to landscape) - Extend an image's borders while maintaining visual consistency - Create zoom-out effects by expanding the scene in all directions The AI generates photorealistic content that matches the original image's style, lighting, and composition. Maximum output size is 16.78 MP.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `input` | string | Yes | URL of the source image. Accepts public HTTPS URLs or Claid storage URIs (e.g., 'storage://bucket/path/image.jpg'). |
| `output` | string | No | Output destination as a storage URI string (e.g., 'storage://bucket/out.jpg') or OutputOptions object for detailed format settings. If omitted, a temporary URL valid for 24 hours is returned. |
| `operations` | object | Yes | Pipeline describing the generative resize operation with target dimensions and outpaint fit mode. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Image AI Edit Async

**Slug:** `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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `input` | string | Yes | Publicly accessible URL of the source image (HTTP/HTTPS) or storage URI (storage://storage-name/path/image.jpg). Supported formats: JPEG, PNG, WEBP, AVIF, HEIC. |
| `output` | string | No | Output destination URI string or configuration object. If omitted, a temporary URL is returned. |
| `options` | object | Yes | AI editing options including prompt and generation parameters. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### CLAID Image Edit Batch

**Slug:** `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 folders (with optional recursive processing) - Lists of public image URLs - Single public image URL Returns a batch job ID and result_url to poll for completion status and processed images. Requires billing capabilities on the Claid.ai account.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `input` | string | Yes | Image source(s) to process. Accepts: (1) ImageInputOptions object with 'source' (storage URL) and optional 'recursive' flag; (2) A single public image URL string (http/https); (3) A list of public image URLs. Example URLs: 'https://example.com/image.jpg' or 'storage://my_storage/folder/' |
| `output` | string | No | Output destination. Accepts: (1) Storage folder URL string like 'storage://my_storage/output/'; (2) Configuration object with 'format' (type: jpeg/png/webp/avif, quality: 1-100) and optional 'destination'. If omitted, processed images are stored temporarily with 24-hour public URLs. |
| `operations` | object | Yes | Image editing operations to apply. Use nested dicts for each operation type: 'restorations' (polish, upscale, decompress), 'adjustments' (hdr, exposure, saturation, contrast, sharpness), 'background' (remove, color, blur), 'resizing' (width, height, fit: crop/cover/bounds/canvas/outpaint), 'privacy' (blur_plate). Example: {'restorations': {'polish': true}} or {'resizing': {'width': 800, 'fit': 'bounds'}} |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Generate AI Images from Text Prompt

**Slug:** `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 generating 1-4 images per request. Returns temporary URLs (valid 24h) or saves to connected cloud storage.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `input` | string | Yes | Detailed text description of the image to generate (3-1024 chars). Be specific for better results. |
| `output` | string | No | Storage URI for output folder (must end with '/'). If omitted, temporary URLs valid for 24 hours are returned. |
| `options` | object | No | Controls image generation behavior including count and prompt adherence. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### CLAID License Plate Blur

**Slug:** `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 listings, or street photography). The AI automatically identifies and blurs all license plates in the image.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `input` | string | Yes | URL of the input image. Supported schemes: http(s):// or storage://; length 1–4096. |
| `output` | object | No | Optional output configuration. Can specify format settings (type: 'jpeg'\|'png'\|'webp'\|'avif'\|'tiff', quality: 1-100) and/or destination URI (e.g., 'storage://bucket/path/image.jpg'). If omitted, returns a temporary URL in JPEG format valid for 24 hours. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Connected Storage

**Slug:** `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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | New display name for the storage |
| `type` | string ("web_folder" | "s3" | "gcs") | No | New type for the storage connector (web_folder, s3, or gcs) |
| `parameters` | string | No | Storage-type-specific parameters to update |
| `storage_id` | integer | Yes | Identifier of the storage to update |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Polish Image

**Slug:** `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 must not exceed 16 MP (megapixels).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `input` | string | Yes | URL or storage URI of the input image. Supported schemes: http(s):// or storage://; length must be between 1 and 4096 characters. |
| `output` | string | No | Optional output destination or format settings. Provide a storage URI string or an object with format settings. Defaults to JPEG if omitted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### CLAID Smart Frame

**Slug:** `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. Use this when you need to add white space or colored borders around product images for marketplace listings.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `input` | string | Yes | URL of the input image. Supports publicly accessible http(s):// URLs or Claid storage URIs (storage://bucket/path). |
| `options` | object | Yes | Framing configuration including target canvas dimensions, padding around the subject, and optional background color. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Connected Storages

**Slug:** `CLAID_AI_STORAGE_LIST`

Tool to list connected storage resources. Use when you need to retrieve all storage connectors for your account.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Storage Types

**Slug:** `CLAID_AI_STORAGE_TYPES`

Tool to retrieve available storage types. Use when you need to list supported storage connectors before uploading files.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
