{"record":{"id":"b052823c172744fd","repo":"Comfy-Org/ComfyUI","slug":"there-is-nothing-to-do-both-upscaling-and-interpo","errorCode":null,"errorMessage":"There is nothing to do: both upscaling and interpolation are disabled.","messagePattern":"There is nothing to do: both upscaling and interpolation are disabled\\.","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"comfy_api_nodes/nodes_topaz.py","lineNumber":689,"sourceCode":"\n    @classmethod\n    async def execute(\n        cls,\n        video: Input.Video,\n        upscaler_enabled: bool,\n        upscaler_model: str,\n        upscaler_resolution: str,\n        upscaler_creativity: str = \"low\",\n        interpolation_enabled: bool = False,\n        interpolation_model: str = \"apo-8\",\n        interpolation_slowmo: int = 1,\n        interpolation_frame_rate: int = 60,\n        interpolation_duplicate: bool = False,\n        interpolation_duplicate_threshold: float = 0.01,\n        dynamic_compression_level: str = \"Low\",\n    ) -> IO.NodeOutput:\n        if upscaler_enabled is False and interpolation_enabled is False:\n            raise ValueError(\"There is nothing to do: both upscaling and interpolation are disabled.\")\n        validate_container_format_is_mp4(video)\n        src_width, src_height = video.get_dimensions()\n        src_frame_rate = int(video.get_frame_rate())\n        duration_sec = video.get_duration()\n        src_video_stream = video.get_stream_source()\n        target_width = src_width\n        target_height = src_height\n        target_frame_rate = src_frame_rate\n        filters = []\n        if upscaler_enabled:\n            if \"1080p\" in upscaler_resolution:\n                target_pixel_p = 1080\n                max_long_side = 1920\n            else:\n                target_pixel_p = 2160\n                max_long_side = 3840\n            ar = src_width / src_height\n            if src_width >= src_height:","sourceCodeStart":671,"sourceCodeEnd":707,"githubUrl":"https://github.com/Comfy-Org/ComfyUI/blob/1c6d8d45b3693bfbb32385b410d813a7fd6be216/comfy_api_nodes/nodes_topaz.py#L671-L707","documentation":"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.","triggerScenarios":"Invoking the video enhance execute with both boolean toggles set to False (upscaler disabled and interpolation disabled).","commonSituations":"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.","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)."],"exampleFix":"// before: both disabled -> ValueError\nvideo = topaz_video_enhance(video=v, upscaler_enabled=False, interpolation_enabled=False)\n// after: enable interpolation\nvideo = topaz_video_enhance(video=v, upscaler_enabled=False, interpolation_enabled=True)","handlingStrategy":"validation","validationCode":"if not upscaler_enabled and not interpolation_enabled:\n    raise ValueError(\"enable at least one operation\")  # fail before upload/billing\n# or skip the node entirely in the workflow graph","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Gate the node's execution in the workflow (bypass it) when both toggles would be off.","Audit presets after wiring conditionals into boolean toggles."],"tags":["topaz","video","validation","api-nodes"],"backgroundTag":null,"analyzedSha":"1c6d8d45b3693bfbb32385b410d813a7fd6be216","analyzedAt":"2026-08-14T19:37:18.893Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}