Project Files
src / services / defaultParamsDrawThingsImage2Video.ts
import { ImageGenerationParams, drawthingsLimits } from "../core-bundle.mjs";
// Default parameters for image-to-video generation (Draw Things engine payload)
// Based on defaultParamsDrawThingsImg2Img.ts with LTX-2 video model values.
// Backend-specific i2i limits and normalization policy for Draw Things
export { drawthingsLimits };
export const defaultParamsImage2Video: ImageGenerationParams = {
aesthetic_score: 6,
batch_count: 1,
batch_size: 1,
causal_inference: 0,
causal_inference_pad: 0,
cfg_zero_init_steps: 0,
cfg_zero_star: false,
clip_l_text: "",
clip_skip: 1,
clip_weight: 1,
compression_artifacts: "h264",
compression_artifacts_quality: 43.100000000000001,
controls: [],
crop_left: 0,
crop_top: 0,
// decoding_tile_height: 640,
// decoding_tile_overlap: 128,
// decoding_tile_width: 640,
// diffusion_tile_height: 1024,
// diffusion_tile_overlap: 128,
// diffusion_tile_width: 1024,
fps: 25,
guidance_embed: 3.5,
guidance_scale: 1,
guiding_frame_noise: 0.02,
// Ensure size keys exist for filtering; service overwrites with actual PNG size
width: 768,
height: 1024,
hires_fix: false,
hires_fix_height: 768,
hires_fix_strength: 0.7,
// hires_fix_width: 576,
image_guidance: 1.5,
image_prior_steps: 5,
loras: [],
mask_blur: 1.5,
mask_blur_outset: 0,
model: "ltx_2.3_22b_distilled_q6p.ckpt",
motion_scale: 127,
negative_aesthetic_score: 2.5,
// negative_original_height: 512,
// negative_original_width: 512,
negative_prompt: "",
negative_prompt_for_image_prior: true,
num_frames: 65,
open_clip_g_text: "",
// original_height: 512,
// original_width: 512,
preserve_original_after_inpaint: true,
prompt: "",
refiner_model: null,
refiner_start: 0.85,
resolution_dependent_shift: true,
sampler: "DDIM Trailing",
seed: 175308301,
seed_mode: "Scale Alike",
separate_clip_l: false,
separate_open_clip_g: false,
separate_t5: false,
sharpness: 0,
shift: 7,
speed_up_with_guidance_embed: true,
stage_2_guidance: 1,
stage_2_shift: 1,
start_frame_guidance: 1,
steps: 8,
stochastic_sampling_gamma: 0.3,
strength: 1,
t5_text: "",
t5_text_encoder_decoding: true,
// target_height: 512,
// target_width: 512,
tea_cache: false,
tea_cache_end: 100,
tea_cache_max_skip_steps: 3,
tea_cache_start: 5,
tea_cache_threshold: 0.06,
tiled_decoding: false,
tiled_diffusion: false,
upscaler: null,
upscaler_scale: 0,
zero_negative_prompt: false,
};