ATaaS API
Documentation
Generate WCAG-compliant alt text for any image with a single REST API call. Supports JPEG, PNG, WebP, AVIF and GIF. Powered by AI vision models.
https://api.alttextservice.com/api/v1Quick Start
Get your first alt text in under 2 minutes.
Generate your API key
Go to your dashboard and click Generate API Key. Copy it — you'll use it in every request.
Make your first request
Use the generate endpoint with your image URL:
Authentication
All API requests require an API key sent via the X-API-Key header.
How to get your API key
- Sign in to your dashboard
- Navigate to the API Key section
- Click Generate API Key
- Copy and store the key securely — it won't be shown again
Example header
Endpoints
/api/v1/generateGenerate alt text for a single image by providing a publicly accessible URL.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
image_url | string | Public URL of the image (JPEG, PNG, WebP, AVIF, GIF) | |
context | string | — | Page context or description to improve alt text relevance |
language | string | — | ISO language code (default: en). See supported languages |
Example request
Response
/api/v1/generate/batchGenerate alt text for multiple images in a single request.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
images | array | Array of image objects (max 50) | |
images[].image_url | string | Public URL of the image | |
images[].context | string | — | Context for this specific image |
language | string | — | ISO language code applied to all images (default: en) |
Example request
Response
/api/v1/usageCheck your current usage and remaining quota for this billing period.
Example request
Response
Try the API
Test the API live — no account required. Enter an image URL and see the result instantly.
Rate Limits
Rate limits protect the service and ensure fair usage. Limits are applied per IP address.
| Endpoint | Limit | Window |
|---|---|---|
POST /api/v1/generate | 30 requests | 1 minute |
POST /api/v1/generate/batch | 5 requests | 1 minute |
GET /api/v1/usage | 30 requests | 1 minute |
| Global (all endpoints) | 120 requests | 1 minute |
429 Too Many Requests. Wait for the window to reset and retry. Error Codes
The API uses standard HTTP status codes. Error responses include a descriptive message.
| Code | Meaning | Common cause |
|---|---|---|
400 | Bad Request | Missing image_url or empty batch array |
401 | Unauthorized | Missing or invalid X-API-Key header |
403 | Forbidden | Monthly quota exceeded or feature not available on your plan |
404 | Not Found | User account not found |
422 | Unprocessable Entity | Image could not be processed (corrupt, inaccessible, or unsupported) |
429 | Too Many Requests | Rate limit exceeded — wait and retry |
Error response example
Plans & Quotas
Your monthly image quota depends on your subscription plan. Usage resets at the start of each billing period.
| Plan | Price | Images/month | API keys | Batch | Rate limit |
|---|---|---|---|---|---|
| Free | $0 | 250 | 1 | — | 10 req/min |
| Starter | $9/mo | 1,000 | 1 | — | 10 req/min |
| Pro | $29/mo | 5,000 | 3 | 60 req/min | |
| Enterprise | Custom | Unlimited | Unlimited | Custom |
Supported Languages
Pass a language code in the language field to generate alt text in your target language. Default is en (English).
enEnglishesSpanishfrFrenchdeGermanptPortugueseplPolishnlDutchitItalianjaJapanesekoKoreanzhChinesearArabicView all 50+ supported languages
afAfrikaansamAmharicarArabicazAzerbaijanibgBulgarianbnBanglabsBosniancaCatalancsCzechcyWelshdaDanishdeGermanelGreekenEnglishesSpanishetEstonianfaPersianfiFinnishfrFrenchgaIrishglGalicianguGujaratiheHebrewhiHindihrCroatianhuHungarianhyArmenianidIndonesianitItalianjaJapanesekaGeorgiankkKazakhkoKoreanltLithuanianlvLatvianmkMacedonianmsMalaynbNorwegiannlDutchplPolishptPortugueseroRomanianruRussianskSlovakslSloveniansqAlbaniansrSerbiansvSwedishthThaitrTurkishukUkrainianviVietnamesezhChineseReady to integrate?
Create a free account and start generating alt text in minutes. No credit card required.