/image/alt endpoint accepts up to 10 image URLs and returns concise alt text for each one. By default the response is synchronous - results are returned in the same HTTP response, not via polling. Set "sync": false to queue the task asynchronously and receive a 202 with a task ID instead.
Pricing
/image/alt is priced at $0.0004 per image. Only images that successfully receive alt text are charged.
The full amount for all submitted URLs is reserved up front. If a URL fails, the unused reserve for that image is released.
Generate alt text with the SDK
getAltTexts() returns only successful items. Use getErrors() to inspect failed URLs.
Generate alt text with REST
Start now, wait later
UsealtAsync() in the SDK when you want to create the task now and wait later:
"sync": false:
202 pending response with a task ID. Poll /tasks/:id/status and /tasks/:id/result, or listen for the task.image.alt.completed webhook.