---
canonical_url: "https://docs.composio.dev/toolkits/alttext_ai_mcp"
markdown_url: "https://docs.composio.dev/toolkits/alttext_ai_mcp.md"
product: "platform"
version: null
last_updated: null
---

# AltText.ai MCP

Generate, translate, search and manage AI image alt text and site API keys through AltText.ai's official hosted MCP server.

- **Category:** model context protocol
- **Auth:** DCR_OAUTH
- **Composio-managed OAuth available?** No
- **Tools:** 18
- **Triggers:** 0
- **Slug:** `ALTTEXT_AI_MCP`
- **Version:** 00000000_00

## Tools

### Create api key

**Slug:** `ALTTEXT_AI_MCP_CREATE_API_KEY`

Create a site API key, optionally with a per-period credit limit. Returns the new token

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Key name, such as the client it belongs to |
| `usage_limit` | string | No | Credits this key may use per billing period; null means unlimited |
| `idempotency_key` | string | No | Reuse the same value when retrying so the change happens once |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | number | Yes |  |
| `kind` | string | Yes |  |
| `name` | string | Yes |  |
| `token` | string | Yes |  |
| `usage` | string | No |  |
| `origin` | string | No |  |
| `status` | string | Yes |  |
| `resets_at` | string | No |  |
| `created_at` | string | No |  |
| `created_by` | string | No |  |
| `revoked_at` | string | No |  |
| `token_hint` | string | No |  |
| `integration` | string | No |  |
| `usage_limit` | string | No |  |
| `credits_used` | string | No |  |
| `last_used_at` | string | No |  |
| `period_start` | string | No |  |
| `previous_period` | string | No |  |
| `billable_credits` | string | No |  |
| `billable_complete` | string | No |  |
| `integration_warning` | string | No |  |

### Delete image

**Slug:** `ALTTEXT_AI_MCP_DELETE_IMAGE`

Delete an image from your AltText.ai library

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `asset_id` | string | Yes | The asset ID of the image to delete |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `deleted` | boolean | Yes |  |
| `asset_id` | string | Yes |  |

### Generate alt text

**Slug:** `ALTTEXT_AI_MCP_GENERATE_ALT_TEXT`

Generate AI-powered alt text for an image URL. Returns the result synchronously (may take a few seconds). Uses account credits; additional languages and image conversion can increase the total. Can overwrite existing alt text when requested.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | Public URL of the image |
| `lang` | string | No | Comma-separated language codes (e.g. 'en', 'en,fr,es') |
| `tags` | array | No | Tags for organization |
| `asset_id` | string | No | Custom asset ID (default: auto-generated hash) |
| `keywords` | array | No | Keywords to incorporate |
| `metadata` | object | No | Custom metadata (string key-value pairs) |
| `max_chars` | integer | No | Maximum character length for the alt text |
| `overwrite` | boolean | No | Overwrite existing alt text if image was previously processed |
| `gpt_prompt` | string | No | Custom prompt template. Use {{AltText}} as a placeholder for the generated alt text. |
| `negative_keywords` | array | No | Keywords to avoid |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No |  |
| `tags` | string | No |  |
| `errors` | string | No |  |
| `alt_text` | string | No |  |
| `asset_id` | string | Yes |  |
| `metadata` | string | No |  |
| `alt_texts` | string | No |  |
| `created_at` | string | No |  |
| `error_code` | string | No |  |

### Get account

**Slug:** `ALTTEXT_AI_MCP_GET_ACCOUNT`

Get your AltText.ai account info including credit balance, usage, and settings

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes |  |
| `usage` | number | Yes |  |
| `key_kind` | string | No |  |
| `max_chars` | string | No |  |
| `no_quotes` | string | No |  |
| `gpt_prompt` | string | No |  |
| `whitelabel` | string | No |  |
| `usage_limit` | number | Yes |  |
| `webhook_url` | string | No |  |
| `default_lang` | string | No |  |
| `subscription` | string | No |  |
| `ending_period` | string | No |  |
| `remove_symbols` | string | No |  |
| `can_manage_keys` | boolean | No |  |
| `notification_email` | string | No |  |

### Get api key

**Slug:** `ALTTEXT_AI_MCP_GET_API_KEY`

Get one API key's details, usage and limit. The token is masked; use reveal_api_key_token to see it. billable_credits is uncapped; billable_complete false means the figure may undercount. previous_period is the latest closure, which may be a revocation rather than last month. For historical billing use detail full, match credit_history period_start/period_end to the requested interval, and verify completeness

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | The API key's ID |
| `detail` | string ("concise" | "full") | No | full adds usage history, domains and credit periods (default: concise) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | number | Yes |  |
| `kind` | string | Yes |  |
| `name` | string | Yes |  |
| `usage` | string | No |  |
| `origin` | string | No |  |
| `status` | string | Yes |  |
| `resets_at` | string | No |  |
| `created_at` | string | No |  |
| `created_by` | string | No |  |
| `revoked_at` | string | No |  |
| `token_hint` | string | No |  |
| `integration` | string | No |  |
| `usage_limit` | string | No |  |
| `credits_used` | string | No |  |
| `last_used_at` | string | No |  |
| `period_start` | string | No |  |
| `previous_period` | string | No |  |
| `billable_credits` | string | No |  |
| `billable_complete` | string | No |  |
| `integration_warning` | string | No |  |

### Get image

**Slug:** `ALTTEXT_AI_MCP_GET_IMAGE`

Get details for a specific image by its asset ID

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `lang` | string | No | Filter alt texts by language code |
| `asset_id` | string | Yes | The asset ID of the image |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No |  |
| `tags` | string | No |  |
| `errors` | string | No |  |
| `alt_text` | string | No |  |
| `asset_id` | string | Yes |  |
| `metadata` | string | No |  |
| `alt_texts` | string | No |  |
| `created_at` | string | No |  |
| `error_code` | string | No |  |

### List api keys

**Slug:** `ALTTEXT_AI_MCP_LIST_API_KEYS`

List the account's site API keys with usage and limits. Tokens are masked to their last four characters. billable_credits is uncapped; billable_complete false means the figure may undercount. previous_period is the latest closure, which may be a revocation rather than last month. For historical billing use detail full, match credit_history period_start/period_end to the requested interval, and verify completeness. status "all" includes revoked keys

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `q` | string | No | Match keys whose name contains this text |
| `after` | string | No | Cursor from a previous page's next_cursor |
| `limit` | integer | No | Items per page (default: 25, max: 100) |
| `status` | string ("active" | "revoked" | "all") | No | Which keys to list (default: active) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `api_keys` | array | Yes |  |
| `has_more` | boolean | Yes |  |
| `next_cursor` | string | Yes |  |

### List api key history

**Slug:** `ALTTEXT_AI_MCP_LIST_API_KEY_HISTORY`

List the recorded changes to one API key, newest first, with who made each

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | The API key's ID |
| `after` | string | No | Cursor from a previous page's next_cursor |
| `limit` | integer | No | Items per page (default: 25, max: 100) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `events` | array | Yes |  |
| `has_more` | boolean | Yes |  |
| `api_key_id` | number | Yes |  |
| `next_cursor` | string | Yes |  |

### List images

**Slug:** `ALTTEXT_AI_MCP_LIST_IMAGES`

List images in your AltText.ai library with pagination

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No | Filter images by exact URL match |
| `lang` | string | No | Filter alt texts by language code |
| `page` | integer | No | Page number (default: 1) |
| `sort` | string ("id" | "created_at" | "asset_id") | No | Sort column (default: id) |
| `limit` | integer | No | Items per page (default: 20, max: 100) |
| `direction` | string ("ASC" | "DESC") | No | Sort direction (default: DESC) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `images` | array | Yes |  |
| `pagination` | object | Yes |  |

### Reveal api key token

**Slug:** `ALTTEXT_AI_MCP_REVEAL_API_KEY_TOKEN`

Show one API key's full token. The reveal is recorded in the key's history. Only use when the person asks for this key's token

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | The API key's ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | number | Yes |  |
| `name` | string | Yes |  |
| `token` | string | Yes |  |
| `status` | string | Yes |  |

### Revoke api key

**Slug:** `ALTTEXT_AI_MCP_REVOKE_API_KEY`

Revoke an API key. Its token stops working immediately; the key and its usage stay readable. First confirm the key by name and id with the person, and check get_api_key's integration field: an integration key stops working until it reconnects

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | The API key's ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | number | Yes |  |
| `kind` | string | Yes |  |
| `name` | string | Yes |  |
| `usage` | string | No |  |
| `origin` | string | No |  |
| `status` | string | Yes |  |
| `resets_at` | string | No |  |
| `created_at` | string | No |  |
| `created_by` | string | No |  |
| `revoked_at` | string | No |  |
| `token_hint` | string | No |  |
| `integration` | string | No |  |
| `usage_limit` | string | No |  |
| `credits_used` | string | No |  |
| `last_used_at` | string | No |  |
| `period_start` | string | No |  |
| `previous_period` | string | No |  |
| `billable_credits` | string | No |  |
| `billable_complete` | string | No |  |
| `integration_warning` | string | No |  |

### Rotate api key

**Slug:** `ALTTEXT_AI_MCP_ROTATE_API_KEY`

Replace an API key's token. The old token stops working immediately. Returns the new token. First confirm the key by name and id with the person, and check get_api_key's integration field: an integration key stops working until it reconnects

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | The API key's ID |
| `idempotency_key` | string | No | Reuse the same value when retrying so the change happens once |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | number | Yes |  |
| `kind` | string | Yes |  |
| `name` | string | Yes |  |
| `token` | string | Yes |  |
| `usage` | string | No |  |
| `origin` | string | No |  |
| `status` | string | Yes |  |
| `resets_at` | string | No |  |
| `created_at` | string | No |  |
| `created_by` | string | No |  |
| `revoked_at` | string | No |  |
| `token_hint` | string | No |  |
| `integration` | string | No |  |
| `usage_limit` | string | No |  |
| `credits_used` | string | No |  |
| `last_used_at` | string | No |  |
| `period_start` | string | No |  |
| `previous_period` | string | No |  |
| `billable_credits` | string | No |  |
| `billable_complete` | string | No |  |
| `integration_warning` | string | No |  |

### Scrape page

**Slug:** `ALTTEXT_AI_MCP_SCRAPE_PAGE`

Find images on a web page and queue alt-text generation jobs. Uses account credits. Images are processed asynchronously; inspect the image library for results.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | URL of the web page to scrape |
| `html` | string | No | Optional HTML override (if omitted, server fetches the page) |
| `lang` | string | No | Comma-separated language codes (e.g. 'en', 'en,fr,es') |
| `keywords` | array | No | Keywords to incorporate |
| `max_chars` | integer | No | Maximum character length for the alt text |
| `gpt_prompt` | string | No | Custom prompt template. Use {{AltText}} as a placeholder for the generated alt text. |
| `include_existing` | boolean | No | Include images that already have alt text |
| `negative_keywords` | array | No | Keywords to avoid |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No |  |
| `errors` | string | No |  |
| `scraped_images` | array | Yes |  |
| `total_processed` | number | Yes |  |

### Search images

**Slug:** `ALTTEXT_AI_MCP_SEARCH_IMAGES`

Search images by alt text content

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `lang` | string | No | Filter by language code |
| `limit` | integer | No | Max results to return (default: 20) |
| `query` | string | Yes | Search query to match against alt text |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `images` | array | Yes |  |
| `pagination` | object | Yes |  |

### Translate image

**Slug:** `ALTTEXT_AI_MCP_TRANSLATE_IMAGE`

Add alt text in a new language for an existing image. Uses the asset_id to find the image and generates a translation. Uses account credits for each newly generated language.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `lang` | string | Yes | Target language code(s), comma-separated (e.g. 'de', 'fr,es') |
| `asset_id` | string | Yes | The asset ID of the existing image to translate |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No |  |
| `tags` | string | No |  |
| `errors` | string | No |  |
| `alt_text` | string | No |  |
| `asset_id` | string | Yes |  |
| `metadata` | string | No |  |
| `alt_texts` | string | No |  |
| `created_at` | string | No |  |
| `error_code` | string | No |  |

### Update account

**Slug:** `ALTTEXT_AI_MCP_UPDATE_ACCOUNT`

Update your AltText.ai account settings (name, webhook URL, notification email)

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | Account name |
| `webhook_url` | string | No | Webhook URL for processing notifications |
| `notification_email` | string | No | Email address for notifications |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes |  |
| `usage` | number | Yes |  |
| `key_kind` | string | No |  |
| `max_chars` | string | No |  |
| `no_quotes` | string | No |  |
| `gpt_prompt` | string | No |  |
| `whitelabel` | string | No |  |
| `usage_limit` | number | Yes |  |
| `webhook_url` | string | No |  |
| `default_lang` | string | No |  |
| `subscription` | string | No |  |
| `ending_period` | string | No |  |
| `remove_symbols` | string | No |  |
| `can_manage_keys` | boolean | No |  |
| `notification_email` | string | No |  |

### Update api key

**Slug:** `ALTTEXT_AI_MCP_UPDATE_API_KEY`

Rename an API key or change its per-period credit limit (null removes the limit)

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | The API key's ID |
| `name` | string | No | Key name, such as the client it belongs to |
| `usage_limit` | string | No | Credits this key may use per billing period; null means unlimited |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | number | Yes |  |
| `kind` | string | Yes |  |
| `name` | string | Yes |  |
| `usage` | string | No |  |
| `origin` | string | No |  |
| `status` | string | Yes |  |
| `resets_at` | string | No |  |
| `created_at` | string | No |  |
| `created_by` | string | No |  |
| `revoked_at` | string | No |  |
| `token_hint` | string | No |  |
| `integration` | string | No |  |
| `usage_limit` | string | No |  |
| `credits_used` | string | No |  |
| `last_used_at` | string | No |  |
| `period_start` | string | No |  |
| `previous_period` | string | No |  |
| `billable_credits` | string | No |  |
| `billable_complete` | string | No |  |
| `integration_warning` | string | No |  |

### Update image

**Slug:** `ALTTEXT_AI_MCP_UPDATE_IMAGE`

Update alt text and/or metadata for an existing image

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `lang` | string | No | Language code for the alt text (default: 'en') |
| `tags` | array | No | Replace tags |
| `alt_text` | string | No | New alt text value |
| `asset_id` | string | Yes | The asset ID of the image to update |
| `metadata` | object | No | Replace metadata (string key-value pairs) |
| `overwrite` | boolean | No | If false, skip language entries that already exist |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No |  |
| `tags` | string | No |  |
| `errors` | string | No |  |
| `alt_text` | string | No |  |
| `asset_id` | string | Yes |  |
| `metadata` | string | No |  |
| `alt_texts` | string | No |  |
| `created_at` | string | No |  |
| `error_code` | string | No |  |
