This ComfyUI workflow, titled '2.3 Creator: Image Upscale & Analysis,' is designed to enhance image resolution while simultaneously generating a detailed prompt from the image using the Z Image Turbo model. The workflow employs a combination of nodes, including LoadImage, SaveImage, and Florence2Run, to effectively upscale an image and analyze its content. The Florence2Run node uses the Florence-2 multimodal model to extract detailed information from the image, such as object attributes, spatial relationships, and scene context, which are then used to create a comprehensive prompt. This dual approach not only improves the visual quality of the image but also enriches the metadata associated with it, making it particularly useful for applications that require both high-quality visuals and detailed descriptive data.
The upscaling process is achieved through diffusion techniques that increase the image's resolution by adding denoised pixels, thereby preserving the original content and structure while enhancing clarity. The workflow uses a low denoise value in the Z Image Turbo model to ensure that the upscaled image retains its original details. This makes it an excellent tool for applications where image quality is paramount, such as digital art, photography, and media production. By combining image upscaling with automatic image analysis, this workflow offers a comprehensive solution for enhancing and understanding visual content.
API
Use this workflow from code
Every Comfy workflow is a JSON graph. The payload below is this workflow, exactly as ComfyUI runs it — fetch it from the URL, keep it in version control, or load it in ComfyUI and run it node by node.
GET https://comfy.org/workflows/download/4b042b6638a6.jsonFetching workflow JSON…
Run it from Python or TypeScript with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.
# Install (beta)
pip install comfy-sdk # Python
npm i @comfyorg/sdk # TypeScript
# Run this workflow (Python)
from comfy_sdk import Comfy
client = Comfy(api_key="comfyui-...")
wf = client.workflows.from_file("workflow_api.json")
job = client.run(wf)
for output in job.get_outputs("<output-node-id>"):
output.to_file(output.name)The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API). API access requires a Comfy Cloud plan with an API key. SDK docs · Get an API key
FAQ
















