Skip to main content
Endpoint:
Authentication: API key or OAuth access token required. Public Access Tokens are not accepted. The endpoint is async only. It creates an image.alt task and returns 201 with a taskId. Poll task endpoints or use webhooks to get the alt text result.

Request body

Fields

Response body

201 — task created

When the task completes, GET /tasks/:id (or the webhook payload) includes:
If generation fails, the task status is failed with errors: [{ code, message? }]. Common codes: FETCH_FAILED, ALT_GENERATION_FAILED, UNKNOWN_ERROR. See Task error codes.

Limits

Pricing

Each request is priced at $0.0004. That amount is reserved from your account balance before processing begins. You are charged only when the task completes successfully — failed tasks release the reserve. If your balance is insufficient, the request returns 422 INSUFFICIENT_BALANCE.

Error responses

See Errors and Limits for the full error reference.