may be breaking change idk
ComfyUI venice.ai Flux/SDXL/LLM API Nodes
An unofficial custom node implementation for ComfyUI that integrates with venice.ai's Generative AI services such as Image, Text and TTS Generation models (as well as Upscale and Enhance). This project is adapted from ComfyUI-FLUX-TOGETHER-API to work with the venice.ai API.
Note: TTS is in Beta per Venice (as of 15th June 2025). The node for it "Generate Speech (Venice)" is set to BETA/Experimental too. To be able to find it with node search you have to enable "Show experimental nodes in search" setting in ComfyUI.
Disclaimer: I originally made this on a whim because someone wanted something similar to Together.AI custom nodes but have them use venice instead. I'm also not affiliated with Venice.AI. Idk is this good enough for a disclaimer or something
Nodes: (Text gen node is missing but will be updated soon)

Image and Text models (as of 15th June 2025 | for Speech gen only tts-kokoro is available)

# todo: inpainting Deprecated by venice, new thing is coming for it at some point
todo: actual log, maybe separate logging file for less clutter from comfyui stuff, maybe, maybe... eeeee
todo: LLM characters list
todo: use variants api (currently in beta) | idk what happened to this
Todo: chat history/memory/context for LLM
todo
- Some Validation on queue for API limits like prompt max length or width/height
- these are different for different models so this isnt planned to be implemented unless the api exposes those limits somehow
- i'd have an error thrown before it gets sent to api about some value being too high or too low (though api should send error back for now either way)
- maybe the api already exposes those limits, the steps limit is afaik at least, need to look into it
- these are different for different models so this isnt planned to be implemented unless the api exposes those limits somehow
Below ReadMe text is slightly altered from original Flux Together API readme, it was not reworked or anything so its likely not correct or up to date
Features
- Direct integration with venice.ai's Flux and SDXL models
- Support for flux-dev, flux-dev-uncensored, fluently-xl and pony-realism (status: 25th Jan 2025)
- Support for all LLMs venice.ai offers (status: 25th Jan 2025)
- Configurable parameters including steps, guidance scale, and dimensions
- including fake-ish batch size (just 2 requests after one another returned as 1 output)
- Negative prompt support (ignored when Flux is selected)
- Error handling i guess
Installation - these instructions are a mess
-
Before proceeding, check if you can find these nodes through ComfyUI-Manager interface rather than following the instructions.
-
Clone this repository into your ComfyUI custom_nodes directory:
cd ComfyUI/custom_nodes
git clone https://github.com/DraconicDragon/ComfyUI-Venice-API.git
- Install the required dependencies: (this might be done by comfyui automatically on restart already?)
pip install -r requirements.txt
OR From the Comfyui Folder (this one is usually preferred if you have portable edition)
./python_embeded\python.exe -m pip install -r ComfyUI\custom_nodes\ComfyUI-Venice-API\requirements.txt
outdated, configure in node, in future this will likely be in comfy settings
3. Edit the config.ini file in the root directory and add venice.ai API key:
[API]
API_KEY = your_api_key_here
BASE_URL = https://api.venice.ai/api/v1
Configuration
- Get your API key from venice.ai
Add your API key to the configuration fileyeah no just add it in the nodes
Usage
- Start ComfyUI
- Find the "Generate Image (Venice)" in the node browser (double-click empty space in ComfyUI) 2.1. or the Generate Text (Venice) node
- Configure the parameters:
- Prompt: Your image generation prompt
- Negative Prompt: Elements to avoid in the generation
- Steps: Generation steps (1-30)
- Width: Image width (512-2048)
- Height: Image height (512-2048)
- Seed: Generation seed
- CFG: Guidance scale (0.1-15.0)
For detailed usage instructions, see USAGE.md
Parameters
| Parameter | Type | Range | Default | Description |
|---|---|---|---|---|
| prompt | string | - | "" | Main generation prompt |
| negative_prompt | string | - | "" | Elements to avoid |
| steps | integer | 1-30 | 20 | Number of generation steps |
| width | integer | 512-1280? | 1024 | Image width |
| height | integer | 512-1280? | 1024 | Image height |
| seed | integer | 0-MAX_INT | 0 | Generation seed |
| cfg | float | 0.1-15.0 | 3.5 | Guidance scale |
License
MIT License - see LICENSE file for details.
Credits
- This project is adapted from ComfyUI-FLUX-TOGETHER-API
- venice.ai for providing the Flux/SDXL API
- ComfyUI-FLUX-TOGETHER-API for their work
- ComfyUI team for the amazing framework
Author
Created by BZcreativ
venice.ai rewrite by DraconicDragon
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Example
todo
i never installed these nodes lol (i did now)