requests>=2.31.0 Pillow>=10.0.0 numpy>=1.24.0 configparser>=5.3.0 together >=1.3.3 tenacity >=9.0.0
A custom node implementation for ComfyUI that integrates with Together.ai’s FLUX image generation models. This project is inspired by and adapted from ComfyUI-FLUX-BFL-API to work with the Together.ai API.
cd ComfyUI/custom_nodes
git clone https://github.com/BZcreativ/ComfyUI-FLUX-TOGETHER-API.git
pip install -r requirements.txt
OR From the Comfyui Folder
./python_embeded\python.exe -m pip install -r ComfyUI\custom_nodes\ComfyUI-FLUX-TOGETHER-API\requirements.txt
config.ini file in the root directory with your Together.ai API key:[API]
together_api_key = your_api_key_here
config.ini.example to config.iniFor 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-100 | 20 | Number of generation steps |
| width | integer | 512-2048 | 1024 | Image width |
| height | integer | 512-2048 | 1024 | Image height |
| seed | integer | 0-MAX_INT | 0 | Generation seed |
| cfg | float | 0.0-20.0 | 7.0 | Guidance scale |
MIT License – see LICENSE file for details.
Created by BZcreativ
Contributions are welcome! Please feel free to submit a Pull Request.