/imgprmt

Store and share your favourite AI image prompts embedded within a tweetable JPG image file. Prompt is viewable as a basic web page.

Primary LanguageC++MIT LicenseMIT

imgprmt

Store / embed an AI image prompt within a JPG image.

This creates a separate JPG + HTML polyglot image file.

Demo Videos: Command Line / Web / X/Twitter

Demo Image

View the embedded prompt as a basic web page by renaming the .jpg file extension to .htm

Demo Image

The embedded image can be shared on a number of social media sites, such as Twitter, Mastodon,
Flickr, etc.

These platforms retain the embedded prompt, so that it's available to anyone who downloads your image.
In many cases, the embedded prompt is also preserved when someone edits the image.

(You can try imgprmt from this site if you don't want to download & compile the source code.)

Usage (Windows Command Line - Insert Prompt in JPG Image)

PS G:\imgprmpt\demo> .\imgprmt.exe

Usage: imgprmt <jpg-image>  
       imgprmt --info

PS G:\imgprmpt\demo> .\imgprmt Woman.jpg

Enter a Web link (Image source, Social media page, etc.)

URL: https://twitter.com/OrctonAI/status/1767377042029338722

Type or paste in your prompt as one long sentence. Add <br> tags for new lines, if required.

Image Description: A portrait of an enchanting young woman with long, wavy red hair standing in front of a field of colorful flowers at sunset.
 She has piercing blue eyes and is wearing a floral blouse. The sky above her features dark storm clouds, adding to the dramatic effect.
 Her expression is serene yet captivating as she gazes directly into the camera lens.
 The portrait is painted in the style of an artist known for dramatic lighting and expressive subjects. --ar 16:9 --stylize 125

Created output file: "imgprmt_5326.jpg 187573 Bytes"

Usage (Web Tool)

Demo Image

My other programs you may find useful:-