Crawl and scrape a web page or HTML document, generating alt text for all images on the page. Scraped images will be queued for asynchronous alt text generation in the background. The API response will contain the details of the parsed images from the HTML (but not the final generated alt text). The maximum time allowed to download a URL and parse the HTML is 3 seconds. If the source HTML page is unable to be ingested within that time, the API will return an error response.
NOTE: The crawler does not execute Javascript or script tags on the source HTML page. It will only locate HTML img elements in the page source.
Request
- Base URL: https://alttext.ai/api/v1
- URL: https://alttext.ai/api/v1/images/page_scrape
- Auth: API key in header X-API-Key
Request body
Response
Successful addition of the image URL and alt text generation.
Changes
No recorded changes to this operation across all 1 revision of this API.