{"version":"1","model":{"id":"fal-ai/esrgan","name":"ESRGAN","kind":"image","availability":"available","available":true,"restricted":false,"api_key_only":false,"description":"ESRGAN — deep GAN-based upscaling for sharp, artifact-free results with anime and realistic options.","categories":["enhance"],"prompt_required":false,"prompt_supported":true,"supports":{"referenceImage":true},"requires":{"referenceImage":true},"aspect_ratios":[],"resolutions":[],"durations":[],"output_formats":["png","jpeg"],"max_images":1,"base_credits":1,"api_gross_margin_percent":20,"added_at":"2026-05-05","popularity_rank":201,"example_prompt":"Upload any photo — ESRGAN uses a deep GAN network to produce sharp, artifact-free upscaled results.","preview":{"image":"https://cdn.artemotion.ai/file/artemotion-ai-bckt/model-previews/esrgan-sm.webp"},"schema_url":"/api/v1/models?id=fal-ai%2Fesrgan","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://www.artemotion.ai/api/v1/models?id=fal-ai%2Fesrgan","title":"ESRGAN generation request","description":"Request body accepted by POST /api/v1/generate for fal-ai/esrgan.","type":"object","properties":{"model_id":{"type":"string","const":"fal-ai/esrgan","description":"ArtEmotion model identifier."},"extra":{"type":"object","additionalProperties":true,"description":"Model-specific settings may also be nested here."},"max_credits":{"type":"number","minimum":1,"description":"Reject before submission if the estimated list price exceeds this cap."},"webhook_url":{"type":"string","format":"uri","maxLength":2048},"webhook_secret":{"type":"string","maxLength":512},"folder_id":{"type":"string"},"prompt":{"type":"string"},"model":{"title":"Model","description":"Model to use for upscaling","default":"RealESRGAN_x4plus","type":"string","enum":["RealESRGAN_x4plus","RealESRGAN_x2plus","RealESRGAN_x4plus_anime_6B","RealESRGAN_x4_v3","RealESRGAN_x4_wdn_v3","RealESRGAN_x4_anime_v3"]},"face":{"title":"Face","description":"Upscaling a face","default":false,"type":"boolean"},"scale":{"title":"Scale","description":"Rescaling factor","default":2,"type":"number","minimum":1,"maximum":8,"multipleOf":0.5},"tile":{"title":"Tile","description":"Tile size (0 = no tile). Set to 400 or 200 if running out of GPU memory.","default":0,"type":"number","multipleOf":1},"output_format":{"title":"Output Format","description":"Output image format.","default":"png","type":"string","enum":["png","jpeg"]},"reference_image_url":{"type":"string","format":"uri"}},"required":["model_id","reference_image_url"],"additionalProperties":false},"parameters":[{"key":"model","label":"Model","type":"select","default":"RealESRGAN_x4plus","options":["RealESRGAN_x4plus","RealESRGAN_x2plus","RealESRGAN_x4plus_anime_6B","RealESRGAN_x4_v3","RealESRGAN_x4_wdn_v3","RealESRGAN_x4_anime_v3"],"description":"Model to use for upscaling"},{"key":"face","label":"Face","type":"toggle","default":false,"description":"Upscaling a face"},{"key":"scale","label":"Scale","type":"number","default":2,"min":1,"max":8,"step":0.5,"description":"Rescaling factor"},{"key":"tile","label":"Tile","type":"number","default":0,"step":1,"description":"Tile size (0 = no tile). Set to 400 or 200 if running out of GPU memory."},{"key":"output_format","label":"Output Format","type":"select","default":"png","options":["png","jpeg"],"description":"Output image format."}]}}