divamgupta / divamgupta/diffusionbee-stable-diffusion-ui

Feature request: make scriptable

Open
#36 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
13.6k
Forks
727
PR merge metrics
No merged PRs in 30d

Description

In order to use DiffusionBee with an (Apple) script, all menu items need to be present in the menu. I would propose to add the following entries:

- File -> Import text from clipboard
- File -> Generate
- File -> Save Image

This way we could write an Apple Script like the following (pseudo code):

```
for artist in ["Wassily Kandinsky", "Vincent van Gogh", "Pablo Picasso"]
set clipboard text to `horse, painting by ${artist}`
tell app DiffusionBee to to "Import text from clipboard"
wait one minute
tell app DiffusionBee to to "Save Image"
```

It would be great if it was possible to specify where the image is saved to and what the name is, e.g. `~/my-experiment/horse-by-picasso.png`.

When a certain action is not possible (e.g. "Save Image" before an image was generated), the menu entry would need to be greyed out.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.