Commit Graph

145 Commits

Author SHA1 Message Date
kir-gadjello dddcac9af8
implement drawthings local app api support for sd extension 2024-03-30 01:12:29 -03:00
Cohee c606cd1295 Add SMEA/DYN controls for NAI Diffusion 2024-03-20 21:23:56 +02:00
johnbenac 8036a07df4
clarified placeholder comfyui text 2024-03-06 21:34:31 -05:00
Cohee 6ab918605e Allow single quotes in generated SD prompts 2024-02-14 15:39:56 +02:00
Cohee 8d4c4c1945 Only snap resolution if pixel counts change 2024-02-13 11:40:37 +02:00
Cohee b8387df15e #1826 Allow snapping to known resolutions for face/bg generations 2024-02-12 17:28:39 +02:00
Cohee e537def312 Add return value to /sd command and quiet flag 2024-01-24 20:15:10 +02:00
Cohee 30732ada32 Lint fix 2024-01-01 16:08:24 +02:00
RigbyB b6570e775d ComfyUI request/prompt fix 2023-12-24 21:02:04 +00:00
Doa 41ac2c07b2 Adding negative character prompts for img sources that support it 2023-12-23 16:19:22 +00:00
Cohee ac70a0a592 Add TogetherAI for image generation 2023-12-18 03:33:05 +02:00
Cohee f6b59d0d3a Uniform command registration 2023-12-18 02:35:02 +02:00
LenAnderson 796ab7eff8 validate /icw 2023-12-17 22:57:10 +00:00
LenAnderson 56b9398353 add slash command to change comfy workflows 2023-12-17 22:24:22 +00:00
LenAnderson 55b9ebad3f add custom placeholders for comfy workflows 2023-12-17 22:17:08 +00:00
Cohee e0531f85dc
Merge pull request #1557 from SillyTavern/Deathspike/release
Allow comma after "char" prefix
2023-12-17 02:38:39 +02:00
Cohee 6e8a217482
Merge pull request #1548 from Deathspike/release
Add SD character-specific prompt prefix options to free-mode
2023-12-17 02:38:14 +02:00
Cohee 7fb9d9bfc1 Allow comma after "char" prefix 2023-12-17 02:34:42 +02:00
Deathspike 14400b05f9 Rework character-prefixed free-mode to support macro 2023-12-16 11:29:34 +01:00
Deathspike 8aa1814287 Fix SD character-prefixed free-mode user detection 2023-12-15 19:34:29 +01:00
Deathspike 008ac9d47e Add SD character-prefixed free-mode 2023-12-15 16:14:33 +01:00
Cohee bb8b8f9386 Fix sending PNG/WEBP to Google captioning 2023-12-14 20:36:31 +02:00
Cohee 0302686a96 Return from Generate if calling circuit breaker 2023-12-11 19:07:33 +02:00
Cohee e96fb0c1b5 Fix group wrapper not resolving to a valid text 2023-12-11 19:00:42 +02:00
valadaptive 9d4990d25d Rename sd-next/upscalers to sd/next/upscalers 2023-12-04 10:22:47 -05:00
Cohee 64a3564892 lint: Comma dangle 2023-12-02 22:06:57 +02:00
Cohee c63cd87cc0 lint: Require semicolons 2023-12-02 21:11:06 +02:00
valadaptive a37f874e38 Require single quotes 2023-12-02 13:04:51 -05:00
valadaptive 518bb58d5a Enable no-unused-vars lint
This is the big one. Probably needs thorough review to make sure I
didn't accidentally remove any setInterval or fetch calls.
2023-12-02 12:11:19 -05:00
valadaptive 0a27275772 Enable no-extra-semi lint 2023-12-02 10:32:26 -05:00
Cohee 252af836f0 #1418 Remove prefix from SD raw_last 2023-11-30 01:22:31 +02:00
Cohee 84811ec518 Fix image gen prefix combining 2023-11-27 16:10:42 +02:00
Cohee e587f208be Add resolution match on load 2023-11-26 18:19:37 +02:00
deffcolony aaeaa643e3
resolution presets for image generation extension (#1394)
+ New drawer with resolution presets at image generation extension

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-11-26 17:55:49 +02:00
Cohee 52d9855916 Code lint 2023-11-21 02:00:50 +02:00
LenAnderson 1c725879d8 add func for loading dropdown opts for settings 2023-11-20 22:00:40 +00:00
LenAnderson 3d4442ab25 make api routes kebab 2023-11-20 18:27:50 +00:00
LenAnderson 46cc04c798 add default comfy workflow 2023-11-20 15:59:38 +00:00
LenAnderson d24c74e34a update comfy generate to use saved workflows 2023-11-20 12:51:36 +00:00
LenAnderson 06ececc1a5 add managing multiple comfy workflows 2023-11-20 12:39:06 +00:00
LenAnderson 5e5c111d25 add VAE selection 2023-11-20 12:34:37 +00:00
LenAnderson d5b9dd34b7 remove unused comfy method 2023-11-20 12:29:47 +00:00
Cohee 9dcc23825a [chore] Reformat 2023-11-19 21:17:02 +02:00
Cohee 5e6fcd28b2
Merge pull request #1371 from LenAnderson/staging
Add ComfyUI to the Stable Diffusion extension
2023-11-19 21:14:42 +02:00
LenAnderson 9dd1e59421 move requests to comfy into ST server 2023-11-19 18:29:41 +00:00
Cohee b0b19edf31 Add multimodal captioning for SD prompt generation 2023-11-19 15:24:43 +02:00
LenAnderson fdccab3069 add ComfyUI 2023-11-19 12:18:48 +00:00
Cohee 53c3fc16c1 Assorted SD fixes 2023-11-19 00:40:21 +02:00
Cohee e753246373 Add NAI Diffusion 3 model 2023-11-16 02:15:28 +02:00
Cohee 35c5d4e528 SD interactive mode fixes 2023-11-12 02:35:37 +02:00
Cohee 8f812d6a19 Add more aliases to image slash command 2023-11-08 12:08:13 +02:00
Cohee b3ced2c4c5 Rename SD extension to "Image Generation" 2023-11-08 10:57:37 +02:00
Cohee 1896732f17 Add DALL-E to OpenAI plugin 2023-11-06 21:47:00 +02:00
Cohee 6067b2f913 Add autocomplete for slash commands 2023-11-04 01:21:20 +02:00
Cohee e8f4653a25 Add interactive mode for SD plugin 2023-11-01 22:58:59 +02:00
Cohee a0706fcfc8 Add loader UI component 2023-10-31 22:16:33 +02:00
Cohee b4a401805f Add explainer for SD prompt expansion 2023-10-25 21:49:32 +03:00
Cohee 3995238d77 Adjust Anlas guard for NAI Opus 2023-10-23 10:41:39 +03:00
Cohee f9ae7ea949 Add NAI Diffusion v2 model 2023-10-23 01:06:49 +03:00
Cohee 81921bcd77 Saveable SD prefix/negatives 2023-10-22 00:10:48 +03:00
Cohee 5012237eb3 Display generated bg in the bg block. Add ability to copy chat bg to system list. 2023-10-21 17:43:25 +03:00
Cohee 0b0b125bca Don't double-expand prompts if reusing 2023-10-20 15:43:55 +03:00
Cohee c4e6b565a5 Add SD prompt expansion 2023-10-20 15:03:26 +03:00
Cohee 4f80085fa3 Add sanitation of Stable Horde prompts 2023-10-08 22:29:33 +03:00
Cohee 1dd6fa4b6a Add Sd.next source 2023-10-07 18:30:06 +03:00
city-unit 0033090a93
Idle Response / Continuous Generation (#1132)
* Initial idle stuff

* Much closer, can now quietly send as user to get a char response.

* Tweaks

* Better, reset the count of getting a message back, don't send while prompt is waiting.

* Allow selecting who is being prompted

* Comments and cleaup

* Remove char name for the moment (needs something here probably)

* Add random time period and "Always add character's name to prompt" respect

* Tooltips

* Load/unload listeners

* Reduce log spam

* Add inline prompt inclusion

* Add full loud prompting

* Comments

* Fix instruct newline (I think)

* Don't reset count on continue

* add quietToLoud for script.js

* add quietToLoud for slashcommands.js

* Keep instruct directives

* Removed some logging, don't do the Novel formatting if Q2L

* Logspam begone.

* Removed a bit more logging

* Add alignment style

* Reformat files. Add comments

* Reorder extensions

* Fix repeat logic to prompt once then only repeat the number specified

* Make repeat count more clear

---------

Co-authored-by: RossAscends <124905043+RossAscends@users.noreply.github.com>
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-09-17 22:00:10 +03:00
Cohee 6dd09858d4 Don't remove names from the past chat. Fix non-streaming auto-continue.
We took fair criticism from the NovelAI dev.
2023-09-15 23:32:01 +03:00
Cohee 09fc42a787 Lock extensions display order in top and context menus 2023-09-13 01:40:01 +03:00
Cohee 66ec17620f Move Horde and SD endpoints into separate files 2023-09-12 20:45:36 +03:00
Cohee ded1e3a859 Add NAI Diffusion upscaling. Add Anlas guard and view Anlas button 2023-09-04 18:00:15 +03:00
Cohee c110ebe02b Fix chat bg gens not saving. Remove module worker pattern and global function from chat bg plugin 2023-09-04 12:18:37 +03:00
Cohee f69aa07ec1 Fix background URI encoding 2023-09-04 02:51:39 +03:00
Cohee ce2c2b0dac Add AUTO1111 upscaling controls 2023-09-03 14:56:02 +03:00
Cohee 8b13e29702 Fix Extras SD generation 2023-09-03 14:04:53 +03:00
Cohee ef69dcd502 Add auth support for AUTO1111 2023-09-03 01:19:31 +03:00
Cohee e3e6fa2218 Connect to AUTO111 without Extras. Add NAI Diffusion. 2023-09-03 00:41:26 +03:00
city-unit 34c698972c I think that corrects filenaming for user folders, etc. 2023-08-30 16:36:32 -04:00
Cohee eb7a8f9ae4 Filter system messages from raw last SD gens 2023-08-29 18:33:30 +03:00
Cohee e2507e8840 #976 Add "quick continue" button. Remove "send to continue" option. 2023-08-24 01:37:44 +03:00
Cohee 042c0b84a1 Add a token counter for persona descriptions 2023-08-22 18:32:18 +03:00
Cohee 94754af013 Reformat code 2023-08-20 12:37:38 +03:00
Cohee 84e5a63c34 Fix SD group gen bugs 2023-08-20 12:29:20 +03:00
Cohee 692c1a5e60 Fix background SD gens 2023-08-20 12:16:29 +03:00
city-unit e8c996ff61 Move to char+timestamp for img naming. 2023-08-20 01:41:58 -04:00
city-unit f70baff95e Comment tweaks 2023-08-20 00:33:37 -04:00
city-unit 3ce8343016 Add comments and stuff 2023-08-20 00:15:57 -04:00
city-unit c1d43c9e68 Remove base64 from groups too 2023-08-19 23:53:34 -04:00
city-unit 2f09efcd7f Exorcised base64 image stuff 2023-08-19 23:01:09 -04:00
Cohee 75378eff4e #937 Add dynamic chat backgrounds generation 2023-08-18 00:41:21 +03:00
Cohee1207 49186dbfc1 #796 Round portrait height to nearest 64 2023-07-27 23:38:08 +03:00
Cohee dd69fd3934 Auto-scrollheight for SD char prefix 2023-07-23 00:28:23 +03:00
Cohee 83252617be #612 Character-specific prompt prefixes for SD 2023-07-22 23:57:48 +03:00
Cohee d3fe20c119 Add editable prompt templates 2023-07-22 21:12:23 +03:00
Cohee 3feffaabe5 SD refine mode for paintbrush button 2023-07-22 20:32:58 +03:00
Cohee edd41989fd Initial commit 2023-07-20 20:32:15 +03:00