prunaai/z-image-turbo-img2img 🔢🖼️📝❓ → 🖼️

▶️ 126.4K runs 📅 Dec 2025 ⚙️ Cog 0.16.9
image-to-image

About

Image 2 Image version of z-image-turbo with lora support.

Example Output

Prompt:

"A young Asian woman with long, vibrant purple hair stands on a sunlit sandy beach, posing confidently with her left hand resting on her hip. She gazes directly at the camera with a neutral expression. A sleek black ribbon bow is tied neatly on the right side of her head, just above her ear. She wears a flowing white cotton dress with a fitted bodice and a flared skirt that reaches mid-calf, slightly lifted by a gentle sea breeze. The beach behind her features fine, pale golden sand with subtle footprints, leading to calm turquoise waves under a clear blue sky with soft, wispy clouds. The lighting is natural daylight, casting soft shadows to her left, indicating late afternoon sun. The horizon line is visible in the background, with a faint silhouette of distant dunes. Her skin tone is fair with a natural glow, and her facial features are delicately defined. The composition is centered on her figure, framed from mid-thigh up, with shallow depth of field blurring the distant waves slightly."

Output

Example output

Performance Metrics

2.80s Prediction Time
2.82s Total Time
All Input Parameters
{
  "image": "https://replicate.delivery/pbxt/OGd3EDJTeHE5F0VroRhklsMmkc9oZa4FJP9VX21bIfYgGK1P/z-image-turbo-i2i-input.png",
  "width": 1024,
  "height": 1024,
  "prompt": "A young Asian woman with long, vibrant purple hair stands on a sunlit sandy beach, posing confidently with her left hand resting on her hip. She gazes directly at the camera with a neutral expression. A sleek black ribbon bow is tied neatly on the right side of her head, just above her ear. She wears a flowing white cotton dress with a fitted bodice and a flared skirt that reaches mid-calf, slightly lifted by a gentle sea breeze. The beach behind her features fine, pale golden sand with subtle footprints, leading to calm turquoise waves under a clear blue sky with soft, wispy clouds. The lighting is natural daylight, casting soft shadows to her left, indicating late afternoon sun. The horizon line is visible in the background, with a faint silhouette of distant dunes. Her skin tone is fair with a natural glow, and her facial features are delicately defined. The composition is centered on her figure, framed from mid-thigh up, with shallow depth of field blurring the distant waves slightly.",
  "strength": 0.6,
  "output_format": "jpg",
  "guidance_scale": 0,
  "output_quality": 80,
  "num_inference_steps": 8
}
Input Parameters
seed Type: integer
Random seed. Set for reproducible generation
image (required) Type: string
Input image for img2img
prompt (required) Type: string
Text prompt for image generation
strength Type: numberDefault: 0.6Range: 0 - 1
Strength of the img2img transformation. 0.0 is no change, 1.0 is full transformation
lora_scales Type: number
Scales for each LoRA as an array of floats. Must match the number of lora_weights. Defaults to 1.0 for each if not provided.
lora_weights Type: string
LoRA weights as an array of URLs. Supports .safetensors URLs, tar files, and zip files (e.g., ['https://example.com/lora1.safetensors', 'https://example.com/lora2.safetensors'])
output_format Default: jpg
Format of the output images
guidance_scale Type: numberDefault: 0Range: 0 - 20
Guidance scale. Should be 0 for Turbo models
output_quality Type: integerDefault: 80Range: 0 - 100
Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs
num_inference_steps Type: integerDefault: 8Range: 1 - 50
Number of inference steps. This actually results in (num_inference_steps - 1) DiT forwards
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
0%|          | 0/6 [00:00<?, ?it/s]
 17%|█▋        | 1/6 [00:00<00:01,  4.06it/s]
 33%|███▎      | 2/6 [00:00<00:01,  3.02it/s]
 50%|█████     | 3/6 [00:01<00:01,  2.79it/s]
 67%|██████▋   | 4/6 [00:01<00:00,  2.69it/s]
 83%|████████▎ | 5/6 [00:01<00:00,  2.65it/s]
100%|██████████| 6/6 [00:02<00:00,  2.62it/s]
100%|██████████| 6/6 [00:02<00:00,  2.73it/s]
Version Details
Version ID
5c958e90e0f904240629ee35c69196e3bd790b5528c0696705ebdb1656871dd8
Version Created
December 22, 2025
Run on Replicate →