Developer API · REST · Made in Germany

Developer API.
Generate ALT text via API.

Automatically generate SEO-friendly, accessible ALT text for product images – directly from your store, CMS, marketplace or your own app.

Shopify · WooCommerce · Magento · PrestaShop Bulk processing Multilingual
Base URL
app.autoalt.ai/api
Auth
Bearer Token
Format
multipart/form-data
Credits
1 image = 1 credit

Introduction

The AutoAlt.ai Developer API lets you automatically generate SEO-friendly ALT text for product images using AI. Integrate the API into your e-commerce platform, CMS, marketplace, mobile app or custom workflow – and improve image accessibility and search engine optimization at scale.

Generate ALT text for single or multiple images
Automate ALT text creation for product catalogs
Improve SEO & accessibility (EAA / ADA / WCAG)
Bulk image processing & custom integrations

Authentication

Every request is authorized via your personal API key. Pass the key in the Authorization header as a Bearer token. You can find your API key in your AutoAlt.ai account.

HeaderValue
AuthorizationBearer YOUR_API_KEY
Acceptapplication/json

Treat your API key like a password. Never expose it in frontend/client code – make API calls server-side.

POST https://app.autoalt.ai/api/autoalt-generate-alt

Generate ALT Text

Generates AI-powered ALT text for an image. The endpoint supports image URLs, Base64 images, SEO keywords, custom prompts, writing styles and multilingual ALT text generation.
Content-Type: multipart/form-data

Example request (cURL)

curl --location 'https://app.autoalt.ai/api/autoalt-generate-alt' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Accept: application/json' \
  --form 'image_url="https://example.com/product-image.jpg"' \
  --form 'language="English"' \
  --form 'seo_keywords="ceramic wall tiles, glossy tiles"' \
  --form 'ai_writing_style="SEO-Optimized"' \
  --form 'website_domain="store.myshopify.com"'

Request parameters

ParameterTypeRequiredDescription
image_urlstringYesPublic image URL
base64_imgstringNoBase64-encoded image. Required when the image is not publicly accessible or is protected with an .htaccess password
languagestringNoALT text language
ai_writing_stylestringNoAI writing style (see Writing Styles)
seo_keywordsstringNoSEO keywords to take into account
negative_keywordsstringNoKeywords to avoid
customPromptFromUserstringNoCustom AI instruction / your own prompt
hardcoded_string_beginstringNoFixed text added at the beginning of the ALT text
hardcoded_string_endstringNoFixed text added at the end of the ALT text
autoaltai_image_namestringNoUse image name in ALT text – on / off
website_domainstringNoWebsite domain

E-Commerce Fields

These optional parameters give the AI additional product information and produce more accurate, SEO-friendly and product-focused ALT text – especially useful for fashion, furniture, electronics and tiles.

ParameterDescription
product_nameProduct title / product name used to generate more accurate ALT text
product_brandsBrand or manufacturer name associated with the product
product_colorMain product color – improves visual & SEO accuracy

Why use these parameters?

Using product-related data helps the AI generate:

More accurate product descriptions
Better SEO-focused ALT text
Improved accessibility
Brand-aware image descriptions
Color-specific product identification

Example with product data

curl --location 'https://app.autoalt.ai/api/autoalt-generate-alt' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --form 'image_url="https://example.com/product-image.jpg"' \
  --form 'product_name="Premium Ceramic Wall Tile"' \
  --form 'product_brands="AutoTiles"' \
  --form 'product_color="White"'
Example output

“White premium ceramic wall tile by AutoTiles for modern bathroom interiors”

Writing Styles

The ai_writing_style parameter controls the tone, structure and writing style of the generated ALT text – matching your brand voice, SEO strategy or accessibility requirements.

Supported Writing Styles

Writing StyleDescription
SEO-OptimizedKeyword-rich for SEO improvement
NeutralClear, balanced, and objective
FriendlyWarm, approachable, and informal
ProfessionalPolished and business-appropriate
CasualRelaxed and conversational
WittyClever and playful tone
ConfidentBold and assertive writing
EmpatheticSensitive and understanding tone
InspiringMotivational and uplifting
TechnicalPrecise and jargon-friendly
MinimalistSimple and concise
LuxuryElegant and premium wording
YouthfulTrendy and modern style
QuirkyFun and creative language
Sales-OrientedPersuasive and conversion-focused
InformativeEducational and factual
FormalStructured and traditional
AuthoritativeExpert and trustworthy tone

Example request (Writing Style)

curl --location 'https://app.autoalt.ai/api/autoalt-generate-alt' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --form 'image_url="https://example.com/product.jpg"' \
  --form 'ai_writing_style="SEO-Optimized"'

Output comparison (same image)

SEO-Optimized

Modern white ceramic wall tiles with glossy finish for bathroom and kitchen interiors

Minimalist

White glossy ceramic wall tiles

Luxury

Premium glossy white ceramic wall tiles designed for elegant modern interiors

POST https://app.autoalt.ai/api/autoalt-verify-api-key

Verify API Key

Validates whether an AutoAlt.ai API key is active and valid – before you make actual API requests.

This endpoint is useful for:

Plugin authentication App integrations Connection testing Account verification Preventing invalid requests

Request parameters

ParameterTypeRequiredDescription
apiKeystringYesDein AutoAlt.ai API-Key

Request (cURL)

curl --location --request POST \
  'https://app.autoalt.ai/api/autoalt-verify-api-key' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --form 'apiKey="YOUR_API_KEY"'

Response

valid
{
  "is_verify": true
}
invalid
{
  "is_verify": false
}

is_verify returns true if the API key is valid, otherwise false.

Response & Credits

On success the API returns a JSON object with the generated ALT text, the language and the number of credits used. 1 image = 1 credit – regardless of format or number of output languages.

200 · Success
{
    "alt_text": "White glossy ceramic wall tiles for modern bathroom interior",
    "total_credit": 50,
    "credits": 36,
    "used_credits": 14,
    "asset_id": "deb9a028f5c7c64c0631393432393546e39c62cbafc92ce8",
    "filename": null,
    "imagename": null,
    "used_plan": "free",
}

Best Practices

Always provide the correct product name
Include the brand name for branded products
Add the accurate product color for better visual descriptions
Combine with SEO keywords for maximum optimization

Especially recommended for fashion, furniture, electronics and tile products.

Ready to integrate?

Ready to integrate?