CodeFormer (Face Restore)
CodeFormer (Face Restore) costs $0.0024/image on FairStack — a utility model for Face restoration in old photos, Enhancing low-res face images, Video call frame cleanup. No subscription required. Pay per generation with full REST API access. FairStack applies a transparent 20% margin on infrastructure cost so you always see the real price.
What is CodeFormer (Face Restore)?
CodeFormer is a specialized AI face restoration model that recovers facial detail from blurry, damaged, compressed, or low-resolution images at just $0.002 per edit. It uses a learned codebook of facial priors to reconstruct faces with high fidelity, filling in missing detail with realistic facial features based on its understanding of human face structure. The model handles severely degraded facial images that would be unrecoverable through traditional enhancement. Low-resolution faces from surveillance footage, heavily compressed social media images, and damaged photographs with facial degradation are all viable input. An adjustable fidelity-quality balance parameter lets users control the tradeoff between faithfulness to the original and output clarity. Compared to ESRGAN which provides general image upscaling at $0.001, CodeFormer specifically understands facial anatomy and produces dramatically better face restoration. Against Bria FIBO Restore at $0.04 which handles full-image restoration, CodeFormer at $0.002 is twenty times cheaper and produces superior results specifically for faces. Best suited for face restoration in old or damaged photographs, enhancing low-resolution facial images, video call frame quality improvement, and any workflow requiring AI-powered face recovery at minimal cost. Available on FairStack at infrastructure cost plus a 20% platform fee.
Key Features
What are CodeFormer (Face Restore)'s strengths?
What are CodeFormer (Face Restore)'s limitations?
What is CodeFormer (Face Restore) best for?
How much does CodeFormer (Face Restore) cost?
How does CodeFormer (Face Restore) perform across capabilities?
Face restoration — specialized in fixing degraded/blurry faces
How do I use the CodeFormer (Face Restore) API?
curl -X POST https://api.fairstack.ai/v1/generations/image \
-H "Authorization: Bearer $FAIRSTACK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "codeformer",
"prompt": "Your prompt here"
}' import requests
response = requests.post(
"https://api.fairstack.ai/v1/generations/image",
headers={
"Authorization": f"Bearer {FAIRSTACK_API_KEY}",
"Content-Type": "application/json",
},
json={
"model": "codeformer",
"prompt": "Your prompt here",
},
)
result = response.json()
print(result["url"]) const response = await fetch(
"https://api.fairstack.ai/v1/generations/image",
{
method: "POST",
headers: {
Authorization: `Bearer ${process.env.FAIRSTACK_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "codeformer",
prompt: "Your prompt here",
}),
}
);
const result = await response.json();
console.log(result.url); What parameters does CodeFormer (Face Restore) support?
Frequently Asked Questions
How much does CodeFormer (Face Restore) cost?
CodeFormer (Face Restore) costs $0.0024/image on FairStack as of 2026-03-23. This price includes FairStack's transparent 20% margin on infrastructure cost. No subscription or monthly fee — you pay per generation only. Minimum deposit is $1.
What is CodeFormer (Face Restore) and what is it best for?
CodeFormer is a specialized AI face restoration model that recovers facial detail from blurry, damaged, compressed, or low-resolution images at just $0.002 per edit. It uses a learned codebook of facial priors to reconstruct faces with high fidelity, filling in missing detail with realistic facial features based on its understanding of human face structure. The model handles severely degraded facial images that would be unrecoverable through traditional enhancement. Low-resolution faces from surveillance footage, heavily compressed social media images, and damaged photographs with facial degradation are all viable input. An adjustable fidelity-quality balance parameter lets users control the tradeoff between faithfulness to the original and output clarity. Compared to ESRGAN which provides general image upscaling at $0.001, CodeFormer specifically understands facial anatomy and produces dramatically better face restoration. Against Bria FIBO Restore at $0.04 which handles full-image restoration, CodeFormer at $0.002 is twenty times cheaper and produces superior results specifically for faces. Best suited for face restoration in old or damaged photographs, enhancing low-resolution facial images, video call frame quality improvement, and any workflow requiring AI-powered face recovery at minimal cost. Available on FairStack at infrastructure cost plus a 20% platform fee. CodeFormer (Face Restore) is best for Face restoration in old photos, Enhancing low-res face images, Video call frame cleanup. Available via FairStack's REST API with curl, Python, and Node.js SDKs.
Does CodeFormer (Face Restore) have an API?
Yes. CodeFormer (Face Restore) is available via FairStack's REST API at api.fairstack.ai. Send a POST request to /v1/generations/image with your API key and prompt. Works with curl, Python requests, Node.js fetch, and any HTTP client. No SDK installation required.
How does CodeFormer (Face Restore) compare to other image models?
CodeFormer (Face Restore) excels at Face restoration in old photos, Enhancing low-res face images, Video call frame cleanup. It is a utility model priced at $0.0024/image on FairStack. Key strengths: Excellent face recovery, Very affordable. Compare all image models at fairstack.ai/models.
What makes codeformer stand out from other image generators?
codeformer stands out with excellent face recovery and very affordable. Generation typically completes in under 5 seconds.
What are the known limitations of codeformer?
Key limitations include: faces only — no general image restoration; heavy damage may produce artifacts; can hallucinate features. FairStack documents these transparently so you can choose the right model for your workflow.
How fast is codeformer?
codeformer typically completes in under 5 seconds. This makes it suitable for real-time applications, interactive workflows, and high-volume batch processing.
What features does codeformer support?
codeformer offers: ai face restoration from low-res/damaged input; codebook-based facial reconstruction; adjustable fidelity-quality balance; ultra-affordable at $0.002. All capabilities are accessible through both the FairStack web interface and REST API.
Start using CodeFormer (Face Restore) today
$0.0024/image. Full API access. No subscription.
Start Creating