Try MiniMax-Music3: Text and Lyrics to Full Songs with Vocals from Wiro →10% off
Models
Agents
Workflows
Studio
PricingBlogDocs
ExploreDiscover models by categoryDiscoverModels and effects built by WiroBrowse All ModelsBrowse the complete catalogSee FavoritesSign in to view saved models
Generative Media AgentCreate and edit media by chattingWorkflow AgentBuild visual workflows with Agent
OverviewThe platform at a glanceLearnSkills, knowledge, guardrailsAnatomyWhat makes agents reasonBuild Your AgentPick skills, choose a plan, deploy, then connect your tools
Pre-built AgentsBrowse the catalogConnectorsConnect agents to your apps
Agent Usecases
Ad Campaign ManagerApp Event ManagerApp Review RepliesBarber BookingCustomer Win-BackEcommerce ListingsRestaurant Reviews
Sign InStart Building
Explore models/
Image GenerationActive

Image Restoration

bywiro

Restores blurry, low-resolution photos: CodeFormer rebuilds the face nearest the center, and Real-ESRGAN doubles the whole frame before it is scaled to the upscale factor you set, up to 10.

Image to ImageRestorationUpscale
Model ID
image-restoration
Provider
wiro
Updated
Nov 28, 2026, 08:23
image-restoration
0
Comments
Average rating : 0 (0 users)
Providerwiro
Modelimage-restoration
Image to ImageRestorationUpscale
wiro playground—wiro/image-restoration
1 / 1
Maximum 1 image allowed
Image 1

Choose an image that will re-generate

Your request will cost $0.0006 per second of run time.

Running this model on Wiro costs approximately $0.012968 in total.

(Total cost varies depending on the request's execution time.)
Sample outputs
Updated Nov 28, 2026, 08:23

Overview

Image Restoration is a Wiro app built on CodeFormer, the face restoration model from S-Lab at Nanyang Technological University (NeurIPS 2022). The app finds the face nearest the center of your photo, rebuilds it with CodeFormer and pastes it back into a copy of the full frame enlarged by Real-ESRGAN. Photos without a face still get enlarged.

What you can build

  • A cleanup step for small or heavily compressed profile pictures.
  • Sharper scans of single-person portraits and of low-resolution frames from old films.
  • Bigger copies of small images, for print or as input to another model.

Inputs

  • One photo, uploaded or given as a public URL. JPG, PNG and WebP files work.
  • Fidelity weight, 0 to 1 (default 0.5). The CodeFormer authors say lower values tend to give a higher-quality face and higher values stay closer to the input.
  • Upscale, a whole number up to 10 (default 2). It sets how many times wider and taller the result is. A photo whose shorter side is under 512 pixels is first scaled up so that side is 512, and the factor applies to that larger size.

Outputs

A single PNG. At the default factor of 2, one sample turns a blurred 942 by 622 street scene into a 1884 by 1244 image with crisp window shutters and cobblestones. Another sample, a soft, blocky 400 by 225 film still, comes back at 1820 by 1024 because of the 512-pixel step, with sharp eyes and separate strands of hair.

Recommended settings

Start at 0.5. If the restored face stops looking like the person, raise the weight; the authors' own whole-photo example uses 0.7. If a very small face still looks soft, lower it.

Limitations

  • Only the face closest to the center goes through CodeFormer. Other people in a group photo are only enlarged and stay softer.
  • The authors note that blending a restored face back into the full image can damage hair texture along the edge.
  • Blurred lettering is not recovered. In the street sample, the shop sign turns into shapes that only resemble letters.
  • Black-and-white photos stay black and white.

Safety & compliance

CodeFormer is released under the S-Lab License 1.0, which allows non-commercial use and asks anyone who needs commercial use to contact the authors. Get the consent of the people in a photo before restoring their faces.

API quick start

Run image-restoration with a single API call.

POST https://api.wiro.ai/v1/Run/wiro/image-restoration
{
  "inputImage": "https://your-cdn.com/input.png",
  "weight": 0.5,
  "upscale": 2
}
curl
curl -X POST "https://api.wiro.ai/v1/Run/wiro/image-restoration" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_WIRO_API_KEY" \
  --data-binary @- <<'JSON'
{
  "inputImage": "https://your-cdn.com/input.png",
  "weight": 0.5,
  "upscale": 2
}
JSON

Other models you might like

Explore similar image generation models.

View all
license-plate-recognition-image
Image to Image

license-plate-recognition-image

wiro

Real-ESRGAN
Image to Image

Real-ESRGAN

xinntao

Image to Image

vgen

wiro

face_anonymization
Image to Image

face_anonymization

wiro

  • remove-backgroundwiro
  • Instagram Posewiro
  • Instagram Pose Multiwiro
  • flux-upscalerwiroai
  • BiRefNetzhengpeng7
  • p-image-try-onpruna
  • RMBG-2.0briaai
  • LocateAnything-3Bnvidia

Discover, test, and run AI models, build workflows and agents with one unified API.

All systems operational
WiroModelsAgentsMCP ServerLLM GatewayBrowser ExtensionIntegrationsConnectorsPricingAboutBlogCareersContactPartnerChangelogStatusFAQ
CategoriesText to ImageImage to ImageImage EditingImage to TextText to VideoImage to VideoVideo to VideoText to SpeechSpeech to TextSpeech to SpeechVoice CloneRealtime ConversationMusic GenerationLLMUtilities
ModelsNano Banana 2GPT Image 2.5Seedream V5 ProSeedance 2.5Veo 3.1Kling V3FLUX 3FLUX.2 ProWan 3.0 PrimeGrok Imagine 1.5
PartnersGoogleOpenAIByteDanceBlack Forest LabsKling AIQwenAlibabaxAIMiniMaxElevenLabs
Getting StartedWiro ModelsWiro EffectsIntroductionAuthenticationProjectsCode ExamplesWiro MCP ServerSelf-Hosted MCPn8n IntegrationLLMs.txt
API ReferenceModelsRun a ModelModel ParametersTasksLLM & Chat StreamingWebSocketRealtime VoiceFiles
© 2026 Wiro AI. All rights reserved.
PrivacyTermsData Deletion