
This ComfyUI workflow offers a vivid foray into the world of artistic image generation, utilizing the power of Stable Diffusion 1.5. By leveraging sophisticated nodes like KSampler and CLIPTextEncode, users can transform simple text prompts into visually stunning imagery. The workflow is designed to harness the nuances of Stable Diffusion, trained on 512x512 datasets, ensuring high-quality results for appropriately sized images. Whether you're crafting a picturesque landscape with 'beautiful scenery nature glass bottle' or experimenting with abstract concepts like 'purple galaxy bottle,' the combination of nodes in this workflow allows for intricate detail and creative depth.
The workflow's structure, which includes steps for loading models, setting image sizes, and crafting prompts, provides a seamless experience for both novice and experienced users. The inclusion of a MarkdownNote node offers a layer of documentation, making it easy to annotate and iterate on creative projects. The use of positive and negative prompts further enhances creative control, enabling users to specify and refine the desired visual outcomes effectively. Overall, this workflow is a testament to the creative possibilities unlocked by advanced AI models and intuitive UI design.
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/404250f61d0a.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














