Bug: wrong variable name in scripts/sampling/simple_video_sample.py

Author: yyuxiaowangCreated Feb 5, 2026Updated Feb 5, 2026

File: scripts/sampling/simple_video_sample.py

I found a variable name mismatch at line 171.

Current code: input_image = input_image.resize((width, height))

Expected: image = image.resize((width, height))

Description: At line 171, input_image is resized, but input_image should be defined at line 175. The resize operation should be applied to image.

Source: Stability-AI/generative-models