Menu

Tree [ea5bfe] master /
 History

HTTPS access


File Date Author Commit
 ExtCollMng 2025-05-19 teodor.krastev teodor.krastev [e62eec] b125
 Properties 2025-05-19 teodor.krastev teodor.krastev [37f893] b125a
 PyClient 2023-03-01 Teodor Krastev Teodor Krastev [5936da] b53
 Utils 2025-05-07 teodor.krastev teodor.krastev [374560] b124
 composer 2025-05-19 teodor.krastev teodor.krastev [e62eec] b125
 config 2025-05-19 teodor.krastev teodor.krastev [ea5bfe] b125a
 cues 2025-05-19 teodor.krastev teodor.krastev [e62eec] b125
 docs 2025-05-19 teodor.krastev teodor.krastev [e62eec] b125
 external 2025-04-22 teodor.krastev teodor.krastev [b6f102] b122
 images 2024-08-06 teodor.krastev teodor.krastev [ec86dc] b99
 master 2025-05-19 teodor.krastev teodor.krastev [ea5bfe] b125a
 modifiers 2025-05-07 teodor.krastev teodor.krastev [374560] b124
 python 2025-04-18 teodor.krastev teodor.krastev [04cbc2] b121
 sMacro 2025-05-19 teodor.krastev teodor.krastev [e62eec] b125
 sPlugin 2024-02-25 teodor.krastev teodor.krastev [09311c] b85
 viewer 2025-05-19 teodor.krastev teodor.krastev [ea5bfe] b125a
 .gitattributes 2022-09-15 teodor-krastev teodor-krastev [a93d69] Add .gitignore and .gitattributes.
 .gitignore 2025-04-07 teodor.krastev teodor.krastev [cb8996] b120
 AboutWin.xaml 2025-05-07 teodor.krastev teodor.krastev [374560] b124
 AboutWin.xaml.cs 2025-04-22 teodor.krastev teodor.krastev [b6f102] b122
 App.config 2024-06-07 teodor.krastev teodor.krastev [af5b01] b91
 App.xaml 2025-04-22 teodor.krastev teodor.krastev [b6f102] b122
 App.xaml.cs 2025-04-22 teodor.krastev teodor.krastev [b6f102] b122
 Development.txt 2023-02-15 Teodor Krastev Teodor Krastev [206c4d] b48
 MainWindow.xaml 2025-05-19 teodor.krastev teodor.krastev [e62eec] b125
 MainWindow.xaml.cs 2025-05-19 teodor.krastev teodor.krastev [e62eec] b125
 Preferences.xaml 2025-01-14 teodor.krastev teodor.krastev [53dec6] b115
 Preferences.xaml.cs 2025-04-07 teodor.krastev teodor.krastev [cb8996] b120
 README.md 2024-06-07 teodor.krastev teodor.krastev [af5b01] b91
 Scripthea.csproj 2025-04-30 teodor.krastev teodor.krastev [f9f3c0] b123
 Scripthea.sln 2025-03-17 teodor.krastev teodor.krastev [e42a62] b117
 packages.config 2025-03-17 teodor.krastev teodor.krastev [e42a62] b117
 sOptions.cs 2025-03-17 teodor.krastev teodor.krastev [e42a62] b117

Read Me

Scripthea

Intro

Scripthea is my response to the booming development of text-to-image AI domain. It's an attempt to apply a more systematic approach in composing the text prompt (prompt = cue + modifiers). You will be offered collections of short descriptive texts (cues) and collections of modifiers, like a painter, art style, time period, etc. A short introduction video is in https://youtu.be/BSUsCHmuI0Y .

After composing your prompt you can use API access to Stable Diffusion text-to-image generator and here is the strong side of Scripthea. The prompt and the picture become part of your collection (image depot) with a convenient image viewer on the second tab. On top of that, you can "scan". After selecting some texts and some modifiers Scan will combine them as every text will be combined with every modifier. So for example if you would like to see how a particular painter would paint different subjects or how specific topic would be painted by different painters. Scripthea will generate all the combinations for you (scan) and query the active API for you to put them in an image collection.
Alternatively, you can copy and paste it into your favourite text-to-image generator and see to result in your browser.

Here is the prompt composer tab...

Scripthea-1.png

On the left, you see the log panel which will text you about any ongoing operations. For prompt composing, there are two modes: Single and Scan. In Single mode, you can use one cue and more than one modifier. In Scan mode, you can select any number of cues and any number of modifiers but each prompt will combine only one cue with one modifier. Modifiers are divided into categories and to use modifiers from any category you need to check the category itself. If you wonder about any modifier, hover over it, there will be a hint for some of them. If you right-click on any modifier you will be asked to confirm a google search for that modifier. In options, you can specify the image depot folder where the images from your scan (or single query) will go.

...and here it is the image depot viewer

grid-view.png

The viewer shows a Scripthea image depot (a folder with bunch of images and decription.txt file for the prompts). You can chose between table view and thumbnail (grid) view. In the grid view you can adjust the thumbnails from the menu (bottom left button). You can move around with the arrows on the bottom, all self-explanatory (I think). On the very bottom common for both vews is the find panel which will find a word(s) in the prompts of the active image depot and select it.
The image itself can be zoomed in/out(buttons), panned (scroll-bars) or fit (the middle button), more tools are planned...

Utilities

The third tab is Image Depot Master as Image Depot manager - copy, move, delete images, check for consistency, etc

The fourth tab of Scripthea contains a utility of converting files from craiyon.com generator (ex Dall-E mini). The images from there have the prompt as file name or at least part of it. The Scripthea utility will convert these images in Scripthea image depot.

The description.idf file is a text file where each line is json formatted dictionary of a image properties in the same folder.
All the options, external and internal sizes and position are saved on closing and retrieved.

need HELP or just run it

Wherever you are within the application press F1 for online help (https://scripthea.com)
If you have concerns about viruses, compile from the sources - I'm using C#, .NET framework 4.8 with WPF and Visual Studio 2019 as IDE.

contact

Keep in mind that the application is under active development, so let me know about any bug at https://sicyon.com/survey/comment.html and I'll do my best to fix it asap. In the same way, you can communicate any ideas for improvement, experiences with the software or your willingness to help me with the project. I would especially appreciate more prompt collections preferably organized by subject, see config folder for *.prompts files.

Scripthea software has been written by and is copyrighted to Teodor Krastev. The sources are distributed under MIT's open source license.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.