Batch Generate Alt Text
Alt Text Generation
Batch Generate Alt Text
Generate alt text for multiple images in a single request
POST
Batch Generate Alt Text
Overview
Process multiple images efficiently in a single API call. This is ideal for bulk processing or when you need to generate alt text for multiple images at once.Request Body
Your GistMag API key
Array of image objects to process. Each object must contain at least
image_url.The URL of the image
The length of alt text for this specific image. Options:
short, long, seoLanguage code for this specific image (default: en)
Source identifier for tracking (web, api, extension, wordpress, shopify, batch)
Example Request
Response
Array of alt text responses for each image
The generated alt text based on the selected mode
Short version of alt text (if mode was short or all modes requested)
Long version of alt text (if mode was long or all modes requested)
SEO-optimized version of alt text (if mode was seo or all modes requested)
The original image URL
ISO timestamp of when the alt text was generated
Total number of images processed
Number of successfully processed images
Number of images that failed to process
Example Response
Rate Limits
Batch requests count as multiple individual requests for rate limiting purposes. Each image in the batch consumes one credit and counts toward your rate limit.Batch processing is more efficient than making multiple individual requests, but still counts toward your usage limits.