Google Upscaler

AI Image Editing Model

Image #4 $ · 0.5¢

Google's straightforward image upscaler that supports 2x or 4x magnification with minimal configuration

Google Upscaler API OpenAI-compatible

Base URL
https://api.lumenfall.ai/openai/v1
Model
google-upscaler

Code Examples

Upscale

/v1/images/edits
curl -X POST \
  https://api.lumenfall.ai/openai/v1/images/edits \
  -H "Authorization: Bearer $LUMENFALL_API_KEY" \
  -F "model=google-upscaler" \
  -F "[email protected]" \
  -F "prompt=Add a starry night sky to this image" \
  -F "size=1024x1024"
# Response:
# { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] }

Parameter Reference

Required Supported Not available

Media Inputs

Parameter Type Description Modes
image file Required. Input image to upscale
Single image per request.
Upscale
scale_factor number Required. Factor by which to upscale the image
x2 x4
Upscale

Output & Format

Parameter Type Description Modes
response_format string How to return the image
url b64_json
Default: "url"
Upscale
output_format string Output image format
png jpeg gif webp avif
Gateway converts to requested format if provider doesn't support it natively.
Upscale
output_compression integer Compression level for lossy formats (JPEG, WebP, AVIF)
Upscale
n integer Number of images to generate
Default: 1
Gateway generates multiple images in parallel even if provider only supports 1.
Upscale

Additional Parameters

Provider-specific passthrough fields, available only when the request is routed to the listed provider.

Parameter Type Description Modes
replicate
compression_quality integer Compression quality for output (1-100)
Upscale

Parameter Normalization

How we handle parameters across different providers

Not every provider speaks the same language. When you send a parameter, we handle it in one of four ways depending on what the model supports:

Behavior What happens Example
passthrough Sent as-is to the provider style, quality
renamed Same value, mapped to the field name the provider expects prompt
converted Transformed to the provider's native format size
emulated Works even if the provider has no concept of it n, response_format

Parameters we don't recognize pass straight through to the upstream API, so provider-specific options still work.