Commit Graph

22 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
zappityzap ba883cf799
Add WebM output (#301)
* add webm output

* update README

* save metadata
2023-11-10 22:53:43 -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 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 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 b4a84dbe47
not batch cond uncond (#162)
* start to support prompt travel

* these changes might be aborted

* maybe batch cond uncond has been supported

* forgot to modify one

* readme

* remove unused import

* remove another import
2023-10-01 13:42:14 -05:00
FluttyProger 37e4bd266d
Fix error in console when api call without animatediff (#156) 2023-09-30 14:43:09 -05:00
zappityzap ad80d5c9b2
fix fps when source video is cleared (#160) 2023-09-30 13:57:40 -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
zappityzap dee63eee74
Bug, move video source fps detection to ui (#152)
* move video source fps detection to ui

* remove extra newline
2023-09-28 22:33:40 -05:00
Jack Smith 8fb74bef72
Add Tooltips and Element ID's (#147)
* Add Tooltips and Element ID's

I added tooltips to each relevant location in webui, to help explain each feature without needing to open the github page. I did not know what to put in the tooltip for stride, or the options in img2img.

I also added element id's so that extensions like Config-Presets can latch on and control each configurable option.

* Added ID prefix to differentiate txt vs img2img

Added an element prefix that will change dynamically depending on the active tab.

* Made requested changes

Put each new entry on new line, fixed element id prefix and call method.
2023-09-28 18:11:06 -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
zappityzap 737581d58b
Feature deforum FILM interpolation (#128)
* wip

* finish implementation

* oops, remove old comment

* fix logger error

* add ui, use _save function

* refactor into _interp function

---------

Co-authored-by: zappityzap <you@example.com>
2023-09-26 23:40:30 -05:00
zappityzap 99bcb53d6b
use AnimateDiffProcess properties to initialize UI (#117) 2023-09-23 14:56:51 -05:00
Chengsong Zhang 81f11fad90
fix last frame (#116) 2023-09-22 23:19:44 -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 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