Generate alt text

Queues a description of an image, written to be read aloud. Returns a task; the text arrives on its result.

POST/image/alt
AuthAPI keyorOAuth tokenHow to send it

Request body

urlstringrequired
format: uri

Response

Image alt text task created

dataobjectrequired
task_idstringrequired

Task ID

e.g. "tsk_01KE7XWWEQ4MCGWKBQKJ1G47RP"
estimated_coststringrequired

Estimated cost in USD reserved for this task. Work that fails is refunded, so the final cost may be lower.

e.g. "0.03"

Errors

A failed call names what went wrong in code, with a sentence in message. The codes, which of them are worth retrying, and how to read a validation failure are on Errors.