Test Results and Guidelines on Using Qwen-Image-2.1 on Google Colab to Generate/Edit Images

Here are some results from using the Qwen Image 2.1 model via a google colab notebook  for image generation and editing.

The following image generations and edits were done on the T4 GPU offered by google Colab with the following specs:

System RAM : 51.0 GB, VRAM : 16 GB


Generating a 1K image


Task: Text to Image Generation

Prompt: A Young man in casual clothes and a busty and shapely young woman in a minidress are sitting on a branch of tree in the forest, smiling at each other

Seed: 42

Qwen-Image Model Used: qwen-image-2.1-UC-Q4_K_M.gguf

Output Image Size: 1344x768

Steps: 6

Sampler: euler

Viggle turbo Lora Name: Qwen-Image-2.1-viggle-turbo-v0.2.1-6step-lora-r256.safetensors

Completed in 2 min 40.62 sec


Editing an Image with multiple instructions.


Task: Image Editing

Prompt: Change the woman's dress to a office wear and change the background to an office.

Seed: 42

Qwen-Image Model Used: qwen-image-2.1-UC-Q4_K_M.gguf

First reference image size: 576x1024

Output Image Size: 1152x2048

Steps: 6
 
Sampler: euler

Viggle turbo Lora Name: Qwen-Image-2.1-viggle-turbo-v0.2.1-6step-lora-r256.safetensors

Completed in 10 min 13.95 sec


Removing the background of an image


Task: Image Editing

Prompt: This is an RGBA image with transparency. A beautiful woman in a black gown. The image has alpha channel and the background is transparent.

Seed: 42

Qwen-Image Model Used: qwen-image-2.1-UC-Q4_K_M.gguf

First reference image size: 576x1024

Number of Input Images: 1

Output Image Size: 576x1024

Steps: 6

Sampler: euler

Viggle turbo Lora Name: Qwen-Image-2.1-viggle-turbo-v0.2.1-6step-lora-r256.safetensors

Completed in 1 min 58.50 sec


Using multiple references





Task: Image Editing

Prompt: These three characters are sitting around a campfire in a forest
 
Seed: 42

Qwen-Image Model Used: qwen-image-2.1-UC-Q4_K_M.gguf

First reference image size: 576x1024

Number of Input Images: 3

Output Image Size: 1024x1792

Steps: 6

Sampler: euler

Viggle turbo Lora Name: Qwen-Image-2.1-viggle-turbo-v0.2.1-6step-lora-r256.safetensors

Completed in 13 min 21.80 sec



Generating 2K Images

The following 2K images were generated with the L4 GPU in google colab with the following specs :

System RAM : 53.0 GB, VRAM : 22.5 GB



Task: Text to Image Generation

prompt: A Young man in casual clothes and a busty and shapely young woman in a minidress are sitting on a branch of tree in the forest, smiling at each other

Seed: 42

Qwen-Image Model Used: qwen_image_2.1_bf16.safetensors (Comfy-Org)

Text Encoder: qwen3vl_8b_int8_convrot.safetensors

Output Image Size: 2752x1536

Steps: 40

CFG: 1

Sampler: euler

Scheduler: simple

Completed in 5 min 13.47 sec (Probably lengthened by my unstable network)


Here's the same generation using the viggle turbo LoRA for a 2K image. 

Task: Text to Image Generation

Prompt: A Young man in casual clothes and a busty and shapely young woman in a minidress are sitting on a branch of tree in the forest, smiling at each other

Seed: 42

Qwen-Image Model Used: qwen_image_2.1_bf16.safetensors (Comfy-Org)

Text Encoder: qwen3vl_8b_int8_convrot.safetensors

Output Image Size: 2752x1536

Steps: 6

Sampler: euler

Viggle turbo Lora Name: Qwen-Image-2.1-viggle-turbo-v0.2.1-6step-lora-r256.safetensors

Completed in 2 min 17.64 sec


Here's another generation without a LoRA but with 25 steps.


Task: Text to Image Generation

prompt: A Young man in casual clothes and a busty and shapely young woman in a minidress are sitting on a branch of tree in the forest, smiling at each other

Seed: 42

Qwen-Image Model Used: qwen_image_2.1_bf16.safetensors (Comfy-Org)

Output Image Size: 2752x1536

Steps: 25

CFG: 1

Sampler: euler

Scheduler: simple

Cache Enabled: True

Cache dtype: int8

Completed in 3 min 23.22 sec


Using the Notebook

To be continued...








Comments

Popular posts from this blog

How to use Wan2.2 Google Colab Notebooks for Image to Video Generation

Generating Long, High-Quality AI Videos with LongCat-Video in ComfyUI (Google Colab Setup)

I dumped Kling AI for these colab notebooks