A custom node implementation for ComfyUI that integrates with venice.ai's Flux and SDXL image generation models. This project is adapted from a/ComfyUI-FLUX-TOGETHER-API to work with the venice.ai API.
An unofficial custom node implementation for ComfyUI that integrates with venice.ai's Flux and SDXL image generation models (and upscale + text gen). This project is adapted from ComfyUI-FLUX-TOGETHER-API to work with the venice.ai API.
Disclaimer: I just made this on a whim because someone wanted something similar to Together.AI custom nodes but have them use venice instead and also, I don't have access to any API keys for any of the mentioned services. i guess it should work, sometimes?
Implemented stuff from venice api:
Missing-ish Stuff from venice api:
A way to update hardcoded things like:
Some Validation on queue for API limits like prompt max length or width/height
If there's no "untested" on any of the points it means it should work but there's not been extensive testing on it
cd ComfyUI/custom_nodes
git clone https://github.com/DraconicDragon/ComfyUI-Venice-API.git
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
For detailed usage instructions, see USAGE.md
| 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 |
MIT License - see LICENSE file for details.
Created by BZcreativ
venice.ai rewrite by DraconicDragon
Contributions are welcome! Please feel free to submit a Pull Request.
todo
i never installed these nodes lol (i did now)