Commit Graph

46 Commits (8ba4e297dda9d4e3c5fe0ac59a618aefcc88ecd9)

Author SHA1 Message Date
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
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
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 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
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 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 7e9f3830f5
infv2v (#153)
* restart to try infv2v

* infv2v works now, but cn+infv2v is not working

* finally works

* readme
2023-09-29 23:01:17 -05:00
Chengsong Zhang 25ff278cfb
ControlNet (#134)
* ui, some readme and specification

* readme

* cfg finish

* cfg in main script

* cn on the way

* first attempt to support motion lora

* motion lora should be ready

* made some progress, but still need to hack cn main

* alright, at least import problems have been resolved. Let's do hijack for CN

* logger

* should have done cn, not tested

* format

* at least we can hack cn now

* cn finally working

* still cannot support inf v2v

* readme

* Safetensors loading (#132)

* safetensors loading

* fix erroneous change

* fix model loading
adding all safetensor models to zoo

* import sd_models.read_state_dict

---------

Co-authored-by: Rickard Edén <rickardeden@gmail.com>
2023-09-27 16:34:29 -05:00
Chengsong Zhang e09e643e46
motion lora (#127)
* lora

* readme

* Update README.md

* readme
2023-09-26 00:24:00 -05:00
Chengsong Zhang 934e59c4b8
1.5.2 (#111)
* convert params dict to AnimateDiffProcess for API (#110)

* Add GIF palette optimization (#104)

* move gifsicle to settings

* re-format with isort

* xformers

* fix radio

* readme

---------

Co-authored-by: zappityzap <128872140+zappityzap@users.noreply.github.com>
Co-authored-by: rkfg <rkfg@rkfg.me>
2023-09-21 16:48:28 -05:00
Chengsong Zhang e06e2edeec readme and remove unnecessary import 2023-09-17 11:30:43 -05:00
Chengsong Zhang 1b75512206
i2v (#89)
* i2v first attempt

* refactor code

* refactor code

* add reverse frame, and UI Parts (#84) (#90)

Co-authored-by: toretate <toretatenee@gmail.com>

* Add output format options (#54) (#91)

refactor postprocessing

Co-authored-by: zappityzap <128872140+zappityzap@users.noreply.github.com>

* refactor

* refactor

* use black

* finish

* readme

* Update README.md

---------

Co-authored-by: toretate <toretatenee@gmail.com>
Co-authored-by: zappityzap <128872140+zappityzap@users.noreply.github.com>
2023-09-16 21:07:19 -05:00
Chengsong Zhang 898b9461f8 restore tes when finish 2023-09-14 23:58:26 -05:00
Chengsong Zhang 4d20ce029b always change beta 2023-09-14 16:44:42 -05:00
Chengsong Zhang 5bd726dc2d fix warn in log 2023-09-12 16:43:36 -05:00
Chengsong Zhang ed3631a49b readme 2023-09-11 20:12:43 -05:00
Chengsong Zhang 62807194bd change default gn hacking to true 2023-09-11 20:09:22 -05:00
Chengsong Zhang daf59c65fe readme 2023-09-11 19:57:55 -05:00
Chengsong Zhang 37810ffbbe add mid block removal logic 2023-09-11 19:49:45 -05:00
Chengsong Zhang b88d4ac533 add mid block insertion 2023-09-11 19:41:28 -05:00
Chengsong Zhang 757143c010 add hash for v2 and temporaldiff 2023-09-11 19:10:05 -05:00
Chengsong Zhang 4710ef2f0b add an option to disable gn hack 2023-09-11 18:50:16 -05:00
Chengsong Zhang ccb2b0f766 auto set precision according to no-half 2023-09-06 21:08:38 -05:00
Remixer Dec 450f744e9b Add half-percision support 2023-09-07 05:18:33 +04:00
Chengsong Zhang 6ac36fd855 fix when no model 2023-09-05 10:21:17 -05:00
Chengsong Zhang 8b361013fc fix grey problem 2023-09-04 20:59:55 -05:00
Chengsong Zhang 8f9bedbd54 any community model supported 2023-09-04 16:17:28 -05:00
John Danks 04d4e8eed6 calculate frame duration instead of video duration 2023-08-07 14:29:06 -07:00
zengjie 6ba72899a3 create folder with parents 2023-08-05 10:29:48 +08:00
Chengsong Zhang bcca007a1b fix v15 hash 2023-07-28 12:10:07 +08:00
Chengsong Zhang 054da44ef8 add hash calc 2023-07-27 08:10:02 +08:00
Chengsong Zhang 287b30afc3 fix more bugs 2023-07-25 00:07:19 +08:00
Chengsong Zhang 35aee90458 add option of model path 2023-07-24 23:33:09 +08:00
Chengsong Zhang 08a40868f3 fix insertion problem 2023-07-24 22:49:35 +08:00
Chengsong Zhang 767d130eab simplify UI 2023-07-20 12:06:20 +08:00
Chengsong Zhang beda998d6a loop number adjust instruction and edit readme 2023-07-20 12:01:08 +08:00
Chengsong Zhang aba580331c loop number adjust instruction 2023-07-20 11:56:20 +08:00
Chengsong Zhang 1a37e5cb31 finish v1.1.0 2023-07-20 11:33:29 +08:00
Chengsong Zhang 4bbeccf33b remove auto download 2023-07-20 10:26:43 +08:00
1 57fa659912 Created UI number field which affect on number of GIF loops. 2023-07-20 01:04:32 +01:00
1 73e1c4295e Changed calculation of video duration. Changed log message 2023-07-20 00:58:35 +01:00
Chengsong Zhang e8bcbb0d47 add auto download info 2023-07-18 11:01:12 +08:00
Chengsong Zhang e1e37654bf finish 2023-07-18 10:58:59 +08:00