<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/rebuilding-automatic1111-with-gradio-workflow-84ss4qhex" -->

---
title: Rebuilding AUTOMATIC1111 with Gradio Workflow | daily.dev
description: Gradio's new gr.Workflow feature is used to rebuild most of AUTOMATIC1111's stable-diffusion-webui feature set as a single node-graph canvas called...
canonical: https://daily.dev/posts/rebuilding-automatic1111-with-gradio-workflow-84ss4qhex
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Rebuilding AUTOMATIC1111 with Gradio Workflow | daily.dev
og:description: Gradio's new gr.Workflow feature is used to rebuild most of AUTOMATIC1111's stable-diffusion-webui feature set as a single node-graph canvas called...
og:url: https://daily.dev/posts/rebuilding-automatic1111-with-gradio-workflow-84ss4qhex
og:image: https://api.daily.dev/og/posts/84sS4QhEx.png
og:image:alt: Rebuilding AUTOMATIC1111 with Gradio Workflow
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Rebuilding AUTOMATIC1111 with Gradio Workflow

**[Hugging Face](https://daily.dev/sources/huggingface)** · 10 min read · 0 upvotes · 0 comments

## Summary

Gradio's new gr.Workflow feature is used to rebuild most of AUTOMATIC1111's stable-diffusion-webui feature set as a single node-graph canvas called Workflow1111. The graph has 73 nodes across eleven media pipelines, covering text-to-image, hi-res fix, image-to-image, prompt matrix, VLM interrogation, detection-to-inpaint masking, ControlNet-style annotators, background removal, PNG metadata, and image-to-video. Nodes can be Python functions, models via InferenceClient, other Hugging Face Spaces, or dataset rows, and can run on remote inference, on a Space, or on your own GPU. Every output node automatically becomes a REST endpoint and, when mcp_server=True is set, an MCP tool that AI assistants like Claude Code or Cursor can call directly.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://huggingface.co/blog/gradio-workflow-1111>

## Questions this post answers

### How can I turn a Gradio app's outputs into MCP tools that Claude Code or Cursor can call?

Launch the Gradio app with mcp_server=True and every output node on the workflow canvas automatically becomes an MCP tool. Point an MCP client such as Claude Code or Cursor at the server URL (e.g. https://<space>.hf.space/gradio_api/mcp/) with an authentication header, and an agent can then call operations like image generation, prompt recovery, or object detection directly, with no glue code required.

_daily.dev surfaces workflow and MCP integration patterns for developers wiring AI agents into their tools._

### Can a Gradio Workflow node run a model on my own GPU instead of a remote Inference Provider?

Yes, because a Gradio Workflow fn node is just Python, it can load a model locally and run it on your own GPU instead of calling Inference Providers or a Space. Pointing bind= to a function that loads a local checkpoint and running .launch() on your own machine lets the workflow canvas drive local hardware, the same pattern used by the FastVideo/fastvideo-fasth3-preview app running on ZeroGPU.

_Developers deciding between cloud inference and local GPU setups can track these workflow patterns on daily.dev._

## Similar posts on daily.dev

- [Daggr Introduced as an Open-Source Python Library for Inspectable AI Workflows](https://daily.dev/posts/daggr-introduced-as-an-open-source-python-library-for-inspectable-ai-workflows-w5uxajhhs) · InfoQ · 4 upvotes · 0 comments
- [Any Custom Frontend with Gradio's Backend](https://daily.dev/posts/any-custom-frontend-with-gradio-s-backend-0v2eu317s) · Hugging Face · 10 upvotes · 1 comments

---

Tags: [#mcp](https://daily.dev/tags/mcp), [#workflow-orchestration](https://daily.dev/tags/workflow-orchestration), [#stable-diffusion](https://daily.dev/tags/stable-diffusion), [#gradio](https://daily.dev/tags/gradio)

[View this post on daily.dev](https://daily.dev/posts/rebuilding-automatic1111-with-gradio-workflow-84ss4qhex)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Rebuilding AUTOMATIC1111 with Gradio Workflow","url":"https://daily.dev/posts/rebuilding-automatic1111-with-gradio-workflow-84ss4qhex","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/rebuilding-automatic1111-with-gradio-workflow-84ss4qhex"},"datePublished":"2026-09-10T11:17:31.478Z","dateModified":"2026-09-10T11:17:55.159Z","description":"Gradio's new gr.Workflow feature is used to rebuild most of AUTOMATIC1111's stable-diffusion-webui feature set as a single node-graph canvas called...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c5c619d42fceb4e7876c6ae2a0dc1311?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c5c619d42fceb4e7876c6ae2a0dc1311?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hugging Face","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hugging Face","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/f1f55c67d81a4330acf5b90b26b0c8e1","url":"https://daily.dev/sources/huggingface"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/rebuilding-automatic1111-with-gradio-workflow-84ss4qhex","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"mcp,workflow-orchestration,stable-diffusion,gradio","timeRequired":"PT10M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hugging Face","item":"https://daily.dev/sources/huggingface"},{"@type":"ListItem","position":3,"name":"Rebuilding AUTOMATIC1111 with Gradio Workflow"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/rebuilding-automatic1111-with-gradio-workflow-84ss4qhex#faq","mainEntity":[{"@type":"Question","name":"How can I turn a Gradio app's outputs into MCP tools that Claude Code or Cursor can call?","acceptedAnswer":{"@type":"Answer","text":"Launch the Gradio app with mcp_server=True and every output node on the workflow canvas automatically becomes an MCP tool. Point an MCP client such as Claude Code or Cursor at the server URL (e.g. https://\u003cspace\u003e.hf.space/gradio_api/mcp/) with an authentication header, and an agent can then call operations like image generation, prompt recovery, or object detection directly, with no glue code required. daily.dev surfaces workflow and MCP integration patterns for developers wiring AI agents into their tools."}},{"@type":"Question","name":"Can a Gradio Workflow node run a model on my own GPU instead of a remote Inference Provider?","acceptedAnswer":{"@type":"Answer","text":"Yes, because a Gradio Workflow fn node is just Python, it can load a model locally and run it on your own GPU instead of calling Inference Providers or a Space. Pointing bind= to a function that loads a local checkpoint and running .launch() on your own machine lets the workflow canvas drive local hardware, the same pattern used by the FastVideo/fastvideo-fasth3-preview app running on ZeroGPU. Developers deciding between cloud inference and local GPU setups can track these workflow patterns on daily.dev."}}]}
```

