{
 "schema_version": 1,
 "generated": "2026-10-31",
 "id": "huggingface-diffusers--edit-or-upscale-images-with-ready-pipelines",
 "repo": "huggingface/diffusers",
 "repo_url": "https://github.com/huggingface/diffusers",
 "repo_slug": "huggingface-diffusers",
 "title": "Edit, inpaint or upscale images with ready-made pipelines",
 "page_title": "How to edit, inpaint or upscale images with ready-made pipelines with Diffusers",
 "summary": "Use image-to-image, inpainting, InstructPix2Pix, ControlNet or upscale pipelines on your own pictures.",
 "who": "A designer or developer who wants to modify existing images rather than generate from scratch.",
 "problem": "Each editing technique comes from a different paper and repo, each with its own setup.",
 "outcome": "Edited, inpainted or upscaled images from the same library and loading pattern.",
 "steps": [
  "Install with `pip install --upgrade diffusers[torch]`",
  "Pick the task from the Popular Tasks and Pipelines table, such as Text-guided Image Inpainting or Super Resolution",
  "Load the matching checkpoint from the table, for example stable-diffusion-v1-5/stable-diffusion-inpainting or stabilityai/stable-diffusion-x4-upscaler",
  "Pass your input image and prompt to the pipeline",
  "Use the Optimization guides to cut memory use if the pipeline does not fit on your GPU"
 ],
 "agent_prompt": "With huggingface/diffusers, build a small tool that takes <input image> and either upscales it with the Stable Diffusion x4 upscaler or inpaints a masked area with the inpainting checkpoint, depending on a command line flag. Save outputs next to the input.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "Each pipeline takes slightly different inputs, so check its docs page for the exact arguments.",
 "category": "Content",
 "tags": [
  "Content"
 ],
 "lang": "python",
 "requirements": [
  "Python in a virtual environment",
  "PyTorch; install with `pip install --upgrade diffusers[torch]` or conda",
  "An NVIDIA GPU for the README examples, which call to cuda; Apple Silicon has its own guide"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/huggingface-diffusers/edit-or-upscale-images-with-ready-pipelines/",
 "md": "https://dedupedai.com/use-cases/huggingface-diffusers/edit-or-upscale-images-with-ready-pipelines/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/huggingface-diffusers--edit-or-upscale-images-with-ready-pipelines.json",
 "api_version": "v1"
}
