Commit Graph

107 Commits (master)

Author SHA1 Message Date
zappityzap a88e88912b
recurse through subfolders to build model list (#554)
Co-authored-by: zappityzap <zappityzap@proton.me>
2024-09-21 19:17:56 -05:00
continue-revolution b7ce6550cd animatelcm 2024-07-12 23:58:17 +08:00
Raziel619 69a2395ec5
Fix broken API (#530) 2024-05-31 13:57:24 +08:00
zappityzap 0434d99284
Model list fixes (#526)
* make intermediate directories and handle existing dirs

* fix rm tags for SD2

* return sorted list of models

---------

Co-authored-by: zappityzap <zappityzap@proton.me>
2024-05-26 12:40:21 +08:00
zappityzap 3b7765dd21
Check if cn unit is enabled (#525)
* check if cn unit is enabled

* more concise

---------

Co-authored-by: zappityzap <zappityzap@proton.me>
2024-05-26 12:39:49 +08:00
continue revolution 44d2f992ba
Revert "fix for a1111 pr 15423" (#515)
* Revert "fix for a1111 pr 15423 (#501)"

This reverts commit 85a854b438.

* i

* doc

* doc
2024-04-23 02:06:30 -05:00
Chenlei Hu 856fc0ef69
Update xyz module detecction (#512) 2024-04-21 22:29:58 -05:00
Andray ecc6cf7953
video mask: fixes for replacer extension (#509) 2024-04-19 22:53:53 -05:00
continue revolution 85a854b438
fix for a1111 pr 15423 (#501)
* fix for a1111 pr 15423

* rm print
2024-04-14 17:58:58 -05:00
Chengsong Zhang a81565d906
rm unnecessary imports (#473)
* rm unnecessary imports

* doc
2024-03-17 06:05:41 -05:00
Chengsong Zhang c89f6005c3
remove shit depencency created at unknown time (#472)
* api doc

* fix adetailer

* remove shit dependency added at unknown time
2024-03-16 00:58:32 -05:00
Chengsong Zhang 7219066279
Fix After Detailer (#471)
* api doc

* fix adetailer
2024-03-16 00:13:49 -05:00
Chengsong Zhang 74a2ae1be9
improve api (#468) 2024-03-15 06:34:39 -05:00
Chengsong Zhang 6314c17c2f
fix prompt travel for sdxl (#467) 2024-03-15 03:39:19 -05:00
yuchen1984 af8d2e3e4f
V2.0.0a api fix (#463)
* unofficial fix of the broken txt2img API for AnimateDiff + ControlNet

* minor cleaning

---------

Co-authored-by: Yu Chen <yu@metail.co.uk>
2024-03-15 02:31:01 -05:00
Thiswinex a390500002
Freeinit (#458)
* draft for freeinit

* update for v1.x

* Update README.md

* Update features.md

* Update how-to-use.md

* Update README.md

* Update README.md

---------

Co-authored-by: Chengsong Zhang <continuerevolution@gmail.com>
2024-03-10 04:27:58 -05:00
Chengsong Zhang c92c72b5e5
fix utils (#450) 2024-03-06 04:26:59 -06:00
Chengsong Zhang ba19e78e11
i2i batch bugfix (#444) 2024-03-03 05:09:39 -06:00
Chengsong Zhang e3c58bac40
2.0.0-a Fix all issues to make it work with WebUI 1.8.0 and ControlNet 1.1.441 (#435)
* 1. remove lora hook and lcm. we will use automatic1111's lora system and the new state dict. i have already pushed lcm sampler to automatic1111 upstream

* save some change

* save some change

* save some change

* save some change

* save some change

* rm cn hack, will modify cn extension

* make code more similar

* ad, but cn seems to be broken

* ad, fix cn

* ipadapter

* sparsectrl works, ip-adapter still not working

* doc

* doc

* doc

* everything but i2i batch is working properly

* coding finish

* doc, except features and how-to-use

* doc, except some CN sample and screenshot

* doc, cannot update because too sleepy
2024-03-02 06:13:27 -06:00
Jabasukuriputo Wang 4c3ec2e5fb
get lowvram from sd_model (#404) 2024-02-18 22:47:23 -06:00
Chenlei Hu fe02e05d85
🐛 Fix build cn model (#409)
* 🐛 Fix build cn model

* compatible
2024-02-18 22:42:26 -06:00
zappityzap f279033b91
xyz plot support (#431)
Co-authored-by: zappityzap <zappityzap@proton.me>
2024-02-17 13:47:13 -06:00
Andray 2573b2b513
Add option for default save formats (#422) 2024-02-08 22:41:40 -06:00
Chengsong Zhang e9db9f287e
v1.13.1 (#403)
* fix mp4 encoding error (#402)

* Support infotext paste (#400)

* Add support for pasting infotext

* Fix names for params in img2img infotext

* move setup of paste fields into render(), revert infotext field names back to variable names

* Revert "move setup of paste fields into render(), revert infotext field names back to variable names"

This reverts commit ea062abcbc.

* revert infotext field names back to variable names

* move setup of paste fields into render()

* refactor getting param names into a function

* style fixes

* validate prompt travel frame numbers (#401)

Co-authored-by: zappityzap <you@example.com>

* 1.13.1

---------

Co-authored-by: hkz <hkunzhe24@gmail.com>
Co-authored-by: zappityzap <128872140+zappityzap@users.noreply.github.com>
Co-authored-by: zappityzap <you@example.com>
2024-01-12 17:18:07 -06:00
Chengsong Zhang 55ecff3656
better model type guess (#374) 2023-12-19 21:31:21 -06:00
Chengsong Zhang 83dc4d0f0c
1.13.0 (#373)
* 1.13.0

* readme

* readme

* Update README.md

* Update README.md

* readme
2023-12-19 04:09:32 -06:00
Lorentz ca9819779b
Fixed typos in animateddiff_lora.py, and also pedantically changed lo… (#357)
* Fixed typos in animateddiff_lora.py, and also pedantically changed lora to LoRa where it was not

* Update animatediff_lora.py

* Update animatediff_lora.py

---------

Co-authored-by: Chengsong Zhang <continuerevolution@gmail.com>
2023-12-05 00:32:36 -06:00
zappityzap d2e77f40e8
Add MP4 quality settings (#349) 2023-11-28 17:41:07 -06:00
Chengsong Zhang 04ae5df6d1
Tqdm (#345)
* add tqdm
2023-11-27 01:29:05 -06:00
Chengsong Zhang 794875cadb
Fix fp8 (#333)
* fix )

* fix ipadapter
2023-11-20 23:27:03 -06:00
Kohaku-Blueleaf 151139f149
Some update/fixes for FP8 (#332)
* Update README for fp8

* Don't convert norm layer to fp8
2023-11-20 22:00:26 -06:00
Chengsong Zhang 4cd270d556
1.12.1 (#321)
* recovery for i2i-b

* return process result

* support fp8

* simplified fp8

* cast norm

* cn fp8

* improve restore

* Dev add s3 (#315)

* add file output to  s3

* test

* 1

* test

* 11

* add loggger

* 修改描述

* add log

* log formate

* install edit

* 临时修改验证

* remove install

* modify import

---------

Co-authored-by: zhangruicheng <zhangruicheng@migu.cn>

* LCM Sampler (#318)

* lcm, not tested

* lcm appears at UI

* refactor, not working properly

* lcm

* readme

* 1.12.1

---------

Co-authored-by: zhangrc <zrc_java@163.com>
Co-authored-by: zhangruicheng <zhangruicheng@migu.cn>
2023-11-16 20:08:47 -06:00
zappityzap 1f1d912711
use pyav to save MP4 with metadata (#303)
Co-authored-by: zappityzap <you@example.com>
2023-11-11 16:41:17 -06:00
zappityzap ba883cf799
Add WebM output (#301)
* add webm output

* update README

* save metadata
2023-11-10 22:53:43 -06:00
Chengsong Zhang 7a66b35e28
1.12.0 (#300)
* init

* adxl

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2023-11-10 01:38:01 -06:00
Chengsong Zhang 59e17266f1
1.11.1 bugfix (#293)
* add request_id in params and filename  (#285)

* animatediff_output.py filname add request_id

* Update animatediff_ui.py AnimateDiffProcess add request_id param

* allow request_id empty ,and remove from webui

* move request_id at  last  in init method

* remove request_id from webui

---------

Co-authored-by: zhangruicheng <zhangruicheng@migu.cn>

* fix device

* request id

* add test

* fix test

* fix test

* fix test

* cheaper test

* cheaper test

* readme

* run one test at one time

* readme

* use ubuntu 20.04

---------

Co-authored-by: zhangrc <zrc_java@163.com>
Co-authored-by: zhangruicheng <zhangruicheng@migu.cn>
2023-11-08 13:19:57 -06:00
Chengsong Zhang 0e6dc4d70b
1.11.1 (#289)
* better naming convention

* add date

* api return b64 video

* hook encode_pil_to_base64

* use date instead of datetime

* remove unnecessary code for ipadapter

* vram optim

* recover from assertion error such as OOM without the need to re-start

* bugfix

* add todo to pr a1111

* fix lllite, fix absolute path, fix infotext

* fix api

* readme
2023-11-06 23:49:00 -06:00
kevmak fd8a7f0be2
Bug, can't match mask with i2ibatch (#273) 2023-11-02 03:44:48 -05:00
Chengsong Zhang 4a5461ee5a
1.11.0 (#260)
* partially finish hotshotxl, have to deal with another bug

* unknown bug

* remove print

* fix mm

* remove beta, prev

* basic use supported. CN and prompt travel still on the way

* uncomment all control models for sdxl

* prompt travel

* readme

* readme
2023-10-29 06:15:59 -05:00
Chengsong Zhang 16b1781f96
fix i2ibatch (#258)
* fix i2ibatch

* remove print
2023-10-28 20:58:06 -05:00
zappityzap 80d9f5df1a
handle saving WebP without infotext (#252) 2023-10-25 15:10:52 -05:00
Chengsong Zhang a13370f0fe
1.10.0 (#250)
* first step to add a bunch of code, need to change p.init and cn.main afterwards

* finish i2i-batch

* correct hack

* works

* readme
2023-10-25 04:27:21 -05:00
zappityzap 51c4987b7a
Bug, batch seeds and infotexts (#245)
* correct seed in filename for batches

* correct infotext for batches

* fix

---------

Co-authored-by: zappityzap <you@example.com>
Co-authored-by: Chengsong Zhang <continuerevolution@gmail.com>
2023-10-25 04:19:03 -05:00
Chengsong Zhang 5f4ede91ea
1.9.4 (#238)
* init

* remove timestep hack

* add_reverse merge to closed_loop

* ui

* actually save prompt travel to infotext in output images

* remove hint.js, maintain doc in readme

* infotext copy-paste seems like a non-trivial task. let's leave it to a future update

* readme explain

* readme api

* readme api

* readme api

* readme api

* readme api

* readme api

* readme

* accomodate people who don't enable hash calculation

* accomodate people who don't enable hash calculation
2023-10-21 01:46:09 -05:00
Chengsong Zhang ea3e6232a5
1.9.3 (#92)
* QOL features and settings, backend cleanup for ease of maintenance, minor bug fixes (#87)

* QOL update

-Set mm_sd_v14 as the default instead of v15, as most end users tend to prefer it
-Load actual motion modules from the model folder instead of hardcoding v14 and v15 in the dropdown
-Add support for webp and apng file formats
-Add quality sliders and lossless options for webp and apng
-Add ability to format the file names
-Add ability to output to a custom folder, along with named subdirectories similar to the feature set for images

* Parity update, UX polish

-Brought injection code up to parity with Kosinkadink's ComfyUI's implementation
-Updated motion_module
-Updated groupnorm hack
-Removed apng option, it just doesn't work well in imageio's implementation, may return in future
-Add option to always save videos
-Add infotext to video generations
-Set UI parameters from infotext when pasting/restoring from params.txt
-Separated settings into separate py file
-Updated info for options
-made some function names more descriptive and moved some code around for readbility
-Make it so the infotext shown underneath the video after a generation reflects the actual video, not just main prompt

* Restore Timestep after video generation

-Fixes an issue that would occur when trying to generate images after generating video. No longer asserts.

* Unet script cleanup

* Groupnorm hack setting polish, fix video duration

-Don't hack groupnorm when not using a v1 module
-Enforce original groupnorm when not requested to be hacked. this avoid getting into a bad state when the groupnorm hack setting is changed mid-generation.
-Fix video duration
-Adjust spacing in unet_injection script

* Update README.md

* init

* don't change anything. Features will be added in future commits

* don't change anything. Features will be added in future commits

* don't change anything. Features will be added in future commits

* readme

* Add WebP output with infotext stored in exif and options for quality and lossless (#233)

Co-authored-by: zappityzap <you@example.com>

* Bug, pass -overwrite_original to exiftool (#234)

* fix (#227)

* pass -overwrite_original to exiftool

---------

Co-authored-by: Chengsong Zhang <continuerevolution@gmail.com>
Co-authored-by: zappityzap <you@example.com>

* Update README.md

* Update README.md

* Update animatediff_ui.py

* date

---------

Co-authored-by: JaredTherriault <noirjt@live.com>
Co-authored-by: zappityzap <128872140+zappityzap@users.noreply.github.com>
Co-authored-by: zappityzap <you@example.com>
2023-10-19 22:42:26 -05:00
Chengsong Zhang f89913c4d7
fix (#227) 2023-10-16 15:28:31 -05:00
Chengsong Zhang bc8322bf81
1.9.2 (#199)
* init

* context

* prompt travel

* Infotext improvements (#220)

* add AnimateDiff params to infotext

* pass p to _save and then to _txt for infotext

* generate infotext

* specify pillow plugin to save infotext as comment

* generate correct infotext for txt output

* use exiftool for infotext in optimized palette gif

* only add gif comment if saving infotext

* simplify p.extra_generation_params

* infotext w/o prompt travel

* infotext written to params.txt

---------

Co-authored-by: zappityzap <you@example.com>
Co-authored-by: Chengsong Zhang <continuerevolution@gmail.com>

* readme refactor

* Update README.md

---------

Co-authored-by: zappityzap <128872140+zappityzap@users.noreply.github.com>
Co-authored-by: zappityzap <you@example.com>
2023-10-16 06:12:38 -05:00
Chengsong Zhang ce2d273c75
1.9.1 (#187)
* prepare for next pr

* use state dict key to guess mm version

* replace match case with if else

* Feature png output folder (#170)

* make a subfolder for PNG outputs

* revert changing outpath_samples

* move dot to extension strings

* save png to folder

* make option animatediff_do_not_save_samples

* edit

* edit

---------

Co-authored-by: zappityzap <you@example.com>
Co-authored-by: Chengsong Zhang <continuerevolution@gmail.com>

* Added easy to understand tooltips for missing tooltips (#151)

* Added easy to understand tooltips for missing tooltips

Used an AI to make easy tooltips.

* move tooltip to js, but leave some content to a future pull

---------

Co-authored-by: Chengsong Zhang <continuerevolution@gmail.com>

* install imageio[ffmpeg] automatically

* readme

---------

Co-authored-by: zappityzap <128872140+zappityzap@users.noreply.github.com>
Co-authored-by: zappityzap <you@example.com>
Co-authored-by: Jack Smith <jackdsmith2327@gmail.com>
2023-10-11 03:28:06 -05:00
Chengsong Zhang 8c90487fb4
prompt travel (#164)
* readme

* alright, I just added the core code, but I don't want to test now

* probably supported?

* method in cli implemented successfully

* update frames same as fps (#185)

Co-authored-by: zappityzap <you@example.com>

* return all interpolated frames for api calls (#177)

* readme

---------

Co-authored-by: zappityzap <128872140+zappityzap@users.noreply.github.com>
Co-authored-by: zappityzap <you@example.com>
2023-10-08 03:41:49 -05:00
Chengsong Zhang f20f57f654 fix dtype mismatch for compvis samplers 2023-10-06 02:53:05 -05:00