API call for image ALT text generation

Created on 29 June 2023, over 1 year ago

it seems to be a pain point for many editors, so sidekick can now also generate the alt texts of images.

This is a Sub Issue.

We like to implement Sidekick API calls per field.
See: https://www.drupal.org/project/sidekick/issues/3371314 Seperate API calls which are available for fields Fixed

This API call should be available and selectable for:
- file fields

You can send the link to a publicly available image and get a suggestion for an alternative text back.

Processing time is about 5 seconds, so this can be synchronous.

Please mark the system as beta, since there are still edge cases where it's very hard to create a decent alternative text without context.

```
curl --request POST \
--url 'https://api-staging.neosidekick.com/api/v1/chat?language=de' \
--header 'Authorization: Bearer {YOUR_TOKEN}' \
--header 'Content-Type: application/json' \
--header 'accept: application/json' \
--data '{
"module": "alt_tag_generator",
"user_input": [
{"identifier": "url", "value": "https://yourdomain.com/files/originalfilename.jpg"}
]
}'
```

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇦🇹Austria Grienauer Vienna

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024