Skip to content

Instantly share code, notes, and snippets.

@ryanallen
Forked from kabachuha/deforum_settings.txt
Created April 22, 2023 01:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanallen/c1f51b872cd64c9707453b5249e3a60a to your computer and use it in GitHub Desktop.
Save ryanallen/c1f51b872cd64c9707453b5249e3a60a to your computer and use it in GitHub Desktop.
Deforum insertion + interpolation
{
"W": 512,
"H": 512,
"restore_faces": false,
"tiling": false,
"enable_hr": false,
"firstphase_width": 0,
"firstphase_height": 0,
"seed": 2329578955,
"sampler": "Euler a",
"seed_enable_extras": false,
"subseed": -1,
"subseed_strength": 0,
"seed_resize_from_w": 0,
"seed_resize_from_h": 0,
"steps": 25,
"ddim_eta": 0.0,
"n_batch": 1,
"make_grid": false,
"grid_rows": 1,
"save_settings": true,
"save_samples": true,
"display_samples": false,
"save_sample_per_step": false,
"show_sample_per_step": false,
"override_these_with_webui": false,
"batch_name": "Deforum",
"filename_format": "{timestring}_{index}_{prompt}.png",
"seed_behavior": "schedule",
"seed_iter_N": 1,
"use_init": true,
"from_img2img_instead_of_link": false,
"strength_0_no_init": false,
"strength": 0.9,
"init_image": "https://user-images.githubusercontent.com/14872007/195867706-d067cdc6-28cd-450b-a61e-55e25bc67010.png",
"use_mask": false,
"use_alpha_as_mask": false,
"invert_mask": false,
"overlay_mask": true,
"mask_file": "https://www.filterforge.com/wiki/images/archive/b/b7/20080927223728%21Polygonal_gradient_thumb.jpg",
"mask_contrast_adjust": 1.0,
"mask_brightness_adjust": 1.0,
"mask_overlay_blur": 5.0,
"fill": 1,
"full_res_mask": true,
"full_res_mask_padding": 4,
"reroll_blank_frames": "reroll",
"precision": "autocast",
"scale": 7,
"C": 4,
"f": 8,
"prompt": "",
"timestring": "",
"init_latent": null,
"init_sample": null,
"init_c": null,
"noise_mask": null,
"seed_internal": 0,
"prompts": {
"0": "close up of anime 1girl flandre scarlet --neg sketch by bad-artist, dublicated, cropped, no face, signature, text, disfugured, deformed, poorly drawn, low quality eyes, border, comic, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, watermark, username, blurry, artist name, nsfw",
"40": "close up of anime 1girl kirisame marisa in witch hat --neg sketch by bad-artist, dublicated, cropped, no face, signature, text, disfugured, deformed, poorly drawn, low quality eyes, border, comic, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, watermark, username, blurry, artist name, nsfw",
"80": "close up of anime 1girl flandre scarlet --neg sketch by bad-artist, dublicated, cropped, no face, signature, text, disfugured, deformed, poorly drawn, low quality eyes, border, comic, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, watermark, username, blurry, artist name, nsfw"
},
"animation_mode": "2D",
"max_frames": 101,
"border": "replicate",
"angle": "0:(0)",
"zoom": "0:(1.02+0.02*sin(2*3.14*t/20))",
"translation_x": "0:(0)",
"translation_y": "0:(0)",
"translation_z": "0:(10)",
"rotation_3d_x": "0:(0)",
"rotation_3d_y": "0:(0)",
"rotation_3d_z": "0:(0)",
"flip_2d_perspective": false,
"perspective_flip_theta": "0:(0)",
"perspective_flip_phi": "0:(t%15)",
"perspective_flip_gamma": "0:(0)",
"perspective_flip_fv": "0:(53)",
"noise_schedule": "0: (0.08)",
"strength_schedule": "0: (0.95), 2: (0.65), 38: (0.65), 40: (0.65), 41: (0.95), 44: (0.95), 46: (0.65), 78: (0.65), 81: (0.95), 90: (0.65), 100: (0.85)",
"contrast_schedule": "0: (1.0)",
"cfg_scale_schedule": "0: (7)",
"enable_steps_scheduling": false,
"steps_schedule": "0: (25)",
"fov_schedule": "0: (40)",
"near_schedule": "0: (200)",
"far_schedule": "0: (10000)",
"seed_schedule": "0:(300), 50:(400), 100:(300)",
"enable_sampler_scheduling": false,
"sampler_schedule": "0: (\"Euler a\")",
"mask_schedule": "0: (\"!({everywhere}^({init_mask}|{video_mask}) ) \")",
"use_noise_mask": false,
"noise_mask_schedule": "0: (\"!({everywhere}^({init_mask}|{video_mask}) ) \")",
"enable_checkpoint_scheduling": true,
"checkpoint_schedule": "0: (\"anything-v4.5.ckpt\")",
"kernel_schedule": "0: (5)",
"sigma_schedule": "0: (1.0)",
"amount_schedule": "0: (0.1)",
"threshold_schedule": "0: (0.0)",
"histogram_matching": true,
"color_coherence": "Match Frame 0 LAB",
"color_coherence_video_every_N_frames": 1.0,
"diffusion_cadence": 1.0,
"noise_type": "perlin",
"perlin_w": 8.0,
"perlin_h": 8.0,
"perlin_octaves": 4,
"perlin_persistence": 0.5,
"use_depth_warping": true,
"midas_weight": 0.3,
"near_plane": 200.0,
"far_plane": 10000.0,
"fov": 40.0,
"padding_mode": "border",
"sampling_mode": "bicubic",
"save_depth_maps": false,
"video_init_path": "/content/video_in.mp4",
"extract_nth_frame": 1,
"extract_from_frame": 0,
"extract_to_frame": -1,
"overwrite_extracted_frames": false,
"use_mask_video": false,
"video_mask_path": "/content/video_in.mp4",
"interpolate_key_frames": false,
"interpolate_x_frames": 4,
"resume_from_timestring": false,
"resume_timestring": "20220829210106",
"hybrid_generate_inputframes": false,
"hybrid_generate_human_masks": "None",
"hybrid_use_first_frame_as_init_image": false,
"hybrid_motion": "None",
"hybrid_flow_method": "Farneback",
"hybrid_composite": false,
"hybrid_comp_mask_type": "None",
"hybrid_comp_mask_inverse": false,
"hybrid_comp_mask_equalize": "None",
"hybrid_comp_mask_auto_contrast": false,
"hybrid_comp_save_extra_frames": false,
"hybrid_comp_alpha_schedule": "0:(1)",
"hybrid_comp_mask_blend_alpha_schedule": "0:(0.5)",
"hybrid_comp_mask_contrast_schedule": "0:(1)",
"hybrid_comp_mask_auto_contrast_cutoff_high_schedule": "0:(100)",
"hybrid_comp_mask_auto_contrast_cutoff_low_schedule": "0:(0)",
"parseq_manifest": "",
"parseq_use_deltas": true,
"use_looper": true,
"init_images": "{\n \"0\": \"https://avatars.githubusercontent.com/u/3753211?v=4\",\n \"40\": \"https://user-images.githubusercontent.com/14872007/195867706-d067cdc6-28cd-450b-a61e-55e25bc67010.png\",\n \"80\": \"https://avatars.githubusercontent.com/u/3753211?v=4\"\n}",
"image_strength_schedule": "0:(.85)",
"blendFactorMax": "0:(.35)",
"blendFactorSlope": "0:(.25)",
"tweening_frames_schedule": "0:(20)",
"color_correction_factor": "0:(.075)"
}
{
"skip_video_for_run_all": false,
"fps": 12.0,
"output_format": "FFMPEG mp4",
"ffmpeg_location": "ffmpegdir/ffmpeg",
"ffmpeg_crf": 17.0,
"ffmpeg_preset": "veryslow",
"add_soundtrack": "File",
"soundtrack_path": "dark-3.ogg",
"use_manual_settings": false,
"render_steps": false,
"max_video_frames": 200.0,
"path_name_modifier": "x0_pred",
"image_path": "/content/drive/MyDrive/AI/StableDiffusion/2022-09/20220903000939_%05d.png",
"mp4_path": "/content/drive/MyDrive/AI/StableDiffusion/content/drive/MyDrive/AI/StableDiffusion/2022-09/kabachuha/2022-09/20220903000939.mp4",
"store_frames_in_ram": false,
"frame_interpolation_engine": "RIFE v4.6",
"frame_interpolation_x_amount": "x8",
"frame_interpolation_slow_mo_amount": "x4",
"frame_interpolation_keep_imgs": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment