Files
comfyui-workflows/optimized/I2I/qwen/README.md
T

3.5 KiB
Raw Blame History

Qwen Image 2.1 — optimized I2I

Converts any supplied reference image into a photorealistic image of the same subject. The prompt is generic: identity, pose, clothing, accessories, colors, proportions, composition, and framing are inferred from the input rather than hard-coded.

Reusable inputs

  • character_reference.png in node 4 — replace with the reference image.
  • Node 7 positive and negative prompts — adapt the transformation without describing a specific subject.
  • Node 10 seed — change for alternate results or keep fixed for comparisons.
  • Nodes 5 and 14 — change the generation and output dimensions. The default is portrait 1080×1920 for person-focused images.

Optimization baseline

  • Model: qwen_image_2.1_int8_convrot.safetensors
  • Sampler: Euler CFG++
  • Scheduler: beta
  • Steps: 40
  • CFG: 3.5
  • Measured runtime: approximately 81 seconds on the RTX 3070

The workflow uses the installed Qwen Image 2.1 stack and the flattened images.image_1 reference input required by the API workflow.

  • workflow.json — API-format workflow.

Planned optimization matrix

All rows are intentionally Untested. Keep the reference image, prompt, seed, and dimensions from ../variables.json fixed.

ID CFG Steps Sampler Scheduler Runtime (s) Tested? Current Best
Q-I2I-01 3.5 40 euler_cfg_pp beta — No No
Q-I2I-02 1.0 24 euler_cfg_pp beta — No No
Q-I2I-03 1.1 24 euler_cfg_pp beta — No No
Q-I2I-04 1.2 24 euler_cfg_pp beta — No No
Q-I2I-05 1.3 24 euler_cfg_pp beta — No No
Q-I2I-06 1.4 24 euler_cfg_pp beta — No No
Q-I2I-07 1.5 24 euler_cfg_pp beta — No No
Q-I2I-08 1.6 24 euler_cfg_pp beta — No No
Q-I2I-09 1.8 24 euler_cfg_pp beta — No No
Q-I2I-10 2.0 24 euler_cfg_pp beta — No No
Q-I2I-11 2.2 24 euler_cfg_pp beta — No No
Q-I2I-12 2.4 24 euler_cfg_pp beta — No No
Q-I2I-13 2.5 24 euler_cfg_pp beta — No No
Q-I2I-14 2.7 24 euler_cfg_pp beta — No No
Q-I2I-15 3.0 24 euler_cfg_pp beta — No No
Q-I2I-16 3.2 24 euler_cfg_pp beta — No No
Q-I2I-17 3.5 24 euler_cfg_pp beta — No No
Q-I2I-18 3.8 24 euler_cfg_pp beta — No No
Q-I2I-19 4.0 24 euler_cfg_pp beta — No No
Q-I2I-20 3.5 24 euler beta — No No
Q-I2I-21 3.5 24 euler_ancestral beta — No No
Q-I2I-22 3.5 24 euler_ancestral_cfg_pp beta — No No
Q-I2I-23 3.5 24 res_multistep beta — No No
Q-I2I-24 3.5 24 res_multistep_cfg_pp beta — No No
Q-I2I-25 3.5 24 res_multistep_ancestral beta — No No
Q-I2I-26 3.5 24 res_multistep_ancestral_cfg_pp beta — No No
Q-I2I-27 2.5 24 euler_cfg_pp simple — No No
Q-I2I-28 2.5 24 euler_cfg_pp sgm_uniform — No No
Q-I2I-29 2.5 24 euler_cfg_pp karras — No No
Q-I2I-30 2.5 24 euler_cfg_pp exponential — No No
Q-I2I-31 2.5 24 euler_cfg_pp normal — No No
Q-I2I-32 3.5 30 euler_cfg_pp beta — No No
Q-I2I-33 3.5 40 euler_cfg_pp beta — No No
Q-I2I-34 3.5 50 euler_cfg_pp beta — No No