smkrv/qwen-image 🔢📝✓❓ → 🖼️

▶️ 372 runs 📅 Nov 2025 ⚙️ Cog 0.9.8 🔗 GitHub 📄 Paper ⚖️ License
lora-inference text-to-image

About

Qwen-Image configured for transparency and performance. It uses the official HuggingFace model for provenance, BF16 for numerical stability, and includes an optional Lightning LoRA. ⚠️ Each manual test = full cold boot cost!

Example Output

Prompt:

"A 27-year-old woman with European features and dark chestnut hair, 175cm tall, playing tennis on a professional court. She is mid-swing, hitting a forehand shot with focused expression. Athletic tennis outfit, dark chestnut hair tied back in a ponytail. Dynamic action pose with dust kicking up from the clay court surface. In the background, a large prominent banner displays "8 steps" in bold letters. The court features green surface with white lines, net visible in the frame. Professional tennis stadium with multiple tiers of blue spectator seats, some filled with blurred crowd. Umpire's chair on the sideline, ball boys stationed near the corners. Additional advertising boards along the court perimeter. Stadium lights mounted on tall poles, casting dramatic shadows. Clear blue sky with few white clouds. Tennis ball cart beside the baseline, water bottles and towels on player's bench. Scoreboard visible in the distance. Flags gently waving in the breeze. Television cameras positioned courtside. Bright natural daylight mixed with stadium lighting creating professional sports atmosphere."

Output

Example output

Performance Metrics

39.60s Prediction Time
160.47s Total Time
All Input Parameters
{
  "seed": 2959704377,
  "prompt": "A 27-year-old woman with European features and dark chestnut hair, 175cm tall, playing tennis on a professional court. She is mid-swing, hitting a forehand shot with focused expression. Athletic tennis outfit, dark chestnut hair tied back in a ponytail. Dynamic action pose with dust kicking up from the clay court surface. In the background, a large prominent banner displays \"8 steps\" in bold letters. The court features green surface with white lines, net visible in the frame. Professional tennis stadium with multiple tiers of blue spectator seats, some filled with blurred crowd. Umpire's chair on the sideline, ball boys stationed near the corners. Additional advertising boards along the court perimeter. Stadium lights mounted on tall poles, casting dramatic shadows. Clear blue sky with few white clouds. Tennis ball cart beside the baseline, water bottles and towels on player's bench. Scoreboard visible in the distance. Flags gently waving in the breeze. Television cameras positioned courtside. Bright natural daylight mixed with stadium lighting creating professional sports atmosphere.",
  "go_fast": true,
  "guidance": 4,
  "lora_scale": 1,
  "num_outputs": 1,
  "aspect_ratio": "16:9 HD",
  "lora_weights": "",
  "output_format": "jpg",
  "output_quality": 100,
  "negative_prompt": "CGI, 3D render, fake skin, retouched skin, bad anatomy, poorly drawn face, bad hands, extra limbs, deformed, ugly, worst quality, low quality, flat lighting, uniform lighting, even illumination, no shadows, professional studio lighting, overdrawn eyebrows, (heavily filled brows:1.4), (Instagram brows:1.4), (block brows:1.3), tattooed eyebrows, microbladed brows, sharp brow edges, overly arched brows, laminated brows, unnatural brow color, black eyebrows, penciled brows, jewelry, necklace, bracelet, earrings, rings, piercings, accessories, pencil skirt, bodycon skirt, restrictive clothing, tight pants, skinny jeans, cluttered background, grunge, vintage, old-fashioned, rustic, headshot only, face only, tight crop, nude, naked, exposed breasts, nipples visible",
  "extra_lora_scale": 1,
  "extra_lora_weights": "",
  "num_inference_steps": 50
}
Input Parameters
seed Type: integerDefault: -1Range: -1 - ∞
Random seed. Set to -1 to randomize
prompt (required) Type: string
Text prompt for image generation
go_fast Type: booleanDefault: false
Enable fast generation mode using Lightning LoRA (8 steps, ~6x faster). Automatically uses 8 inference steps and cfg_scale=1.0 for optimal speed and quality.
guidance Type: numberDefault: 4Range: 1 - 10
Guidance scale for generation. Higher values follow the prompt more closely
lora_scale Type: numberDefault: 1Range: 0 - 2
Scale for the main LoRA weights
num_outputs Type: integerDefault: 1Range: 1 - 2
Number of images to generate
aspect_ratio Default: 1:1
Aspect ratio for the generated image
lora_weights Type: stringDefault:
URL or path to LoRA weights file (safetensors format)
output_format Default: webp
Output image format
output_quality Type: integerDefault: 95Range: 80 - 100
Quality for jpg/webp outputs (higher is better quality)
negative_prompt Type: stringDefault:
Negative prompt to guide what not to generate
extra_lora_scale Type: numberDefault: 1Range: 0 - 2
Scale for the extra LoRA weights
extra_lora_weights Type: stringDefault:
URL or path to additional LoRA weights file (safetensors format)
num_inference_steps Type: integerDefault: 50Range: 1 - 100
Number of denoising steps. More steps usually give better quality but slower generation
disable_safety_checker Type: booleanDefault: false
Disable safety checker for generated images
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
Using seed: 2959704377
Generating 1 image(s) at 2048x1152 (16:9 HD)
Fast mode enabled: using Lightning LoRA with 8 steps and cfg_scale=1.0
Loading Lightning LoRA BF16 (8 steps V2.0) from HuggingFace
Loading LoRA lightning from lightx2v/Qwen-Image-Lightning
Using unique identifier: 0018b462295c
LoRA lightning loaded successfully as lightning_0018b462295c
Cached at: lightx2v/Qwen-Image-Lightning
Using LoRAs: ['lightning_0018b462295c'] with weights [1.0]
Generating with prompt: A 27-year-old woman with European features and dark chestnut hair, 175cm tall, playing tennis on a professional court. She is mid-swing, hitting a forehand shot with focused expression. Athletic tennis outfit, dark chestnut hair tied back in a ponytail. Dynamic action pose with dust kicking up from the clay court surface. In the background, a large prominent banner displays "8 steps" in bold letters. The court features green surface with white lines, net visible in the frame. Professional tennis stadium with multiple tiers of blue spectator seats, some filled with blurred crowd. Umpire's chair on the sideline, ball boys stationed near the corners. Additional advertising boards along the court perimeter. Stadium lights mounted on tall poles, casting dramatic shadows. Clear blue sky with few white clouds. Tennis ball cart beside the baseline, water bottles and towels on player's bench. Scoreboard visible in the distance. Flags gently waving in the breeze. Television cameras positioned courtside. Bright natural daylight mixed with stadium lighting creating professional sports atmosphere.
negative_prompt is passed but classifier-free guidance is not enabled since true_cfg_scale <= 1
  0%|          | 0/8 [00:00<?, ?it/s]
 12%|█▎        | 1/8 [00:03<00:27,  3.86s/it]
 25%|██▌       | 2/8 [00:08<00:25,  4.17s/it]
 38%|███▊      | 3/8 [00:12<00:21,  4.27s/it]
 50%|█████     | 4/8 [00:17<00:17,  4.32s/it]
 62%|██████▎   | 5/8 [00:21<00:13,  4.35s/it]
 75%|███████▌  | 6/8 [00:25<00:08,  4.36s/it]
 88%|████████▊ | 7/8 [00:30<00:04,  4.37s/it]
100%|██████████| 8/8 [00:34<00:00,  4.37s/it]
100%|██████████| 8/8 [00:34<00:00,  4.32s/it]
Generation completed in 35.65s
Version Details
Version ID
0a12979b404bf9292c7a19fe18ece1e103bc78bda4047301d880eade24f6049f
Version Created
November 11, 2025
Run on Replicate →