Model Details
Elevate your images with powerful and accurate enhancement. This model uses advanced AI to upscale, restore, and refine your photos, producing professional-grade results. Whether you're working with low-resolution files, vintage photos, or digital art, you can significantly improve clarity, detail, and overall quality.
Choose from a variety of specialized enhancement models tailored to your specific needs: * **Standard V2 & High Fidelity V2:** Excellent all-rounders for general photo enhancement. * **Low Resolution V2:** Specifically designed to recover details in very small or compressed images. * **CGI:** Perfect for sharpening and upscaling computer-generated or anime-style images. * **Text Refine:** Improves the legibility of text within your images. * **Recovery & Redefine:** Powerful tools for restoring details and reducing artifacts in noisy or degraded photos.
You can increase the image resolution by up to 4x the original size using the `upscale_factor`. For portraits, enable `face_enhancement` to intelligently reconstruct facial features, adjusting the `strength` and `creativity` to achieve a natural look. The model also allows you to focus the enhancement on the foreground or background with `subject_detection`, giving you precise control over the final output. This is the ideal tool for photographers, designers, and anyone looking to prepare images for high-resolution displays and print.
### Example Usage To run this model using the ModelRunner JavaScript client, use the following code:
```javascript import { modelrunner } from "@modelrunner/client";
const result = await modelrunner.subscribe('topazlabs/upscale/image', { input: { "image_url": "https://storage.googleapis.com/falserverless/model_tests/codeformer/codeformer_poor_1.jpeg", "model": "High Fidelity V2", "upscale_factor": 4, "face_enhancement": true, "face_enhancement_strength": 0.9 } }); ```


