Computer Vision

Generate Alt Text

POST
Generate alt text from images. Uses detected features and room function. Can process up to 30 image urls at a time.

Request

This endpoint expects an object.
image_urls
list of stringsRequired
A list of image URLs to send to the computer vision API.

Response

This endpoint returns an object
result
object
POST
1curl -X POST https://api.hellodata.ai/qualityscore/generate_alt_text \
2 -H "x-api-key: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "image_urls": [
6 "https://example.com/image1.jpg",
7 "https://example.com/image2.jpg"
8 ]
9}'
200Successful
1{
2 "result": {
3 "images": [
4 "images"
5 ],
6 "alt_text": [
7 "A kitchen with hardwood floor, stainless steel appliances, quartz countertops and lots of light",
8 "A living room with a fireplace, hardwood floor and lots of light"
9 ]
10 }
11}