Comfy-Org/ComfyUI · error · ValueError
There is nothing to do: both upscaling and interpolation are
Error message
There is nothing to do: both upscaling and interpolation are disabled.
What it means
The Topaz Video Enhance node requires at least one operation: if upscaler_enabled is False AND interpolation_enabled is False it raises ValueError('There is nothing to do...') before touching the video. Running the node would upload and bill a job that changes nothing, so it refuses.
Source
Thrown at comfy_api_nodes/nodes_topaz.py:689
@classmethod
async def execute(
cls,
video: Input.Video,
upscaler_enabled: bool,
upscaler_model: str,
upscaler_resolution: str,
upscaler_creativity: str = "low",
interpolation_enabled: bool = False,
interpolation_model: str = "apo-8",
interpolation_slowmo: int = 1,
interpolation_frame_rate: int = 60,
interpolation_duplicate: bool = False,
interpolation_duplicate_threshold: float = 0.01,
dynamic_compression_level: str = "Low",
) -> IO.NodeOutput:
if upscaler_enabled is False and interpolation_enabled is False:
raise ValueError("There is nothing to do: both upscaling and interpolation are disabled.")
validate_container_format_is_mp4(video)
src_width, src_height = video.get_dimensions()
src_frame_rate = int(video.get_frame_rate())
duration_sec = video.get_duration()
src_video_stream = video.get_stream_source()
target_width = src_width
target_height = src_height
target_frame_rate = src_frame_rate
filters = []
if upscaler_enabled:
if "1080p" in upscaler_resolution:
target_pixel_p = 1080
max_long_side = 1920
else:
target_pixel_p = 2160
max_long_side = 3840
ar = src_width / src_height
if src_width >= src_height:View on GitHub (pinned to 1c6d8d45b3)
Solutions
- Enable at least one of upscaler_enabled or interpolation_enabled.
- If you intended a passthrough, remove the node from the workflow instead of running it with both off.
- Check that the boolean widget values are actually wired (a disconnected/unevaluated input can arrive as False).
Example fix
// before: both disabled -> ValueError video = topaz_video_enhance(video=v, upscaler_enabled=False, interpolation_enabled=False) // after: enable interpolation video = topaz_video_enhance(video=v, upscaler_enabled=False, interpolation_enabled=True)
Defensive patterns
Strategy: validation
Validate before calling
if not upscaler_enabled and not interpolation_enabled:
raise ValueError("enable at least one operation") # fail before upload/billing
# or skip the node entirely in the workflow graph Prevention
- Gate the node's execution in the workflow (bypass it) when both toggles would be off.
- Audit presets after wiring conditionals into boolean toggles.
When it happens
Trigger: Invoking the video enhance execute with both boolean toggles set to False (upscaler disabled and interpolation disabled).
Common situations: Workflows where a toggle was wired to a conditional that defaults to False; users testing connectivity with everything off; stale presets saved with both switches off.
Related errors
- Reference video {i} is too short: {dur:.1f}s. Minimum durati
- Total reference video duration is {total_video_duration:.1f}
- The maximum number of reference images allowed is 6.
- The maximum number of reference images is 7.
- Only one input image is supported.
AI-assisted analysis of Comfy-Org/ComfyUI@1c6d8d45b3 (2026-08-14).
Data as JSON: /api/errors/b052823c172744fd.
Report an issue: GitHub.