Sign In

ComfyUI ALL-in-One Fast Flux.2 Klein Raster to Vector Image (With Prompt Saver) Workflow

Early Access

Type

Workflows

Stats

2

0

Reviews

Published

Mar 13, 2026

Base Model

Flux.2 Klein 9B

Hash

AutoV2
A3BCAF4DB8

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 is a very simple, beginner-friendly, fast ComfyUI workflow based on Flux.2 Klein model (4B or 9B) that can first generate an useual Raster Image file (.jpg or .png or .webp) text-to-image output then right after that it converts it again to Vector Image file (.svg) output on the fly. This workflow works great for illustration-style images, like stickers and cartoons.

This workflow uses a LORA that I trained extensively on Flux.2 Klein (I have two versions, one for 4B model and another for 9B model) with 250 high resolution, crisp & clear, meticulously selected digital artworks of multiple varieties so that the end results can be as fine as possible (See the Required Models section for the link to get the correct version of the LORA). Normally Flux.2 Klein has a very strong bias for AI Digital Photgraphy style outputs or near photorealistic outputs, but my LORA takes advantage of Flux.2 Klein's robust output generation speed but guides it forward to focus more on digital arts and simple vector illustrations.

I have implemented my own Prompt Saver Subgraph here so it can save Text to Image Generation Data into a human readable .txt file. This will automatically get and write your metadata to the .txt file. This workflow also uses Flux.2 Klein Enhancer for quality outputs. You will find all the saved prompt files that it generated with the images (.jpeg and .svg) inside the Archive (.Zip) that has the workflow. Also with the Image Saver Simple node used you may embed the workflow itself with each saved image or save the image and workflow for your work separately.

Make sure that you have latest enough versions of both ComfyUI and ComfyUI manager to manage and install any missing dependencies (missing nodes, patches etc.) to use this workflow properly.

#### Very Very Important :

Even before loading this workflow into ComfyUI and install nodes needed using ComfyUI Manager you must go to your ComfyUI's python environment and run this command to install necessary python packages to handle Raster Images (.jpeg or .png or .webp) to Vector Images (.svg) conversion -

python3 -m pip install blend_modes vtracer PyWavelets

Required Files

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

Flux.2 Klein 9B Models ( If you are using 6GB or 8GB VRAM GPU )-

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

### Download Link for Flux.2 Klein 9B GGUF Models

--------------------------------------------------

Only for this workflow I used Flux.2 Klein 9B Q2 GGUF Model (lowest Quant for 9B), but usually I use

Get the Q2 Model from here (One used in this workflow that helped me reduce system power usage) -

https://huggingface.co/unsloth/FLUX.2-klein-9B-GGUF/resolve/main/flux-2-klein-9b-Q2_K.gguf

Get the Q4 Model from here (One used in my all other Flux.2 Klein 9B workflows, it offers better performance & results ) -

https://huggingface.co/unsloth/FLUX.2-klein-9B-GGUF/resolve/main/flux-2-klein-9b-Q4_K_M.gguf

### Download Link for Flux.2 Klein 9B Text Encoder

---------------------------------------------------

https://huggingface.co/Comfy-Org/flux2-klein-9B/resolve/main/split_files/text_encoders/qwen_3_8b_fp8mixed.safetensors

Flux.2 Klein Common VAE Model -

++++++++++++++++++++++++++++++

### Download Link for Flux.2 Klein VAE (Works on both 4B and 9B)

------------------------------------------------------------------

https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors

Also consider using these 4B Model files (even GGUF Text Encoders) if you are using on a significantly weaker GPU ( with only 2GB or 4GB VRAM ) ---

Flux.2 Klein 4B Models -

+++++++++++++++++++++++++

### Download Link for Flux.2 Klein 4B GGUF Model

-------------------------------------------------

This is for 4GB VRAM -

https://huggingface.co/unsloth/FLUX.2-klein-4B-GGUF/resolve/main/flux-2-klein-4b-Q4_K_S.gguf

This is for 2GB VRAM -

https://huggingface.co/unsloth/FLUX.2-klein-4B-GGUF/resolve/main/flux-2-klein-4b-Q2_K.gguf

### Download Link for Flux.2 Klein 4B Text Encoder

---------------------------------------------------

I used this one on my Flux.2 Klein 4B workflows, it may work for you for 4B model. Note that 4B text encoder will not work well with 9B models and 9B text encoder will not work well with 4B models and on some low end systems you may even have to find out GGUF text encoder replacement for this one -

https://huggingface.co/Comfy-Org/flux2-klein-4B/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors

LORA Used on this workflow -

+++++++++++++++++++++++++++

I trained my own LORAs (for Flux.2 Klein 9B & 4B) to effectively produce quality vector drawing, artwork, silhouettes, stencils, minimal drawings, logos & other minimal vector digital AI arts. You can download the one that will work with your selected Flux.2 Klein model (9B or 4B) suited for your needs and system's configuration. Both are hosted on CivitAI.

Simple Fine Vector Flux.2 Klein 9B

-----------------------------------

https://civitai.com/models/2462137?modelVersionId=2768352

Simple Fine Vector Flux.2 Klein 4B

-----------------------------------

https://civitai.com/models/2462142?modelVersionId=2768357