{"id":3716,"date":"2024-08-08T19:17:12","date_gmt":"2024-08-08T17:17:12","guid":{"rendered":"https:\/\/www.robinglauser.ch\/blog\/?p=3716"},"modified":"2024-08-24T10:48:48","modified_gmt":"2024-08-24T08:48:48","slug":"how-to-setup-flux-model-locally-with-pinokio","status":"publish","type":"post","link":"https:\/\/www.robinglauser.ch\/blog\/2024\/08\/08\/how-to-setup-flux-model-locally-with-pinokio\/","title":{"rendered":"How to Setup Flux AI Model Locally with Pinokio"},"content":{"rendered":"<p>If you want to try out the new Flux model locally and don&#8217;t want to waste hours trying to set up Python, Conda, PyTorch, etc., I&#8217;ve got just the thing for you! This guide will walk you through the Flux Pinokio setup, making local AI image generation a breeze.<\/p>\n<p>With <a href=\"https:\/\/pinokio.computer\/\" target=\"_blank\" rel=\"noopener\">https:\/\/pinokio.computer\/<\/a>, you can easily install Flux and other models without risking your existing Python installation. It provides a nice, user-friendly interface to install, reset, and uninstall models.<\/p>\n<div class=\"alert alert-info\">\n<h4>What is Pinokio?<\/h4>\n<p>Pinokio is a self-contained platform that lets you install apps in an isolated manner.<\/p>\n<ol>\n<li><strong>Isolated Environment:<\/strong> No need to worry about messing up your global system configurations and environments<\/li>\n<li><strong>Batteries Included:<\/strong> No need to manually install required programs just to install something (such as <strong>ffmpeg<\/strong>, <strong>node.js<\/strong>, <strong>visual studio<\/strong>, <strong>conda<\/strong>, <strong>python<\/strong>, <strong>pip<\/strong>, etc.). Pinokio takes care of it automatically.<\/li>\n<\/ol>\n<p>To achieve this, Pinokio <strong>stores everything under a single isolated folder (&#8220;pinokio home&#8221;)<\/strong>, so it never has to rely on your system-wide configs and programs but runs everything in a self-contained manner.<\/p>\n<p>You can set the <strong>pinokio home<\/strong> folder when you first set up Pinokio, as well as later change it to a new location from the <strong>settings<\/strong> tab.<\/p>\n<p><small>Taken straight from here: <a href=\"https:\/\/program.pinokio.computer\/#\/?id=pinokio-file-system\" target=\"_blank\" rel=\"noopener\">https:\/\/program.pinokio.computer\/#\/?id=pinokio-file-system<\/a><\/small><\/p>\n<\/div>\n<figure class=\"figure\"><img decoding=\"async\" class=\"figure-img img-fluid rounded\" src=\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2024\/08\/map-1024x864.jpg\" alt=\"Flux Pinokio setup: image generator interface\" \/><figcaption class=\"figure-caption text-center\">https:\/\/pinokio.computer\/item?uri=https:\/\/github.com\/pinokiofactory\/flux-webui<\/figcaption><\/figure>\n<p>There is a Gradio interface, which you can see above, with which you can install to use the Flux model with no knowledge of Python just by following the instructions.<\/p>\n<h2>Flux Pinokio Setup: Installation Steps<\/h2>\n<ol>\n<li>First, download Pinokio by following the instructions on <a href=\"https:\/\/program.pinokio.computer\/#\/?id=install\" target=\"_blank\" rel=\"noopener\">https:\/\/program.pinokio.computer\/#\/?id=install<\/a><\/li>\n<li>After installation, use the discover button on the menubar to get a list of installable apps:<br \/>\n<img decoding=\"async\" class=\"img-fluid\" src=\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2024\/08\/CleanShot-2024-08-08-at-18.05.05.png\" alt=\"Discover button in Flux Pinokio setup\" \/><\/li>\n<li>Select the flux-webui and click on it:<br \/>\n<img decoding=\"async\" class=\"img-fluid\" src=\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2024\/08\/CleanShot-2024-08-08-at-18.33.12-1024x413.png\" alt=\"Selecting flux-webui for Flux Pinokio setup\" \/><\/li>\n<li>Press download on the next screen:<br \/>\n<img decoding=\"async\" class=\"img-fluid\" src=\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2024\/08\/CleanShot-2024-08-08-at-18.33.58.png\" alt=\"Download screen in Flux Pinokio setup\" \/><\/li>\n<li>Confirm the directory and press download again. (No need to change the name, the default is fine.)<br \/>\n<img decoding=\"async\" class=\"img-fluid\" src=\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2024\/08\/CleanShot-2024-08-08-at-18.34.46.png\" alt=\"Confirming directory in Flux Pinokio setup\" \/><\/li>\n<li>Press install again for a third time (I promise we&#8217;ll be done soon)<br \/>\n<img decoding=\"async\" class=\"img-fluid\" src=\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2024\/08\/CleanShot-2024-08-08-at-18.35.26.png\" alt=\"Final install step in Flux Pinokio setup\" \/><\/li>\n<\/ol>\n<p>Now Pinokio will download and install all needed software to run the model.<\/p>\n<p><img decoding=\"async\" class=\"img-fluid\" src=\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2024\/08\/CleanShot-2024-08-08-at-18.35.50-1024x850.png\" alt=\"Installation process in Flux Pinokio setup\" \/><\/p>\n<p>After it has downloaded everything, you should see the Gradio interface, which will appear automatically:<\/p>\n<p><img decoding=\"async\" class=\"img-fluid\" src=\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2024\/08\/CleanShot-2024-08-08-at-18.37.03-1024x850.png\" alt=\"Gradio interface in Flux Pinokio setup\" \/><\/p>\n<p>Here you can (1) input your prompt, (2) change the model, (3,4) configure the height, (5) select the number of images to generate and (6) choose how many inference steps the model should do.<\/p>\n<h2>Generating an Image with Flux Pinokio Setup<\/h2>\n<p>Now we&#8217;ll try to generate an image. I&#8217;ve chosen &#8220;a black forest cake with the words &#8216;it works&#8217; written in icing&#8221; as my prompt, but you do as you like.<\/p>\n<p><img decoding=\"async\" class=\"img-fluid\" src=\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2024\/08\/CleanShot-2024-08-08-at-18.39.27-1024x850.png\" alt=\"Image generation prompt in Flux Pinokio setup\" \/><\/p>\n<p>The first time it runs, it will have to download the model, which can take a long time. You can watch the process and also check if you get errors by clicking on the Terminal entry on the left menubar.<\/p>\n<p><img decoding=\"async\" class=\"img-fluid\" src=\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2024\/08\/CleanShot-2024-08-08-at-18.39.39-1024x850.png\" alt=\"Terminal view during Flux Pinokio setup\" \/><\/p>\n<p>This might take a while (5-10 minutes depending on the internet connection), so lie back and get yourself some coffee or other beverage.<\/p>\n<p><button class=\"btn btn-primary\">Start 10-minute timer<\/button><\/p>\n<p>It won&#8217;t automatically switch back to the web UI, but when the last line looks like this:<\/p>\n<p>&#8220;(\u2026)pytorch_model-00002-of-00003.safetensors: 100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2589| 9.94G\/9.95G [04:49&lt;00:00, 113MB\/s]&#8221;<\/p>\n<p>Then it should be done and we can switch back.<\/p>\n<p>To switch back, press the &#8220;Open Web UI&#8221; in the menu on the left side.<\/p>\n<p><img decoding=\"async\" class=\"img-fluid\" src=\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2024\/08\/CleanShot-2024-08-08-at-18.46.14-1-1024x850.png\" alt=\"Accessing Web UI in Flux Pinokio setup\" \/><\/p>\n<p>Voil\u00e0, it works, and it even has great support for text and runs 100% locally. The first run took me around 377 seconds = 6 minutes on an M3 Max 128GB MacBook.<\/p>\n<p><img decoding=\"async\" class=\"img-fluid\" src=\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2024\/08\/CleanShot-2024-08-08-at-18.48.14-1024x850.png\" alt=\"First image generated with Flux Pinokio setup\" \/><\/p>\n<p>The next run only took me 20 seconds, with the model downloaded and cached:<\/p>\n<p><img decoding=\"async\" class=\"img-fluid\" src=\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2024\/08\/CleanShot-2024-08-08-at-18.52.32-1024x850.png\" alt=\"Subsequent image generation with Flux Pinokio setup\" \/><\/p>\n<p>And that&#8217;s it, you can now generate images locally with Flux.<\/p>\n<p>There are a lot of other fun apps to run with Pinokio which you can find here: <a href=\"https:\/\/pinokio.computer\/#explore\" target=\"_blank\" rel=\"noopener\">https:\/\/pinokio.computer\/#explore<\/a><\/p>\n<h2>FAQ<\/h2>\n<div class=\"card\">\n<div class=\"card-body\">\n<h5 class=\"card-title\">Q: I found this by googling &#8220;flux + Error while deserializing header: MetadataIncompleteBuffer&#8221; because I used ComfyUI. What should I do?<\/h5>\n<p class=\"card-text\">A: You have two options:<\/p>\n<ol>\n<li>Use the easier interface &#8220;flux-webui&#8221; as described in this Flux Pinokio setup tutorial.<\/li>\n<li>If you prefer to stick with ComfyUI, try a few more times. For me, the error was resolved by restarting ComfyUI and dragging the image with the metadata in again.<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<div class=\"card\">\n<div class=\"card-body\">\n<h5 class=\"card-title\">Q: I want to run the flux-dev model.<\/h5>\n<p class=\"card-text\">A: The naming is confusing, but FLUX.1-merged is Flux.1-dev with 8 steps. <a href=\"https:\/\/github.com\/pinokiofactory\/flux-webui\">https:\/\/github.com\/pinokiofactory\/flux-webui<\/a><\/p>\n<\/div>\n<\/div>\n<div class=\"card\">\n<div class=\"card-body\">\n<h5 class=\"card-title\">Q: I get an error when trying to run Flux.1-merged.<\/h5>\n<p class=\"card-text\">A: There was an update that fixes that. Remove the app and reinstall it again according to the above instructions. Updating didn&#8217;t work for me and gave me a &#8220;optimum package missing&#8221; error when trying to start it. Might be because I messed around, you can try and update it (First you have to stop it, else the update button doesn&#8217;t appear). But if the updated version gives you an error, just try and reinstall it and it should fix it.<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">If you want to try out the new Flux model locally and don&#8217;t want to waste hours trying to set up Python, Conda, PyTorch, etc., I&#8217;ve got just the thing for you! This guide will walk you through the Flux Pinokio setup, making local AI image generation a breeze. With https:\/\/pinokio.computer\/, you can easily install Flux and other models without &#8230; <a class=\"read-more\" href=\"https:\/\/www.robinglauser.ch\/blog\/2024\/08\/08\/how-to-setup-flux-model-locally-with-pinokio\/\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":3725,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[45],"tags":[339,457,459,453,458,456,455,342,460,454],"class_list":["post-3716","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-development","tag-ai","tag-ai-tutorial","tag-comfyui","tag-flux-model","tag-gradio-interface","tag-image-generation","tag-local-ai","tag-machine-learning","tag-metadataincompletebuffer-error","tag-pinokio"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Setup Flux AI Model Locally with Pinokio<\/title>\n<meta name=\"description\" content=\"Setup Flux AI with Pinokio for local AI image generation. No Python needed. Fixes ComfyUI &#039;MetadataIncompleteBuffer&#039; error.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.robinglauser.ch\/blog\/2024\/08\/08\/how-to-setup-flux-model-locally-with-pinokio\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Setup Flux AI Model Locally with Pinokio\" \/>\n<meta property=\"og:description\" content=\"Setup Flux AI with Pinokio for local AI image generation. No Python needed. Fixes ComfyUI &#039;MetadataIncompleteBuffer&#039; error.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.robinglauser.ch\/blog\/2024\/08\/08\/how-to-setup-flux-model-locally-with-pinokio\/\" \/>\n<meta property=\"og:site_name\" content=\"Robin Glauser\" \/>\n<meta property=\"article:published_time\" content=\"2024-08-08T17:17:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-24T08:48:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2024\/08\/image.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Robin Glauser\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@robinglauser\" \/>\n<meta name=\"twitter:site\" content=\"@robinglauser\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Robin Glauser\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/2024\\\/08\\\/08\\\/how-to-setup-flux-model-locally-with-pinokio\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/2024\\\/08\\\/08\\\/how-to-setup-flux-model-locally-with-pinokio\\\/\"},\"author\":{\"name\":\"Robin Glauser\",\"@id\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/#\\\/schema\\\/person\\\/e1a94504a6ff5171fa13670932514b19\"},\"headline\":\"How to Setup Flux AI Model Locally with Pinokio\",\"datePublished\":\"2024-08-08T17:17:12+00:00\",\"dateModified\":\"2024-08-24T08:48:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/2024\\\/08\\\/08\\\/how-to-setup-flux-model-locally-with-pinokio\\\/\"},\"wordCount\":817,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/#\\\/schema\\\/person\\\/e1a94504a6ff5171fa13670932514b19\"},\"image\":{\"@id\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/2024\\\/08\\\/08\\\/how-to-setup-flux-model-locally-with-pinokio\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/image.jpeg\",\"keywords\":[\"ai\",\"AI tutorial\",\"ComfyUI\",\"Flux model\",\"Gradio interface\",\"image generation\",\"local AI\",\"machine learning\",\"MetadataIncompleteBuffer error\",\"Pinokio\"],\"articleSection\":[\"Development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/2024\\\/08\\\/08\\\/how-to-setup-flux-model-locally-with-pinokio\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/2024\\\/08\\\/08\\\/how-to-setup-flux-model-locally-with-pinokio\\\/\",\"url\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/2024\\\/08\\\/08\\\/how-to-setup-flux-model-locally-with-pinokio\\\/\",\"name\":\"How to Setup Flux AI Model Locally with Pinokio\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/2024\\\/08\\\/08\\\/how-to-setup-flux-model-locally-with-pinokio\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/2024\\\/08\\\/08\\\/how-to-setup-flux-model-locally-with-pinokio\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/image.jpeg\",\"datePublished\":\"2024-08-08T17:17:12+00:00\",\"dateModified\":\"2024-08-24T08:48:48+00:00\",\"description\":\"Setup Flux AI with Pinokio for local AI image generation. No Python needed. Fixes ComfyUI 'MetadataIncompleteBuffer' error.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/2024\\\/08\\\/08\\\/how-to-setup-flux-model-locally-with-pinokio\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/2024\\\/08\\\/08\\\/how-to-setup-flux-model-locally-with-pinokio\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/2024\\\/08\\\/08\\\/how-to-setup-flux-model-locally-with-pinokio\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/image.jpeg\",\"contentUrl\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/image.jpeg\",\"width\":1024,\"height\":576},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/2024\\\/08\\\/08\\\/how-to-setup-flux-model-locally-with-pinokio\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Setup Flux AI Model Locally with Pinokio\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/\",\"name\":\"Robin Glauser\",\"description\":\"My Blog about Development, Design and my random thoughts.\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/#\\\/schema\\\/person\\\/e1a94504a6ff5171fa13670932514b19\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/#\\\/schema\\\/person\\\/e1a94504a6ff5171fa13670932514b19\",\"name\":\"Robin Glauser\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/DSC_1244_small.jpg\",\"url\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/DSC_1244_small.jpg\",\"contentUrl\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/DSC_1244_small.jpg\",\"width\":800,\"height\":530,\"caption\":\"Robin Glauser\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/DSC_1244_small.jpg\"},\"description\":\"I'm a web developer.\",\"sameAs\":[\"https:\\\/\\\/www.robinglauser.ch\",\"https:\\\/\\\/www.instagram.com\\\/robinglauser\\\/\",\"https:\\\/\\\/x.com\\\/robinglauser\"],\"url\":\"https:\\\/\\\/www.robinglauser.ch\\\/blog\\\/author\\\/robin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Setup Flux AI Model Locally with Pinokio","description":"Setup Flux AI with Pinokio for local AI image generation. No Python needed. Fixes ComfyUI 'MetadataIncompleteBuffer' error.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.robinglauser.ch\/blog\/2024\/08\/08\/how-to-setup-flux-model-locally-with-pinokio\/","og_locale":"en_US","og_type":"article","og_title":"How to Setup Flux AI Model Locally with Pinokio","og_description":"Setup Flux AI with Pinokio for local AI image generation. No Python needed. Fixes ComfyUI 'MetadataIncompleteBuffer' error.","og_url":"https:\/\/www.robinglauser.ch\/blog\/2024\/08\/08\/how-to-setup-flux-model-locally-with-pinokio\/","og_site_name":"Robin Glauser","article_published_time":"2024-08-08T17:17:12+00:00","article_modified_time":"2024-08-24T08:48:48+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2024\/08\/image.jpeg","type":"image\/jpeg"}],"author":"Robin Glauser","twitter_card":"summary_large_image","twitter_creator":"@robinglauser","twitter_site":"@robinglauser","twitter_misc":{"Written by":"Robin Glauser","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.robinglauser.ch\/blog\/2024\/08\/08\/how-to-setup-flux-model-locally-with-pinokio\/#article","isPartOf":{"@id":"https:\/\/www.robinglauser.ch\/blog\/2024\/08\/08\/how-to-setup-flux-model-locally-with-pinokio\/"},"author":{"name":"Robin Glauser","@id":"https:\/\/www.robinglauser.ch\/blog\/#\/schema\/person\/e1a94504a6ff5171fa13670932514b19"},"headline":"How to Setup Flux AI Model Locally with Pinokio","datePublished":"2024-08-08T17:17:12+00:00","dateModified":"2024-08-24T08:48:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.robinglauser.ch\/blog\/2024\/08\/08\/how-to-setup-flux-model-locally-with-pinokio\/"},"wordCount":817,"commentCount":2,"publisher":{"@id":"https:\/\/www.robinglauser.ch\/blog\/#\/schema\/person\/e1a94504a6ff5171fa13670932514b19"},"image":{"@id":"https:\/\/www.robinglauser.ch\/blog\/2024\/08\/08\/how-to-setup-flux-model-locally-with-pinokio\/#primaryimage"},"thumbnailUrl":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2024\/08\/image.jpeg","keywords":["ai","AI tutorial","ComfyUI","Flux model","Gradio interface","image generation","local AI","machine learning","MetadataIncompleteBuffer error","Pinokio"],"articleSection":["Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.robinglauser.ch\/blog\/2024\/08\/08\/how-to-setup-flux-model-locally-with-pinokio\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.robinglauser.ch\/blog\/2024\/08\/08\/how-to-setup-flux-model-locally-with-pinokio\/","url":"https:\/\/www.robinglauser.ch\/blog\/2024\/08\/08\/how-to-setup-flux-model-locally-with-pinokio\/","name":"How to Setup Flux AI Model Locally with Pinokio","isPartOf":{"@id":"https:\/\/www.robinglauser.ch\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.robinglauser.ch\/blog\/2024\/08\/08\/how-to-setup-flux-model-locally-with-pinokio\/#primaryimage"},"image":{"@id":"https:\/\/www.robinglauser.ch\/blog\/2024\/08\/08\/how-to-setup-flux-model-locally-with-pinokio\/#primaryimage"},"thumbnailUrl":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2024\/08\/image.jpeg","datePublished":"2024-08-08T17:17:12+00:00","dateModified":"2024-08-24T08:48:48+00:00","description":"Setup Flux AI with Pinokio for local AI image generation. No Python needed. Fixes ComfyUI 'MetadataIncompleteBuffer' error.","breadcrumb":{"@id":"https:\/\/www.robinglauser.ch\/blog\/2024\/08\/08\/how-to-setup-flux-model-locally-with-pinokio\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.robinglauser.ch\/blog\/2024\/08\/08\/how-to-setup-flux-model-locally-with-pinokio\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.robinglauser.ch\/blog\/2024\/08\/08\/how-to-setup-flux-model-locally-with-pinokio\/#primaryimage","url":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2024\/08\/image.jpeg","contentUrl":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2024\/08\/image.jpeg","width":1024,"height":576},{"@type":"BreadcrumbList","@id":"https:\/\/www.robinglauser.ch\/blog\/2024\/08\/08\/how-to-setup-flux-model-locally-with-pinokio\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.robinglauser.ch\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Setup Flux AI Model Locally with Pinokio"}]},{"@type":"WebSite","@id":"https:\/\/www.robinglauser.ch\/blog\/#website","url":"https:\/\/www.robinglauser.ch\/blog\/","name":"Robin Glauser","description":"My Blog about Development, Design and my random thoughts.","publisher":{"@id":"https:\/\/www.robinglauser.ch\/blog\/#\/schema\/person\/e1a94504a6ff5171fa13670932514b19"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.robinglauser.ch\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.robinglauser.ch\/blog\/#\/schema\/person\/e1a94504a6ff5171fa13670932514b19","name":"Robin Glauser","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2015\/10\/DSC_1244_small.jpg","url":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2015\/10\/DSC_1244_small.jpg","contentUrl":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2015\/10\/DSC_1244_small.jpg","width":800,"height":530,"caption":"Robin Glauser"},"logo":{"@id":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2015\/10\/DSC_1244_small.jpg"},"description":"I'm a web developer.","sameAs":["https:\/\/www.robinglauser.ch","https:\/\/www.instagram.com\/robinglauser\/","https:\/\/x.com\/robinglauser"],"url":"https:\/\/www.robinglauser.ch\/blog\/author\/robin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/posts\/3716","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/comments?post=3716"}],"version-history":[{"count":13,"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/posts\/3716\/revisions"}],"predecessor-version":[{"id":3764,"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/posts\/3716\/revisions\/3764"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/media\/3725"}],"wp:attachment":[{"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/media?parent=3716"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/categories?post=3716"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/tags?post=3716"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}