Giảm 50% mô hình Vidu Q3 & Q3 Pro · Chỉ trên WaveSpeedAI | 20/5 – 2/6

Phota Enhance

wavespeed-ai /

Phota Enhance improves image quality and detail. Supports batch enhancement up to 4 images with JPEG, PNG, or WebP output. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

upscaler
Input

Kéo & thả hoặc nhấp để tải lên

preview
If set to true, the function will wait for the result to be generated and uploaded before returning the response. It allows you to get the result directly in the response. This property is only available through the API.
If enabled, the output will be encoded into a BASE64 string instead of a URL. This property is only available through the API.

Idle

$0.09per run·~11 / $1

ExamplesView all

Related Models

README

Phota Enhance

Phota Enhance restores and upscales images with AI-powered detail reconstruction. Upload a photo and get a sharper, cleaner, higher-quality result — whether you're restoring an old scan, fixing a compressed image, or preparing assets for high-resolution output. Supports batch processing and multiple output formats.

Why Choose This?

  • AI-powered detail reconstruction Recovers fine textures, sharp edges, and lost detail from low-quality or compressed source images.

  • Multiple output formats Export in JPEG, PNG, or WebP to fit any downstream workflow or delivery requirement.

  • Batch processing Generate multiple enhanced versions in a single run using the num_images parameter.

  • 4K output support Upscale to 4K resolution for print, broadcast, or archival use cases.

Parameters

ParameterRequiredDescription
imageYesSource image to enhance (URL or file upload).
num_imagesNoNumber of enhanced outputs to generate per run. Default: 1.
output_formatNoOutput file format: jpeg (default), png, or webp.

How to Use

  1. Upload your image — provide the photo you want to enhance via URL or drag-and-drop.
  2. Set num_images (optional) — generate multiple enhanced variations in one run.
  3. Choose output format — select jpeg, png, or webp based on your delivery needs.
  4. Submit — download your enhanced image.

Pricing

ResolutionCost per Image
Standard$0.09
4K$0.18

Billing Rules

  • Standard: $0.09 per image
  • 4K: $0.18 per image (2× base price)
  • Total cost = cost per image × num_images

Best Use Cases

  • Photo Restoration — Recover detail and clarity from old, faded, or damaged photographs.
  • Asset Upscaling — Prepare low-resolution images for high-resolution print or display output.
  • E-commerce — Sharpen and clean up product photography for marketplace and storefront use.
  • Content Production — Enhance compressed or low-quality source images before publishing.
  • Archival & Digitization — Improve scanned documents, film stills, and archival imagery.

Pro Tips

  • Use PNG output for images where lossless quality matters, such as product shots or illustrations.
  • Use WebP for web delivery — smaller file size with strong quality retention.
  • For best results, provide the highest-quality source image available — enhancement works best when there is usable detail to recover.
  • Use num_images to generate multiple variations and select the best result.

Notes

  • image is the only required field; all other parameters are optional.
  • Ensure image URLs are publicly accessible if using a link rather than a direct upload.
  • Please ensure your content complies with WaveSpeed AI's usage policies.
Accessibility:This website uses AI models provided by third parties.

Phota Enhance API — Quick start

Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/wavespeed-ai/phota/enhance with your input as JSON. The endpoint returns a prediction id; poll the prediction endpoint until status flips to completed, then read the output URL from data.outputs[0]. Examples for Phota Enhance below.

HTTP example
# Submit the prediction
curl -X POST "https://api.wavespeed.ai/api/v3/wavespeed-ai/phota/enhance" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $WAVESPEED_API_KEY" \
  -d '{
    "image": "https://example.com/your-input.jpg",
    "num_images": 1,
    "output_format": "jpeg",
    "enable_sync_mode": false,
    "enable_base64_output": false
}'

# Response includes a prediction id. Poll for the result:
curl -X GET "https://api.wavespeed.ai/api/v3/predictions/{request_id}/result" \
  -H "Authorization: Bearer $WAVESPEED_API_KEY"

# When status is "completed", read the output from data.outputs[0].
Node.js example
// npm install wavespeed
const WaveSpeed = require('wavespeed');

const client = new WaveSpeed(); // reads WAVESPEED_API_KEY from env

const result = await client.run("wavespeed-ai/phota/enhance", {
        "image": "https://example.com/your-input.jpg",
        "num_images": 1,
        "output_format": "jpeg",
        "enable_sync_mode": false,
        "enable_base64_output": false
});

console.log(result.outputs[0]); // → URL of the generated output
Python example
# pip install wavespeed
import wavespeed

output = wavespeed.run(
    "wavespeed-ai/phota/enhance",
    {
    "image": "https://example.com/your-input.jpg",
    "num_images": 1,
    "output_format": "jpeg",
    "enable_sync_mode": false,
    "enable_base64_output": false
}
)

print(output["outputs"][0])  # → URL of the generated output

Phota Enhance API — Frequently asked questions

What is the Phota Enhance API?

Phota Enhance is a WaveSpeedAI model for upscaling, exposed as a REST API on WaveSpeedAI. Phota Enhance improves image quality and detail. Supports batch enhancement up to 4 images with JPEG, PNG, or WebP output. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.

How do I call the Phota Enhance API?

POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your WaveSpeedAI API key in the Authorization header. Submission returns a prediction ID; poll the prediction endpoint until status flips to "completed", then read the output URL from the result. The playground generates a ready-to-paste code sample in Python, JavaScript, or cURL for whatever inputs you've set. Full request/response shape is documented at https://wavespeed.ai/docs/docs-api/wavespeed-ai/phota-enhance.

How much does Phota Enhance cost per run?

Phota Enhance starts at $0.090 per run. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.

What inputs does Phota Enhance accept?

Key inputs: `image`, `enable_base64_output`, `enable_sync_mode`, `num_images`, `output_format`. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at https://wavespeed.ai/docs/docs-api/wavespeed-ai/phota-enhance.

How do I get started with the Phota Enhance API?

Sign up for a free WaveSpeedAI account to claim starter credits, copy your API key from /accesskey, then call the endpoint shown in the API tab of the playground. The playground also auto-generates a code sample in Python, JavaScript, or cURL for the parameters you've set.

Can I use Phota Enhance outputs commercially?

Commercial usage rights depend on the model's license, set by its provider (WaveSpeedAI). The license summary appears on the model card above; see WaveSpeedAI's Terms of Service for platform-level conditions.