Eyeline β€” Qwen3.5 β†’ Z-Image Text Encoder Projectors

Lightweight linear + RMSNorm conditioning projectors that let Z-Image Base and Z-Image Turbo (ZiT) consume frozen Qwen3.5-4B or Qwen3.5-9B per-token hidden states in place of the native Qwen3-4B encoder β€” with zero diffusion model retraining.

Why use Eyeline?

  • Drop-in encoder swap for Z-Image / ZiT: Replaces CLIPLoader (lumina2) + CLIPTextEncode with EyelineLoader + EyelineTextEncode in ComfyUI.
  • Faster multi-stage MOSS β†’ ZiT workflows: MOSS already uses qwen3.5_9b_int8_convrot.safetensors. Reusing it via projector-9b-5k.safetensors avoids swapping to a separate encoder family and cut our MOSS β†’ ZiT (896Γ—1152) wall time by 5.4s (18%) on an RTX 3060 12 GB.
  • Tiny footprint: Only 26 MB (4B) and 42 MB (9B) in .safetensors format.

Files

File Size Input Text Encoder Architecture Alignment Val MSE
projector-9b-5k.safetensors (Recommended) 42.0 MB qwen3.5_9b_int8_convrot.safetensors RMSNorm(4096) β†’ Linear(4096 β†’ 2560) 5.75
projector-4b-5k.safetensors 26.2 MB qwen3.5_4b_int8_convrot.safetensors RMSNorm(2560) β†’ Linear(2560 β†’ 2560) 7.47

Both projectors were aligned over 6,000 steps on 5,200 captions against native Z-Image Qwen3-4B token features (match_stock_template: true).


Side-by-Side Showcase (Z-Image Turbo, Identical Seeds)

All comparisons below were rendered at 896Γ—1152 on Z-Image Turbo (6 steps, cfg 1, euler / beta, shift 3) using identical seeds and prompts across all three arms.

1. Direct Eye-Contact Portrait & Natural Window Light

Candid photograph of a woman in her late 20s with wavy chestnut hair and a cream knit sweater sitting across a sunlit wooden cafe table, resting her chin lightly on one hand while looking directly into the camera with a warm natural smile. A ceramic latte cup and a paperback book sit on the table in the foreground, soft window light.

Cafe Gaze Comparison

2. Multi-Subject Spatial Layout & Prop Ownership

Candid photograph looking across a wooden workbench in a sunlit garage workshop. On the left, a woman with a short black bob and thin silver glasses leans her elbows on the bench wearing a gray hoodie. On the right, a woman with long wavy red hair and freckles wears a navy canvas apron over a plaid flannel shirt, holding a silver wrench up in her right hand with a wooden clipboard tucked under her left arm.

Workshop Duo Comparison

3. First-Person Dusk Lighting & Prop Handling

Candid first-person photograph from seated eye level inside a cozy train compartment at dusk. Across from the camera, a man in his early 30s with curly dark hair, wire-rimmed glasses, and a navy corduroy jacket leans forward slightly, holding a folded paper map in both hands while looking up to meet the viewer's eyes. Warm interior cabin light contrasts with rain droplets streaking the dark window beside him.

Train Dusk Comparison


ComfyUI Usage

  1. Install the ComfyUI-Eyeline custom node (EyelineLoader + EyelineTextEncode).
  2. Place projector-9b-5k.safetensors (and/or projector-4b-5k.safetensors) in your ComfyUI-Eyeline projectors folder.
  3. In your Z-Image Base or Z-Image Turbo workflow:
    • Replace CLIPLoader (lumina2) with EyelineLoader:
      • text_encoder: qwen3.5_9b_int8_convrot.safetensors
      • projector: projector-9b-5k.safetensors
    • Replace CLIPTextEncode with EyelineTextEncode (match_stock_template: true).
    • Connect CONDITIONING output to your sampler's positive (and ConditioningZeroOut for negative on ZiT).

Known Limitations (v1 / 5k Alignment)

  • Aligned on 5,200 captions; very rare or fine-grained demographic/style tokens can occasionally soften slightly compared to the native Qwen3-4B encoder.
  • projector-9b-5k.safetensors is strongly recommended over 4B for both prompt fidelity and speed in MOSS β†’ ZiT pipelines.
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support