251 Commits

Author SHA1 Message Date
ceruleandeep
0ea4494dea Fix i18n tags for Generate Image/Stop Image Generation, add translations 2024-12-16 20:03:40 +11:00
Cohee
3ed095bb0e
Merge pull request #3154 from SillyTavern/optimize-past-swipes
Optimize past swipes
2024-12-06 21:31:19 +02:00
Cohee
dce63f52c0 Remove SD module worker 2024-12-06 20:21:01 +02:00
Cohee
63f9f33e20
calc() is not needed 2024-12-05 18:50:20 +02:00
IceFog72
3d8f8d90c3
Update stable-diffusion/style.css
#sd_dropdown backdrop-filter fix
2024-12-05 03:23:11 +02:00
Cohee
70c45fb001 Merge branch 'staging' into fix/connRefusedErrMsg 2024-11-24 01:41:15 +02:00
Cohee
fc84e61d94 Simplify regex 2024-11-24 01:34:06 +02:00
Cohee
d281749d63 SD: Change onChatChanged to async 2024-11-23 18:16:04 +02:00
Cohee
bc6c598796 Await event emission 2024-11-23 17:58:02 +02:00
ceruleandeep
c39db9f3f0 Linting 2024-11-23 16:05:07 +11:00
ceruleandeep
ce3fb2e941 Only remove whole word arts/dets in SD interactive prompts
When matching FACE assume that the determiner has been removed

Test cases:
- send a photo of yourself
- send a pic of your car
- send a photo of your selfie
- draw a picture of antelopes
- render an image of Thebes
- send a drawing of Skeletor's face
2024-11-23 16:01:12 +11:00
ceruleandeep
8de551fc94 Return 502 with error description when connection to remote CC API fails
If chat-completions/generate returns an error, throw the error message

Reformat display of exceptions during SD prompt text generation
2024-11-22 11:55:27 +11:00
ceruleandeep
0383ea52e9 Linting and commenting
Linting and commenting

Linting and commenting

Linting and commenting

Linting and commenting
2024-11-22 11:55:27 +11:00
Cohee
67869364a5 ImageGen: add BFL API for image generation 2024-11-19 00:30:28 +02:00
ceruleandeep
8927de45dd Convert data URL to plain base64-encoded image data 2024-11-18 18:30:31 +11:00
ceruleandeep
5992117904 Add GGUF models and denoise parameter for ComfyUI 2024-11-18 17:55:30 +11:00
Cohee
77be125a99 NanoGPT: Add to image generation extension 2024-11-03 20:37:30 +02:00
Cohee
f918b146e7 Merge branch 'staging' into webpack 2024-10-17 23:08:36 +03:00
Cohee
ae784ddb1a Add detailer checkbox for SDNext 2024-10-17 22:47:09 +03:00
Cohee
a3693ccf6d Use deepMerge to combine payloads 2024-10-17 22:45:33 +03:00
Cohee
ec4763b0c5 unvendor: Replace popperjs/core 2024-10-17 08:03:58 +00:00
error-usernotavailable
301a31b8b2
Update settings.html
add checkbox in stable diffusion extension tab for ADetailer
2024-10-16 22:28:09 -04:00
error-usernotavailable
2689025ec3
Update index.js to use ADetailer in Auto1111/Forge/Vlad
added events, listener, and function for ADetailer/aiFaceDetailer. Rewrote function generateAutoImage to allow for tacking on of alwayson_scripts (maybe redo for a textbox/json later for other Auto1111 extensions?)

paired with settings.html edits
2024-10-16 22:23:31 -04:00
Cohee
93137e3e2a [chore] Fix lint errors 2024-10-13 14:02:53 +03:00
Cohee
44e73fbf27
Merge pull request #2975 from akvadrako/together-ai-new-image-api
Support the non-deprecated Together.ai Create Image API
2024-10-11 20:29:31 +03:00
Devin Bayer
ed8e379e54 support new together.ai image generation api 2024-10-11 17:48:33 +02:00
Cohee
fe33519422 Image Generation: Don't replace dots with commas 2024-10-11 15:32:45 +00:00
Cohee
10f51f5d90 ImageGen: Add a placeholder for {{prefixedPrompt}} in the message template
Closes #2946
2024-10-09 03:44:22 +03:00
Cohee
de57123e62 Change GenerateImage tool description 2024-10-09 02:57:08 +03:00
Cohee
a4256ccf57 ImageGen: rename Enable function tool => Use function tool 2024-10-06 21:19:06 +03:00
Cohee
303df1087a ImageGen: Configurable tool prompt description, encode response URI 2024-10-06 13:27:06 +03:00
Cohee
8ff9ef3610 Image Generation: Fix race condition in adding images to chat 2024-10-04 21:58:55 +03:00
Cohee
bc5e7b1ee8 Fix description in tool definition 2024-10-04 21:49:24 +03:00
Cohee
c853547b11 Add a function tool for image generation 2024-10-04 13:04:19 +00:00
Cohee
ab966db1e5 Refactor ensureSelectionExists for more readability 2024-10-01 14:28:34 +03:00
Cohee
42d24dbc47 Fix free mode extension on empty chats when {{charPrefix}} is used 2024-10-01 14:24:27 +03:00
Cohee
6b61abc8ed Extract logic for enum providers 2024-10-01 02:30:24 +03:00
Cohee
a63f99b8ce Add /imagine-style command 2024-10-01 02:11:24 +03:00
Cohee
a4d02bd967 Add /imagine-source command 2024-09-30 22:00:03 +03:00
Cohee
9af4d62cdf Extend /sd command 2024-09-30 21:51:24 +03:00
Cohee
e814d8c019 Adjust default extension prompts 2024-09-22 13:47:29 +03:00
Cohee
b2eab37a89 Adjust default extension prompts, remove square brackets 2024-09-22 12:58:46 +03:00
Cohee
1d8e5f841b Fix /imagine command help 2024-09-22 12:33:16 +03:00
Cohee
ae53527c23 #2888 Hide non-functioning checkboxes from Comfy 2024-09-21 16:36:20 +03:00
Cohee
1819604f31 Remove brackets from default SD prompts 2024-09-20 00:29:33 +03:00
Cohee
87f2dd9ae5 Remove pollinations refine toggle 2024-09-10 10:54:41 +00:00
Cohee
8948354bf0 Load pollinations models from an endpoint 2024-09-10 10:51:48 +00:00
Cohee
79d037e7e8 Add new pollinations flux models 2024-09-09 20:19:12 +03:00
Cohee
2f5e40691c Implement more smart textarea autosizes 2024-09-05 20:55:06 +03:00
Cohee
14d6fa1129 Change seed reroll formula for Drawthings
Fixes #2770
2024-09-04 20:57:31 +03:00