XYZ Plot for video outputs in Automatic1111, forked from the official XYZ Plot in version 1.7.0.
Designed to work with sd-webui-animatediff
- Inputs: GIF, MP4, WebM
- Output: MP4
Right-click > Loop to compare the outputs more easily.
Motion modules (mm_sd15 v1, v2 v3)
Samplers (Euler, DPM++ 2M Karras, DPM++ 2M SDE)
Checkpoints (Photon v10, ICBINP v10, zootvision v50)
Install from Git repo URL. Note that captions may require modifying the ImageMagick policy.xml to remove or comment out this line:
<!-- <policy domain="path" rights="none" pattern="@*" /> -->
- Enable AnimateDiff
- Select MP4 output format in AnimateDiff
- Select X/Y/Z video plot script from the Scripts dropdown list
- Set X/Y/Z parameters
- Generate
Outputs are stored in
txt2img-grids
.
PRs welcome!
- Doesn't if check AnimateDiff output format is set to MP4 before generating grid, so grid generation will fail after generating all the cells. Remember to set AnimateDiff output to MP4!
- Adding captions to video grid requires modifying ImageMagick configuration.
- Config Presets not working with img2img.
- Z-axis grids reuse the XY grid video, compressing the video an additional time.
- Automatic1111: Yes, v1.7.0+
- sd-webui-animatediff: Yes
- Config Presets: Yes, except for multi-select options like checkpoint or sampler.
Custom fields for Config Presets
# XYZ Video txt2img
script_txt2img_xyz_video_plot_x_type
script_txt2img_xyz_video_plot_y_type
script_txt2img_xyz_video_plot_z_type
script_txt2img_xyz_video_plot_x_values
script_txt2img_xyz_video_plot_y_values
script_txt2img_xyz_video_plot_z_values
script_txt2img_xyz_video_plot_draw_caption
script_txt2img_xyz_video_plot_no_fixed_seeds
script_txt2img_xyz_video_plot_include_lone_videos
script_txt2img_xyz_video_plot_include_sub_grids
script_txt2img_xyz_video_plot_margin_size
script_txt2img_xyz_video_plot_csv_mode
# XYZ Video txt2img
script_img2img_xyz_video_plot_x_type
script_img2img_xyz_video_plot_y_type
script_img2img_xyz_video_plot_z_type
script_img2img_xyz_video_plot_x_values
script_img2img_xyz_video_plot_y_values
script_img2img_xyz_video_plot_z_values
script_img2img_xyz_video_plot_draw_caption
script_img2img_xyz_video_plot_no_fixed_seeds
script_img2img_xyz_video_plot_include_lone_videos
script_img2img_xyz_video_plot_include_sub_grids
script_img2img_xyz_video_plot_margin_size
script_img2img_xyz_video_plot_csv_mode
- v0.0.1 - First release