stability-ai/stable-diffusion-img2img 🔢🖼️📝❓ → 🖼️
About
Generate a new image from an input image with Stable Diffusion

Example Output
Prompt:
"A fantasy landscape, trending on artstation"
Output

Performance Metrics
3.50s
Prediction Time
3.53s
Total Time
All Input Parameters
{ "image": "https://replicate.delivery/pbxt/HtKMvJSvuGWDn2B35mM396QGzcrgCNkcgSko8JxtXux4aX9H/sketch-mountains-input.jpeg", "width": 512, "height": 512, "prompt": "A fantasy landscape, trending on artstation", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 7.5, "prompt_strength": 0.8, "num_inference_steps": "25" }
Input Parameters
- seed
- Random seed. Leave blank to randomize the seed
- image (required)
- Inital image to generate variations of.
- prompt
- Input prompt
- scheduler
- Choose a scheduler.
- num_outputs
- Number of images to output. Higher number of outputs may OOM.
- guidance_scale
- Scale for classifier-free guidance
- negative_prompt
- The prompt NOT to guide the image generation. Ignored when not using guidance
- prompt_strength
- Prompt strength when providing the image. 1.0 corresponds to full destruction of information in init image
- num_inference_steps
- Number of denoising steps
Output Schema
Output
Example Execution Logs
Using seed: 53915 0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:00<00:02, 8.32it/s] 10%|█ | 2/20 [00:00<00:01, 9.21it/s] 20%|██ | 4/20 [00:00<00:01, 10.05it/s] 30%|███ | 6/20 [00:00<00:01, 10.31it/s] 40%|████ | 8/20 [00:00<00:01, 10.43it/s] 50%|█████ | 10/20 [00:00<00:00, 10.50it/s] 60%|██████ | 12/20 [00:01<00:00, 10.53it/s] 70%|███████ | 14/20 [00:01<00:00, 10.56it/s] 80%|████████ | 16/20 [00:01<00:00, 10.58it/s] 90%|█████████ | 18/20 [00:01<00:00, 10.59it/s] 100%|██████████| 20/20 [00:01<00:00, 10.59it/s] 100%|██████████| 20/20 [00:01<00:00, 10.43it/s]
Version Details
- Version ID
15a3689ee13b0d2616e98820eca31d4c3abcd36672df6afce5cb6feb1d66087d
- Version Created
- December 17, 2022