# Ideogram Upscale > Ideogram's image upscaler that enhances resolution while preserving design details and typography ## Quick Reference - Model ID: ideogram-upscale - Creator: Ideogram - Status: active - Base URL: https://api.lumenfall.ai/openai/v1 ## Specifications - Max Input Images: 1 - Input Modalities: image - Output Modalities: image - Supported Modes: Upscale ## API Parameters The compiled parameter schema for this model is available via the API: `GET /v1/models/ideogram-upscale?schema=true`. ### Media Inputs - `image` (file) — REQUIRED: Input image to upscale - `scale_factor` (number) — REQUIRED: Factor by which to upscale the image ### Output & Format - `response_format` (string): How to return the image. Default: url. Values: url, b64_json - `output_format` (string): Output image format. Values: png, jpeg, gif, webp, avif - `output_compression` (integer): Compression level for lossy formats (JPEG, WebP, AVIF) - `n` (integer): Number of images to generate. Default: 1 ### Additional Parameters - `detail` (integer): Amount of detail to add (1-100). Only available via fal - `expand_prompt` (boolean): Whether to use Ideogram's prompt expansion. Only available via fal - `resemblance` (integer): Resemblance to input (1-100). Only available via fal - `sync_mode` (boolean): Wait for the image to be generated before returning. Only available via fal ## Model Identifiers - Primary Slug: ideogram-upscale ## Dates - Released: June 2024 ## Tags image-upscaling, image-enhancement ## Available Providers ### fal.ai - Config Key: fal/ideogram-upscale - Provider Model ID: fal-ai/ideogram/upscale - Pricing: $0.060/image - Source: https://fal.ai/models/fal-ai/ideogram/upscale ## 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=ideogram-upscale" \ -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: 'ideogram-upscale', 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="ideogram-upscale", 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 Ideogram Upscale cost? Ideogram Upscale starts at $0.06 per image through Lumenfall. Pricing varies by provider. Lumenfall does not add any markup to provider pricing. ### How do I use Ideogram Upscale via API? You can use Ideogram Upscale through Lumenfall's OpenAI-compatible API. Send requests to the unified endpoint with model ID "ideogram-upscale". Code examples are available in Python, JavaScript, and cURL. ### Which providers offer Ideogram Upscale? Ideogram Upscale is available through fal.ai on Lumenfall. Lumenfall automatically routes requests to the best available provider. ## Links - Model Page: https://lumenfall.ai/models/ideogram/ideogram-upscale - About: https://lumenfall.ai/models/ideogram/ideogram-upscale/about - Providers, Pricing & Performance: https://lumenfall.ai/models/ideogram/ideogram-upscale/providers - API Reference: https://lumenfall.ai/models/ideogram/ideogram-upscale/api - Benchmarks: https://lumenfall.ai/models/ideogram/ideogram-upscale/benchmarks - Use Cases: https://lumenfall.ai/models/ideogram/ideogram-upscale/use-cases - Playground: https://lumenfall.ai/playground?model=ideogram-upscale - API Documentation: https://docs.lumenfall.ai