Skip to content
AltText.ai logo

Connectors / AI · HTTP Connector

Automate AltText.ai with Tray.ai

Generate alt text for an image in AltText.ai and start a workflow when AltText.ai sends “Image uploaded”.

What can you do with AltText.ai on Tray.ai?

AltText.ai uses AI to write alt text for images in over 130 languages, improving accessibility and image SEO for websites and online stores. Tray.ai connects to AltText.ai through the HTTP Connector, so your workflows can call the AltText.ai API alongside the rest of your stack.

  • When AltText.ai sends “Image uploaded”, write the generated alt text back to your CMS.
  • Generate alt text for an image each time a product is added to your online store.
  • Scrape a page for images after each site release so new pages get alt text.
Connects through
HTTP Connector
Authentication
An API key in a request header
Base URL
https://alttext.ai/api/v1

Set it up

Connect AltText.ai to Tray.ai

Each step uses AltText.ai's own API details, from its documentation.

Step 1

Save AltText.ai's API key

Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.

Step 2

Point the HTTP Client at the API

Add an HTTP Client step and use https://alttext.ai/api/v1 as the base URL. Or paste a cURL example from AltText.ai's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “List images”

It's one of 14 documented actions, under Images. The response comes back as data the next step can map into your other apps.

Step 4

Start workflows from AltText.ai events

Give AltText.ai the URL of a Tray.ai webhook trigger. “Image uploaded” can then start a workflow, and so can 1 other event.

Give your AI agents AltText.ai tools

Build an MCP server on AltText.ai in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List images
  • Bulk create images
  • Get account settings
  • List API keys
  • Get an image
  • Generate alt text for an image
  • Update an image
  • Delete an image

What the AltText.ai API covers

4 resources and 14 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Images

  • List images
  • Get an image
  • Generate alt text for an image
  • Update an image
  • Delete an image
  • Search images

Bulk jobs

  • Bulk create images
  • Scrape a page for images

Account

  • Get account settings
  • Update account settings

API keys

  • List API keys
  • Create an API key
  • Rotate an API key
  • Revoke an API key

Events AltText.ai can send to a Tray.ai webhook trigger

  • Image uploaded
  • Image deleted

Checked against AltText.ai's own documentation on 2026-10-22

alttext.ai/apidocs

Frequently asked questions

What can a Tray.ai workflow do in AltText.ai?

+

The AltText.ai API documents 14 actions across 4 resources (Images, Bulk jobs, Account, API keys). For example: List images; Bulk create images; Get account settings. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with AltText.ai?

+

The AltText.ai API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which AltText.ai events can start a Tray.ai workflow?

+

AltText.ai sends 2 events to a webhook URL, for example: Image uploaded; Image deleted. A Tray.ai webhook trigger receives them and starts a workflow.

See AltText.ai working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.