ComfyUI Image Prompt

tool

A tool that enhances an image by converting it to a base64 string and using it as a prompt in a ComfyUI Workflow. Requires use of workflow loading image via base64 node https://github.com/glowcone/comfyui-base64-to-image and setting the prompt in Open-webui Image Generation settings to this node AND relabeling the input to images.

sgtstroopwafel
@sgtstroopwafel
·
2 years ago
228
0
1.8K
Created Mar 11, 2025
comfyui_image_prompt_.py
Python · 463 lines
"""
title: Img2Img Comfy Tool
Author: Patrick Williams
author_url: https://reticulated.net
git_url: https://github.com/username/comfyui-workflow-runner.git
description: Submits an img2img node-based ComfyUI workflow over HTTP, then listens on the WebSocket only to know when generation completes. Then retrieves final images from /history and optionally reorders them.
required_open_webui_version: 0.4.0
requirements: requests, websocket-client
version: 1.3.1
license: MIT
"""

A tool that enhances an image by converting it to a base64 string and using it as a prompt in a ComfyUI Workflow. Requires use of workflow loading image via base64 node https://github.com/glowcone/comfyui-base64-to-image and setting the prompt in Open-webui Image Generation settings to this node AND relabeling the input to images.


0