Image-to-Image
Image-to-image models transform an input image, for example to restore, upscale or restyle it.
Inputs
Input
Image-to-Image Model
Output
Output
About Image-to-Image
Image-to-image models transform an input image, for example to restore, upscale or restyle it. Browse image-to-image models on HubClone to compare checkpoints, or open a Space to try one in the browser.
Use Cases
Super-resolution
Upscale low-resolution photos.
Style transfer
Repaint a photo in the style of an artwork.
Inference
You can run image-to-image models locally with the Diffusers library.
import torch
from diffusers import DiffusionPipeline
pipe = DiffusionPipeline.from_pretrained("<model-id>", torch_dtype=torch.float16)
pipe.to("cuda")
result = pipe("fox.png")Useful Resources
Want to dig deeper into the topic? Great! Here is a hand-picked list of resources we found helpful.
Documentation
- Image-to-Image task guide
- Pipelines reference
Notebooks
- Fine-tuning a image-to-image model