Update an image with new data.
Note: You cannot update the URL of an exist image.
Request
- Base URL: https://alttext.ai/api/v1
- URL: https://alttext.ai/api/v1/images/{asset_id}
- Auth: API key in header X-API-Key
Path parameters
The asset ID of the image to update.
Query parameters
The language(s) for the updated alt text. Use one of our <ins>supported language codes</ins> for this parameter.
You can request multiple languages by providing a comma-separated string (e.g. "en,fr,es").
Multi-language behavior: When updating alt text for multiple languages with overwrite: false (default when left blank), only missing languages will be updated. Existing alt text in previously generated languages will be preserved.
When false (default), existing alt text in the specified language(s) will be preserved. When true, existing alt text will be overwritten with the new value.
Request body
Response
Successful update of the image.
Changes
No recorded changes to this operation across all 1 revision of this API.