Sign In

Flux LLM prompt helper

53
1.1k
30
Updated: Apr 30, 2025
toolcomfyllm
Type
Workflows
Stats
77
0
Reviews
Published
Apr 30, 2025
Base Model
Flux.1 D
Hash
AutoV2
A2B1095289
default creator card background decoration
Style Fusion Contest Participant
TikFesku's Avatar
TikFesku
The FLUX.1 [dev] Model is licensed by Black Forest Labs. Inc. under the FLUX.1 [dev] Non-Commercial License. Copyright Black Forest Labs. Inc.
IN NO EVENT SHALL BLACK FOREST LABS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH USE OF THIS MODEL.

This workflow combine power of LLM text models managed by Ollama with Flux image generation. It takes image or text as input, improve prompt or change it according to instructions.

Note: To refresh LLM models list you need to reload browser window by pressing F5 key.

Since 1.3 you need to switch blocks on and off and manually copy prompt text between blocks.

Information:

First of all you need to download and install Ollama from

https://ollama.com/

In current workfow we use 2 LLM models:

Img2Img use llava for image tagging and Mistral for manipulations

Combined 1.3 use llava and phi4

Txt2Img 1.2 use only phi4

Txt2Img 1.1 use only Mistral

Before running Comfy you need to download models:

open command prompt from Ollama folder (with ollama.exe) and say

ollama pull llava:7b (if you have 8-12 Vram)

or

ollama pull llava:13b (for 16+ Vram)

and wait for model download and say For img2img and Txt2Img v.1.1

ollama pull mistral-small

For Txt2Img v.1.2 and combined 1.3 use

ollama pull phi4

After download finished start ollama app.exe, wait for tray icon, start Comfy and install missing custom nodes.

If not set, select llava in Ollama Vision node and mistral in Translate and Ollama Generate Advance nodes.

If you plan to give IMG2IMG instructions in other language turn on and use Translate node.

TXT2IMG take as prompt any language

====================

For Redux IP Tools version you need to download 2 models:

Clip Vision -> models\clip_vision

Style model -> models\style_models