---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://framesfield.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
title: "ComfyUI FLUX High-Res 4x Upscale Graph"
description: "Ready-to-run stock ComfyUI API JSON graph that upscales any 1MP AI still (FLUX.1 Schnell, FLUX 3 1K, Ideogram 4.6) locally for $0 via 4x-UltraSharp (`UpscaleModelLoader` -> `ImageUpscaleWithModel`), writing both a 300-DPI 4x print master (4096px) and a Lanczos-oversampled 2x retina web master (2048px) with zero custom node packs."
canonical: "https://framesfield.com/skills/comfyui-flux-upscale-and-inpaint-graph"
---

# ComfyUI FLUX High-Res 4x Upscale Graph

> Ready-to-run stock ComfyUI API JSON graph that upscales any 1MP AI still (FLUX.1 Schnell, FLUX 3 1K, Ideogram 4.6) locally for $0 via 4x-UltraSharp (`UpscaleModelLoader` -> `ImageUpscaleWithModel`), writing both a 300-DPI 4x print master (4096px) and a Lanczos-oversampled 2x retina web master (2048px) with zero custom node packs.

- **Canonical URL:** https://framesfield.com/skills/comfyui-flux-upscale-and-inpaint-graph
- **Raw Payload URL:** https://framesfield.com/raw/skills/comfyui-flux-upscale-and-inpaint-graph
- **Asset Type:** ComfyUI JSON
- **Compatible Hosts:** ComfyUI, Claude Code, Python API
- **Target Creative Tool:** ComfyUI / 4x-UltraSharp / Print 300 DPI
- **License:** MIT
- **Last Verified:** 2026-11-30
- **Source Reference:** https://github.com/comfyanonymous/ComfyUI

## Setup & Install

```bash
curl -fsSL https://framesfield.com/raw/skills/comfyui-flux-upscale-and-inpaint-graph -o flux-4x-upscale-print.api.json

```

## Copyable Asset (flux-4x-upscale-print.api.json)

```json
{
  "1": {
    "class_type": "LoadImage",
    "inputs": {
      "image": "input_plate.png"
    }
  },
  "2": {
    "class_type": "UpscaleModelLoader",
    "inputs": {
      "model_name": "4x-UltraSharp.pth"
    }
  },
  "3": {
    "class_type": "ImageUpscaleWithModel",
    "inputs": {
      "upscale_model": ["2", 0],
      "image": ["1", 0]
    }
  },
  "4": {
    "class_type": "SaveImage",
    "inputs": {
      "images": ["3", 0],
      "filename_prefix": "framesfield_4x_print_master"
    }
  },
  "5": {
    "class_type": "ImageScaleBy",
    "inputs": {
      "image": ["3", 0],
      "upscale_method": "lanczos",
      "scale_by": 0.5
    }
  },
  "6": {
    "class_type": "SaveImage",
    "inputs": {
      "images": ["5", 0],
      "filename_prefix": "framesfield_2x_lanczos_retina"
    }
  }
}
```

## Example Input

```text
Place a 1024x1024 FLUX.1 Schnell or FLUX 3 1K product hero in ComfyUI/input/input_plate.png and run Option A.
```

## Expected Output

```text
Writes two lossless PNG files to ComfyUI/output/:
1) framesfield_4x_print_master_00001_.png (4096x4096 = 16.8 MP, ready for 13.6" x 13.6" @ 300 DPI print)
2) framesfield_2x_lanczos_retina_00001_.png (2048x2048 = 4.19 MP Lanczos-oversampled web hero plate)
```

## Requirements

- Local ComfyUI installation (runs cleanly even on 6GB–8GB consumer VRAM cards with zero custom node packs required)
- Download `4x-UltraSharp.pth` (or `RealESRGAN_x4plus.pth`) into `ComfyUI/models/upscale_models/`
- Source PNG copied into `ComfyUI/input/input_plate.png` (or swap Node 1 `image` filename)

## Known Limits

- Neural upscalers preserve exact product logos and printed typography far more safely than high-denoise diffusion img2img passes—avoid running denoise > 0.25 over brand packaging labels
- Do not upscale blurry low-res JPEGs with heavy compression artifacts; always feed lossless PNG masters

## Implementation Notes

## Bridge 1MP AI images to 300 DPI print and Retina web delivery

Review exact 300 DPI pixel formulas in [Guide 09: AI Image Craft, Vector SVGs and Brand Design Systems](/guides/ai-image-and-brand-design-systems-guide), batch-generate Apache 2.0 local base stills with [FLUX.1 Schnell](/specs/flux-1-schnell) or [Skill 10: ComfyUI FLUX Keyframe Batch Graph](/skills/comfyui-flux-kontext-keyframe-graph), and encode your finished 2× hero master to responsive WebP/AVIF via [Skill 31: Sharp WebP, AVIF and Responsive Image Skill](/skills/sharp-responsive-webp-image-pipeline-skill).
