ComfyUI Node
Discord Send & Save Video π¬
Saves image sequences as videos with advanced options and can send them to Discord via webhook integration.
Discord Send & Save Video π¬
- images
- audio
- video_path
βfilename_prefixComfyUI-VideoβΊ
βoverwrite_lastfalseβΊ
βformatvideo/h264-mp4βΊ
βframe_rate8.0βΊ
βquality85βΊ
βloop_count0βΊ
βlosslessfalseβΊ
βpingpongfalseβΊ
βsave_outputtrueβΊ
βinclude_video_infotrueβΊ
βadd_datetrueβΊ
βadd_timetrueβΊ
βadd_dimensionsfalseβΊ
βsend_to_discordfalseβΊ
βwebhook_urlβΊ
βdiscord_messageβΊ
βinclude_prompts_in_messagefalseβΊ
βsend_workflow_jsonfalseβΊ
βsave_cdn_urlsfalseβΊ
βgithub_cdn_updatefalseβΊ
βgithub_repoβΊ
βgithub_tokenβΊ
βgithub_file_pathcdn_urls.mdβΊ
Categoryvideo/output
Inputs (25)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | The image sequence to save as video and/or send to Discord. | |
| filename_prefix | STRING | ComfyUI-Video | The prefix for the saved files. |
| overwrite_last | BOOLEAN | false | β οΈ CAUTION: If enabled, new saves will REPLACE the previous file with the same name. Useful for iterative testing, dangerous for batch production. Note: Disabling 'add_time' to overwrite files will cause single-frame playback issues on Discord. |
| formatopt | COMBO | video/h264-mp4 | The video format to save in. Options include: # Image formats: - image/gif: Standard GIF format (NO AUDIO support) - image/webp: WebP format (better quality than GIF, NO AUDIO support) - video/gif: Video format GIF (higher frame rate support, NO AUDIO support) # Standard video formats: - video/mp4: Standard MP4 format with good compatibility (supports audio) - video/h264-mp4: High-quality MP4 with H264 codec (supports audio) - video/h265-mp4: MP4 with H265/HEVC codec (better compression, supports audio) - video/webm: Standard WebM format (supports audio) - video/vp9-webm: WebM with VP9 codec (higher quality, supports audio) # Professional formats: - video/prores: Apple ProRes (professional quality, supports audio when saving locally but NO AUDIO when sending to Discord, requires QuickTime or specialized player to view on Windows) |
| frame_rateopt | FLOAT | 8.00.1β120 | Frames per second for the output video. Values below 1 will make each image stay on screen longer (e.g., 0.5 = 2 seconds per frame). |
| qualityopt | INT | 851β100 | Quality setting for video compression (1-100). Higher is better quality but larger file size. |
| loop_countopt | INT | 00β100 | Number of times to loop the video (0 = infinite loop, only applies to GIF format). |
| losslessopt | BOOLEAN | false | If enabled, will use lossless compression for supported formats. This option may be ignored for formats that don't support lossless encoding. |
| pingpongopt | BOOLEAN | false | If enabled, video will play forward then backward (ping-pong effect). |
| save_outputopt | BOOLEAN | true | Whether to save videos to disk. When disabled, videos will only be previewed in the UI. |
| audioopt | AUDIO | Optional audio to embed in the video. | |
| include_video_infoopt | BOOLEAN | true | Whether to include the video information (frame rate, format) in the Discord message. π‘ TIP: Disable this instead of 'add_time' if you want cleaner filenames but need to avoid the Discord single-frame bug. |
| add_dateopt | BOOLEAN | true | Add date (YYYY-MM-DD) to the filename. |
| add_timeopt | BOOLEAN | true | Add time (HH-MM-SS) to the filename. β οΈ CRITICAL: Keep enabled for Discord videos to prevent single-frame playback issues! |
| add_dimensionsopt | BOOLEAN | false | Add dimensions (WxH) to the filename. |
| send_to_discordopt | BOOLEAN | false | If enabled, will send the media to Discord via webhook. |
| webhook_urlopt | STRING | Discord webhook URL. Get this from Discord server settings > Integrations > Webhooks. | |
| discord_messageopt | STRING | Message to include with the media when sending to Discord. | |
| include_prompts_in_messageopt | BOOLEAN | false | If enabled, will include the generation prompts in the Discord message. |
| send_workflow_jsonopt | BOOLEAN | false | If enabled, will send the workflow JSON alongside the media. |
| save_cdn_urlsopt | BOOLEAN | false | If enabled, will extract and save Discord CDN URLs. |
| github_cdn_updateopt | BOOLEAN | false | If enabled, will update a GitHub repository with the CDN URLs. |
| github_repoopt | STRING | GitHub repository in format 'username/repo'. | |
| github_tokenopt | STRING | GitHub Personal Access Token (PAT). Generate at: Settings > Developer settings > Tokens. β οΈ Requires 'repo' scope (or 'public_repo') to upload files. | |
| github_file_pathopt | STRING | cdn_urls.md | Path to the file in the GitHub repository to update. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| video_path | STRING | β |