Image name from the Prompt or Alt text

Created on 13 March 2025, 23 days ago

Problem/Motivation

Currently, the AI generated image name is something like ai_generated_image_67d276c061cc0 which is fine but it would be good if the name could be taken from the prompt or alt text. So that later in the media library it becomes easy for the site builders to search it by name.

Steps to reproduce

  1. Go to /media/add/image
  2. Select image source as "Generate image with AI"
  3. Enter prompt say "Drupal image"
  4. Save the media.
  5. Edit the media and not the image name

Proposed resolution

Take the machine name from prompt or alt text.

Remaining tasks

TBD

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India prashant.c Dharamshala

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

Comments & Activities

Production build 0.71.5 2024