# Google Upscaler > Google's straightforward image upscaler that supports 2x or 4x magnification with minimal configuration ## Quick Reference - Model ID: google-upscaler - Creator: Google - Status: active - Base URL: https://api.lumenfall.ai/openai/v1 ## Specifications - Max Input Images: 1 - Input Modalities: image - Output Modalities: image - Supported Modes: Upscale ## Model Identifiers - Primary Slug: google-upscaler ## Dates - Released: December 2023 ## Tags image-upscaling, super-resolution ## Available Providers ### Replicate - Config Key: replicate/google-upscaler - Provider Model ID: google/upscaler - Pricing: $0.0050/image - Note: Replicate bills this model by hardware seconds; per-image cost varies. Approximation based on typical run time. - Source: https://replicate.com/google/upscaler ## Arena Benchmarks ### Weave Warfare - Elo: 988 - Record: 0W / 13L / 0T (13 battles) - Rank: #4 of 4 ## Image Gallery 1 images available for this model. Browse all at https://lumenfall.ai/models/google/google-upscaler/gallery ### Arena Competition Results - [Weave Warfare](https://assets.lumenfall.ai/Tn6lsQTXiSCQkxhpiI4KuFHXkHdciNyhKU7GXZM9OMM/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/ckyeykzdav8ne4co3osh96w56nlf@jpeg): #4 of 4 (Elo 988) ## Code Examples ### Upscale (/v1/images/edits) #### cURL curl -X POST \ https://api.lumenfall.ai/openai/v1/images/edits \ -H "Authorization: Bearer $LUMENFALL_API_KEY" \ -F "model=google-upscaler" \ -F "image=@source.png" \ -F "prompt=Add a starry night sky to this image" \ -F "size=1024x1024" # Response: # { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] } #### JavaScript import OpenAI from 'openai'; import fs from 'fs'; const client = new OpenAI({ apiKey: 'YOUR_API_KEY', baseURL: 'https://api.lumenfall.ai/openai/v1' }); const response = await client.images.edit({ model: 'google-upscaler', image: fs.createReadStream('source.png'), prompt: 'Add a starry night sky to this image', size: '1024x1024' }); // { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } console.log(response.data[0].url); #### Python from openai import OpenAI client = OpenAI( api_key="YOUR_API_KEY", base_url="https://api.lumenfall.ai/openai/v1" ) response = client.images.edit( model="google-upscaler", image=open("source.png", "rb"), prompt="Add a starry night sky to this image", size="1024x1024" ) # { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } print(response.data[0].url) ## Frequently Asked Questions ### How much does Google Upscaler cost? Google Upscaler starts at $0.005 per image through Lumenfall. Pricing varies by provider. Lumenfall does not add any markup to provider pricing. ### How do I use Google Upscaler via API? You can use Google Upscaler through Lumenfall's OpenAI-compatible API. Send requests to the unified endpoint with model ID "google-upscaler". Code examples are available in Python, JavaScript, and cURL. ### Which providers offer Google Upscaler? Google Upscaler is available through Replicate on Lumenfall. Lumenfall automatically routes requests to the best available provider. ## Links - Model Page: https://lumenfall.ai/models/google/google-upscaler - About: https://lumenfall.ai/models/google/google-upscaler/about - Providers, Pricing & Performance: https://lumenfall.ai/models/google/google-upscaler/providers - API Reference: https://lumenfall.ai/models/google/google-upscaler/api - Benchmarks: https://lumenfall.ai/models/google/google-upscaler/benchmarks - Use Cases: https://lumenfall.ai/models/google/google-upscaler/use-cases - Gallery: https://lumenfall.ai/models/google/google-upscaler/gallery - Playground: https://lumenfall.ai/playground?model=google-upscaler - API Documentation: https://docs.lumenfall.ai