Skip to main content
ArtEmotion
Image

ESRGAN

Credit-based pricing. Supports reference images.

ESRGAN preview
Output
image

Inputs

  • Reference image (required)

Example prompt

Upload any photo — ESRGAN uses a deep GAN network to produce sharp, artifact-free upscaled results.
Try this prompt →
LLM-ready

API & LLM schema

Exact request contract for this model. Agents can fetch it from /api/v1/models?id=fal-ai/esrgan.

POST/api/v1/generate13 fields · 2 required
FieldTypeRequirementContract
model_idconstantRequiredArtEmotion model identifier.
extraobjectOptionalModel-specific settings may also be nested here.
max_creditsnumberOptionalReject before submission if the estimated list price exceeds this cap. · Range: 1–…
webhook_urlstringOptionalFormat: uri
webhook_secretstringOptionalOptional model input.
folder_idstringOptionalOptional model input.
promptstringOptionalOptional model input.
modelstringOptionalModel to use for upscaling · Allowed: RealESRGAN_x4plus, RealESRGAN_x2plus, RealESRGAN_x4plus_anime_6B, RealESRGAN_x4_v3, RealESRGAN_x4_wdn_v3, RealESRGAN_x4_anime_v3 · Default: RealESRGAN_x4plus
facebooleanOptionalUpscaling a face · Default: false
scalenumberOptionalRescaling factor · Default: 2 · Range: 1–8
tilenumberOptionalTile size (0 = no tile). Set to 400 or 200 if running out of GPU memory. · Default: 0
output_formatstringOptionalOutput image format. · Allowed: png, jpeg · Default: png
reference_image_urlstringRequiredFormat: uri
Minimal request example
{
  "model_id": "fal-ai/esrgan",
  "reference_image_url": "https://example.com/reference_image"
}
Raw JSON 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
}

FAQ

How much does ESRGAN cost on ArtEmotion?

Credit-based pricing. You pay in ArtEmotion credits — every plan and top-up converts USD to credits at a fixed rate.

Do I get my credits back if ESRGAN fails?

Yes — failed generations are never charged. The credits are released back to your balance automatically.

Can I call ESRGAN from the API?

Yes. Use POST /api/v1/generate with model_id: "fal-ai/esrgan". See the API reference for the full schema.

Where are my generations stored?

Every output is saved to your personal Library. You can export or delete everything any time from Privacy & deletion.

Ready to generate with ESRGAN?

Start now →

No commitment. New accounts get 50 free credits on signup. See pricing.