Skip to main content

Documentation Index

Fetch the complete documentation index at: https://www.alttextlab.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

E-commerce mode produces alt text optimized for product listings — emphasizing specific product attributes rather than general visual description.

How it activates

E-commerce mode activates automatically when you include any product metadata in your request. There is no separate toggle. API — include any field in the ecommerce object:
{
  "imageUrl": "https://example.com/sneaker.jpg",
  "ecommerce": {
    "product": "sneakers",
    "brand": "Nike",
    "color": "black",
    "material": "leather"
  }
}
All e-commerce integrations include metadata settings where you can select which product fields to pass. E-commerce mode activates automatically when at least one field is provided.
Pass as many product fields as possible. The more context the model has — brand, color, material, product name — the more precise and consistent the output will be across your catalog.

Output differences

ModeExample output
DefaultA person wearing joggers in a park, mid-stride.
E-commerceBlack Nike joggers in polyester fabric — relaxed fit.

Style interaction

When e-commerce mode is active, the selected writing style has lower priority. Output stays concise and attribute-focused regardless of the style setting. This ensures consistency across product listings.

Available product fields

FieldDescriptionExample
productProduct name or type"office chair"
brandBrand name"Herman Miller"
colorDominant color or palette"ivory white"
materialProduct material"ceramic"