Media
Generate alternative text for an image
Generates alternative text from the stored 400-pixel JPEG thumbnail and optional post text used as untrusted context, then saves it only when the media still has no alternative text.
post/media/{id}/alt-text/generate
Request
- Base URL: https://app.openpo.st/api/v1
- URL: https://app.openpo.st/api/v1/media/{id}/alt-text/generate
- Auth: one of:
- HTTP bearer
- API key in cookie openpost_session
Path parameters
idstring required
Media ID
Request body
Example request
{
"$schema": "https://example.com/api/v1/schemas/GenerateMediaAltTextInputBody.json"
}Response
OK
Example response
{
"$schema": "https://example.com/api/v1/schemas/GenerateMediaAltTextOutputBody.json"
}Changes
No recorded changes to this operation across all 1 revision of this API.