Generate Alt Text
generate_alt_textGenerate AI-powered alt text from an image URL to make web content accessible. Returns synchronized results and can overwrite existing descriptions.
Instructions
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 Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public URL of the image | |
| lang | No | Comma-separated language codes (e.g. 'en', 'en,fr,es') | |
| tags | No | Tags for organization | |
| asset_id | No | Custom asset ID (default: auto-generated hash) | |
| keywords | No | Keywords to incorporate | |
| metadata | No | Custom metadata (string key-value pairs) | |
| max_chars | No | Maximum character length for the alt text | |
| overwrite | No | Overwrite existing alt text if image was previously processed | |
| gpt_prompt | No | Custom prompt template. Use {{AltText}} as a placeholder for the generated alt text. | |
| negative_keywords | No | Keywords to avoid |