
{"id":5343,"date":"2025-04-12T05:30:37","date_gmt":"2025-04-11T21:30:37","guid":{"rendered":"https:\/\/infernews.com\/?page_id=5343"},"modified":"2025-08-12T00:48:53","modified_gmt":"2025-08-11T16:48:53","slug":"comfyui-api","status":"publish","type":"page","link":"https:\/\/infernews.com\/blog\/comfyui-api\/","title":{"rendered":"ComfyUI API"},"content":{"rendered":"<div class=\"vlp-link-container vlp-layout-spotlight-clone wp-block-visual-link-preview-link\"><a href=\"https:\/\/modal.com\/docs\/examples\/comfyapp\" class=\"vlp-link\" title=\"Run Flux on ComfyUI as an API\" rel=\"nofollow\" target=\"_blank\"><\/a><div class=\"vlp-layout-zone-main\"><span class=\"vlp-block-0 vlp-link-title\">Run Flux on ComfyUI as an API<\/span><div class=\"vlp-block-1 vlp-link-summary\">In this example, we show you how to turn a ComfyUI workflow into a scalable API endpoint.<\/div><div class=\"vlp-block-2 vlp-link-image\"><img decoding=\"async\" src=\"https:\/\/modal.com\/docs\/social-image.png?title=Run+Flux+on+ComfyUI+as+an+API&amp;socialType=docs\" style=\"max-width: 1024px; max-height: 1024px\" \/><\/div><\/div><\/div>\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"lyte-wrapper\" title=\"Extending ComfyUI with Python: Making API Calls to a LAN Server\" style=\"width:853px;max-width:100%;margin:5px auto;\"><div class=\"lyMe\" id=\"WYL_oVS1B1gflL8\" itemprop=\"video\" itemscope itemtype=\"https:\/\/schema.org\/VideoObject\"><div><meta itemprop=\"thumbnailUrl\" content=\"https:\/\/infernews.com\/blog\/wp-content\/plugins\/wp-youtube-lyte\/lyteCache.php?origThumbUrl=https%3A%2F%2Fi.ytimg.com%2Fvi%2FoVS1B1gflL8%2Fhqdefault.jpg\" \/><meta itemprop=\"embedURL\" content=\"https:\/\/www.youtube.com\/embed\/oVS1B1gflL8\" \/><meta itemprop=\"duration\" content=\"PT5M35S\" \/><meta itemprop=\"uploadDate\" content=\"2025-01-09T21:25:38Z\" \/><\/div><meta itemprop=\"accessibilityFeature\" content=\"captions\" \/><div id=\"lyte_oVS1B1gflL8\" data-src=\"https:\/\/infernews.com\/blog\/wp-content\/plugins\/wp-youtube-lyte\/lyteCache.php?origThumbUrl=https%3A%2F%2Fi.ytimg.com%2Fvi%2FoVS1B1gflL8%2Fhqdefault.jpg\" class=\"pL\"><div class=\"tC\"><div class=\"tT\" itemprop=\"name\">Extending ComfyUI with Python: Making API Calls to a LAN Server<\/div><\/div><div class=\"play\"><\/div><div class=\"ctrl\"><div class=\"Lctrl\"><\/div><div class=\"Rctrl\"><\/div><\/div><\/div><noscript><a href=\"https:\/\/youtu.be\/oVS1B1gflL8\" rel=\"nofollow\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/infernews.com\/blog\/wp-content\/plugins\/wp-youtube-lyte\/lyteCache.php?origThumbUrl=https%3A%2F%2Fi.ytimg.com%2Fvi%2FoVS1B1gflL8%2F0.jpg\" alt=\"Extending ComfyUI with Python: Making API Calls to a LAN Server\" width=\"853\" height=\"460\" \/><br \/>Watch this video on YouTube<\/a><\/noscript><meta itemprop=\"description\" content=\"#comfyui #aitools #python Python is powerful. ComfyUI is powerful. When you combine them together, the options at your disposal are endless. Here&#039;s how to use python to make calls to your ComfyUI server. Time Stamps Intro - 00:00 Nodes and Settings - 0:06 Building the Workflow - 0:42 Reviewing the Python Script - 2:59 Making Our First API Request - 4:43 Workflow: https:\/\/promptingpixels.com\/comfyui-with-python\/ Resources: ComfyUI Tooling Node - https:\/\/github.com\/Acly\/comfyui-tooling-nodes Important links: - \ud83d\udc7e Discord: https:\/\/discord.gg\/wWBUndrdTK - \ud83c\udf10 Website: https:\/\/promptingpixels.com\/\"><\/div><\/div><div class=\"lL\" style=\"max-width:100%;width:853px;margin:5px auto;\"><\/div><figcaption><\/figcaption><\/figure>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"googlesitekit_rrm_CAowvqSiDA:productID":"","footnotes":""},"class_list":["post-5343","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/pages\/5343","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/comments?post=5343"}],"version-history":[{"count":0,"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/pages\/5343\/revisions"}],"wp:attachment":[{"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/media?parent=5343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}