diff --git a/comfy/cli_args.py b/comfy/cli_args.py index d0f706432..68b926866 100644 --- a/comfy/cli_args.py +++ b/comfy/cli_args.py @@ -91,7 +91,7 @@ class LatentPreviewMethod(enum.Enum): TAESD = "taesd" parser.add_argument("--preview-method", type=LatentPreviewMethod, default=LatentPreviewMethod.NoPreviews, help="Default preview method for sampler nodes.", action=EnumAction) - +parser.add_argument("--latent-preview-api", action="store_true", help="Converts latent previews to base64 to be sent through the websocket json payload under message['type'] == 'latent_preview'") parser.add_argument("--preview-size", type=int, default=512, help="Sets the maximum preview size for sampler nodes.") cache_group = parser.add_mutually_exclusive_group()