{"product_id":"n8n-ai-agent-workflow-cnaps-mcp-image-upscale-4x","title":"n8n AI Agent Workflow: CNAPS MCP Image Upscale 4x","description":"\u003ch3\u003eUpscale images 4x with an n8n AI Agent connected to CNAPS.ai MCP—models chosen on the fly\u003c\/h3\u003e\n\u003cp\u003eThis n8n AI Agent workflow sends your image (via URL) to \u003cstrong\u003eCNAPS.ai\u003c\/strong\u003e through the \u003cstrong\u003eMCP server\u003c\/strong\u003e, lets the agent select the best media model from \u003cstrong\u003e69 AI models\u003c\/strong\u003e, runs a complete processing chain, and returns the finished \u003cstrong\u003eupscaled 4x image\u003c\/strong\u003e back in chat.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eChat request trigger:\u003c\/strong\u003e The \u003cstrong\u003en8nn-nodes-langchainchat trigger\u003c\/strong\u003e receives your prompt (e.g., “upscale this image 4x”) along with a file URL.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eClaude interprets the task:\u003c\/strong\u003e The agent uses \u003cstrong\u003en8nn-nodes-langchainlm chat anthropic\u003c\/strong\u003e to understand the intent and determine the required media operation.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCalls CNAPS.ai via MCP:\u003c\/strong\u003e The workflow uses \u003cstrong\u003en8nn-nodes-langchainmcp client tool\u003c\/strong\u003e to:\n    \u003cul\u003e\n      \u003cli\u003erun \u003cem\u003esuggest_flow\u003c\/em\u003e to choose a model,\u003c\/li\u003e\n      \u003cli\u003euse \u003cem\u003eupload_file\u003c\/em\u003e to register the input,\u003c\/li\u003e\n      \u003cli\u003euse \u003cem\u003ecreate_flow\u003c\/em\u003e to build the processing chain.\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWaits for completion:\u003c\/strong\u003e The agent polls with \u003cem\u003eget_flow\u003c\/em\u003e until the run finishes.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReturns the output URL:\u003c\/strong\u003e The workflow posts the resulting upscaled file URL back into the chat.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eAutomation for creators: upscale product photos 4x before publishing.\u003c\/li\u003e\n  \u003cli\u003eSaaS ops: improve image quality in bulk using a single chat endpoint.\u003c\/li\u003e\n  \u003cli\u003eEngineering workflows: reuse the same agent flow as CNAPS.ai adds new models—no workflow rewiring needed.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCNAPS.ai MCP endpoint:\u003c\/strong\u003e \u003ccode\u003ehttps:\/\/mcp.cnaps.ai\/mcp\u003c\/code\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eServer transport:\u003c\/strong\u003e \u003cstrong\u003eHTTP Streamable\u003c\/strong\u003e (CNAPS.ai has no SSE endpoint, so SSE won’t connect)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAuthentication:\u003c\/strong\u003e \u003cstrong\u003eHeader Auth\u003c\/strong\u003e with credential name \u003cstrong\u003ex-api-key\u003c\/strong\u003e; value is your CNAPS.ai API key (ensure allowed domains include \u003cstrong\u003emcp.cnaps.ai\u003c\/strong\u003e)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes\/tools used:\u003c\/strong\u003e \u003cem\u003en8nn-nodes-langchainagent\u003c\/em\u003e, \u003cem\u003en8nn-nodes-langchainchat trigger\u003c\/em\u003e, \u003cem\u003en8nn-nodes-langchainmcp client tool\u003c\/em\u003e, \u003cem\u003en8nn-nodes-langchainlm chat anthropic\u003c\/em\u003e (plus a sticky note for context)\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45824201752755,"sku":"N8N-18171","price":45.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/vw931Xe_Zb6pLJzIM0LLW_AmidRBuS.png?v=1786612194","url":"https:\/\/buyflowscripts.com\/products\/n8n-ai-agent-workflow-cnaps-mcp-image-upscale-4x","provider":"N8N Commerce","version":"1.0","type":"link"}