Extensions

Extend SAMMI's functionality with our community made extensions.

AI Image Generator

Developed by:
Rating | Utilities | views

Overview

Allows you to generate and edit AI images with simple SAMMI commands.

Features

Generating images

  • Generate new image(s) based on a prompt
  • Generate image variation(s) based on a provided image
  • Generate image edit(s) based on a provided image and mask.

Saving Images

  • Saves the generated image(s) to URL or to a file.

User friendly

  • Lots of checks implemented to avoid sending invalid parameters to Open API
  • Automatically generates new file names to prevent overwriting old files
  • Saves image URLs or file paths in an array within the button for easy access
  • All image URLs are also saved in a text file to prevent loss in case of crashes
Important information
  • DALL-E is a paid service, it requires an OpenAI account and a credit card
  • See pricing info here: https://openai.com/pricing
  • You must monitor your own usage and set usage limits (described in the setup guide)

By installing this extension you’re agreeing to be monitoring your own usage and cost, and NOT using the extension (i.e. uninstalling it from Bridge) if you notice a high usage. In that case, please report it to Christina on Itch or Discord.

Icon generated by OpenAI


Special thanks goes to:
My amazing Patrons.
Thank you so much!

If you would like to support me developing SAMMI itself and my extensions, you can join my Patreon, which will give you access to all my upcoming creations for completely free and priority help on any of my extensions.

DISCLAIMER: The extension is provided as is. The developer has no obligation to provide maintenance and support services or handle any bug reports.
Feel free to edit the extension for your own use. You may not distribute, sell or publish it without the author’s permission.


Additional Information
Version 1.0 Requires SAMMI 2023.1.1^^ Stream Platform Any Updated March 26, 2023
Setup
PLEASE REVIEW BEFORE USING THE EXTENSION:
  • DALL-E is a paid service, it requires an OpenAI account and a credit card
  • Always monitor your usage via the official OpenAI dashboard
  • Set usage limits via the official OpenAI dashboard
  • As this is a beta release of the extension, using it could potentially lead to higher API calls usage due to user error or possible bugs.
  1. Install the extension.
  2. Setup your INIT button
DALL-E Generate

Generates a new image based on a prompt. All buttons with DALL-E commands must be set to persistent.

Box Name Description
Prompt The image description, the more detailed the better, max 1000 characters
Amount Amount of images to generate, between 1-10
Size Size of the generated image
Response Save the image as a file or as a URL. If saving it as a file, it will be saved in your SAMMI folder/Ext/image generations. To prevent files from being accidentally overridden, the filename is automatically generated in the following format: DALL·E {timestamp} - {truncated prompt}_{index}.png
Save As Variable Variable to save the result into, won’t be set at all if generating failed. If saving the image as a file, it will be an array containing all image file paths. If saving the image as a URL, it will be an array containing all image URLs
Save as Variable (status) Variable to save the status result into. If the request succeeds, it will be set to 1, if not, it will be set to 0
DALL-E Variations

Generates image variations based on the supplied image. All buttons with DALL-E commands must be set to persistent.

Box Name Description
Image File Path The image to use as the basis for the variation(s). Must be a valid PNG file, less than 4MB, and square
Amount Amount of images to generate, between 1-10
Size Size of the generated image
Response Save the image as a file or as a URL. If saving it as a file, it will be saved in your SAMMI folder/Ext/image generations. To prevent files from being accidentally overridden, the filename is automatically generated in the following format: DALL·E Variations {timestamp} - {filename}_{index}.png
Save As Variable Variable to save the result into. If saving the image as a file, it will be an array containing all image file paths. If saving the image as a URL, it will be an array containing all image URLs
Save as Variable (status) Variable to save the status result into. If the request succeeds, it will be set to 1, if not, it will be set to 0
DALL-E Edit

Creates an edited or extended image given an original image and a prompt. All buttons with DALL-E commands must be set to persistent.

Box Name Description
Image File Path The image to edit, must be a valid PNG file, less than 4MB, and square
Mask File Path An additional image whose fully transparent areas indicate where the image should be edited. Must be a valid PNG file, less than 4MB, and square
Prompt The desired image description, max 1000 characters
Amount Amount of images to generate, between 1-10
Size Size of the generated image
Response Save the image as a file or as a URL. If saving it as a file, it will be saved in your SAMMI folder/Ext/image generations. To prevent files from being accidentally overridden, the filename is automatically generated in the following format: DALL·E {timestamp} - {originalFileName}_{index}.png
Save As Variable Variable to save the result into. If saving the image as a file, it will be an array containing all image file paths. If saving the image as a URL, it will be an array containing all image URLs
Save as Variable (status) Variable to save the status result into. If the request succeeds, it will be set to 1 (succeeded), if not, it will be set to 0 (failed)
Privacy Policy
This developer has disclosed that it will not collect or use your data.

This developer declares that your data is:

  • Not being sold to third parties.
  • Not being used or transferred for purposes that are unrelated to the extension's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes

Reviews

Coming soon!