Recraft: Restauración nítida de Ampliar Imagen - After
Recraft: Restauración nítida de Ampliar Imagen - Before

The 'Recraft: Crisp Upscale Image Restoration' workflow is designed to transform low-resolution or noisy images into high-quality, high-resolution outputs. This workflow leverages the Recraft model, renowned for its ability to enhance image details while minimizing artifacts, thus preserving the natural look of the original image. The process begins with the LoadImage node, which imports the image into the workflow. The RecraftCrispUpscaleNode then processes the image, applying sophisticated algorithms to upscale and refine the image quality. Finally, the SaveImage node outputs the enhanced image, ready for use.

This workflow is particularly useful for applications where image quality is paramount, such as in digital art restoration, professional photography, or any scenario requiring high-resolution visuals. By utilizing the ImageCompare node, users can assess the before and after states of their images, ensuring that the enhancements meet their expectations. The MarkdownNote node provides a space for users to document their workflow process or any specific adjustments made, facilitating easy replication or sharing of results.

API

Usa este flujo de trabajo desde código

Cada flujo de trabajo de Comfy es un grafo JSON. El siguiente payload es este flujo de trabajo, exactamente como lo ejecuta ComfyUI: descárgalo desde la URL, guárdalo en control de versiones o cárgalo en ComfyUI y ejecútalo nodo por nodo.

utility_recraft_crisp_image_upscale.json
Obteniendo JSON del flujo de trabajo…

Ejecuta desde TypeScript o Python con el Comfy SDK. El mismo código funciona en Comfy Cloud o en un ComfyUI propio: solo cambia la URL base.

// Install (beta)
npm i @comfyorg/sdk

// Run "Recraft: Restauración nítida de Ampliar Imagen" (TypeScript)
import { Comfy } from "@comfyorg/sdk";

const client = new Comfy({ apiKey: "comfyui-..." });

// This workflow, exported in API format (see note below)
const wf = await client.workflows.fromFile("utility_recraft_crisp_image_upscale_api.json");

const asset = client.assets.fromFile("input.png");
wf.setInput("2", "image", asset); // LoadImage

const job = await client.run(wf);
await job.getOutputs("3")[0].toFile("output.png"); // SaveImage

El SDK utiliza un flujo de trabajo en formato API: abre este flujo de trabajo en ComfyUI y usa Archivo → Exportar flujo de trabajo (API).

El acceso a la API de Comfy Cloud requiere un plan con clave API.

Preguntas frecuentes

Preguntas Frecuentes

Ver todos los workflows
Showing 30 of 30 templates