I might start by using string functions to manipulate the ChatGPT article name. ChatGPT’s also pretty good at reformatting values, in my experience, but I like the certainty of an explicit transformation for simple stuff like this.
As a pretty trivial example, if the article name is like this:
![]()
…then you could use:
…to format it as an image title:
(I don’t know whether the file extension is included automatically in the Create a media item module. If so, just ignore the .png in my example.)
You could also use regular expressions inside replace() to deal with a wider range of undesired punctuation.
Finally, if you’re having issues making your image the featured image, then check out this post.

