{"id":5845,"date":"2026-06-12T12:30:00","date_gmt":"2026-06-12T03:30:00","guid":{"rendered":"https:\/\/www.freelifemakers.org\/wordpress\/?p=5845"},"modified":"2026-06-12T13:06:25","modified_gmt":"2026-06-12T04:06:25","slug":"ollama-flux","status":"publish","type":"post","link":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/2026\/06\/12\/ollama-flux\/","title":{"rendered":"[AI]Ollama + Flux"},"content":{"rendered":"\n<p>\ud83d\udc49\ud83c\udffb flux\ub294 \uc774\ubbf8\uc9c0 \uc0dd\uc131 AI \uc785\ub2c8\ub2e4.<br>Flux is an image generation AI.<\/p>\n\n\n\n<p>\ud83d\udc49\ud83c\udffb \ub85c\uceec\ud658\uacbd(\ub9e5\ubd81 \ud658\uacbd)\uc5d0\uc11c \uc774\ubbf8\uc9c0 \uc0dd\uc131\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud55c \uc124\uba85\uc785\ub2c8\ub2e4. <br>This is an explanation of how to create an image in a local environment (MacBook environment).<\/p>\n\n\n\n<p>\ud83d\udc49\ud83c\udffb\uc124\uce58 \/ Install<\/p>\n\n\n\n<p>\u2714\ufe0f flux\ub97c \uc0ac\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 ollama\uac00 \uc124\uce58\ub418\uc5b4\uc57c\ud569\ub2c8\ub2e4. \uc774\uc804\ud3ec\uc2a4\ud2b8\ub97c \ucc38\uc870\ud558\uc138\uc694<br>To use Flux, Ollama must be installed. Please refer to the previous post.<\/p>\n\n\n\n<p>\u2714\ufe0f flux\ub97c \ub2e4\uc74c\uacfc \uac19\uc774 \ud130\ubbf8\ub110\uc5d0\uc11c \uc124\uce58\ud569\ub2c8\ub2e4.<br>Install flux in the terminal as follows.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ollama run x\/flux2-klein<\/code><\/pre>\n\n\n\n<p>\u2714\ufe0f \uc704\uc758 \uba85\ub839\uc5b4\ub97c \uc2e4\ud589\ud558\uba74 \uc544\ub798\ucc98\ub7fc \uc124\uce58\uac00 \uc9c4\ud589\ub429\ub2c8\ub2e4.<br>If you run the command above, the installation will proceed as shown below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\nMacBookAir .ollama % <strong>ollama run x\/flux2-klein<\/strong>\npulling manifest \npulling model: 100% \u2595\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\u258f 5.7 GB                         \nwriting manifest \nsuccess \n>>> Describe an image to generate (\/help for commands)<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\ud83d\udc49\ud83c\udffb \uc774\ubbf8\uc9c0\ub97c \uc0dd\uc131\ud574\ubd05\ub2c8\ub2e4. \ud130\ubbf8\ub110\uc5d0\uc11c \uc774\ubbf8\uc9c0\ub97c \uc0dd\uc131\ud558\ub294 \ubc29\ubc95\uc785\ub2c8\ub2e4.<br>Let&#8217;s create an image. This is how to create an image in the terminal.<\/p>\n\n\n\n<p>\u2714\ufe0f \ud504\ub86c\ud504\ud2b8\ub97c \ub2e4\uc74c\uacfc \uac19\uc774 \uc785\ub825\ud588\uc2b5\ub2c8\ub2e4.<br>I entered the prompt as follows.<\/p>\n\n\n\n<p>&#8212; \uc544\ub984\ub2e4\uc6b4 \uc11c\uc6b8 \uc57c\uacbd, \ud55c\uac15 \ub2e4\ub9ac\uc640 \ubd88\uaf43\ub180\uc774, photorealistic<br>(Beautiful night view of Seoul, Han River bridges and fireworks,photorealistic)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>MacBookAir .ollama % ollama run x\/flux2-klein\n>>> <strong>\uc544\ub984\ub2e4\uc6b4 \uc11c\uc6b8 \uc57c\uacbd, \ud55c\uac15 \ub2e4\ub9ac\uc640 \ubd88\uaf43\ub180\uc774, photorealistic<\/strong>\nImage saved to: ------photorealistic-20260612-105824.png\n\n>>> Describe an image to generate (\/help for commands)\n<\/code><\/pre>\n\n\n\n<p>\u2714\ufe0f \uadf8\ub7ec\uba74 \ub2e4\uc74c\uacfc \uac19\uc774 \uc774\ubbf8\uc9c0\uac00 \uc0dd\uc131\ub41c \uac83\uc744 \ud655\uc778 \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br>Then you can confirm that the image has been generated as follows.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"800\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/seoul-jpg.jpg\" alt=\"\" class=\"wp-image-5879\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/seoul-jpg.jpg 800w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/seoul-jpg-300x300.jpg 300w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/seoul-jpg-150x150.jpg 150w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/seoul-jpg-768x768.jpg 768w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/seoul-jpg-400x400.jpg 400w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>&#8211;\uc544\ub798\uc640 \uac19\uc774 \uc774\ubbf8\uc9c0 \uc0dd\uc131\ub41c\uacbd\uc6b0 \uc774\ub984\ubc14\uafb8\ub824\uba74 mv .\/imagename.png newimagename.png \uc774\ub807\uac8c \ubc14\uafb8\uba74\ub429\ub2c8\ub2e4.<br>If the image was created as shown below, to rename it, you can do so by changing it like this: mv .\/imagename.png newimagename.png.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>MacBookAir .ollama % ls -al\ntotal 3848\n-rw-r--r--   1 user  staff  1952015  6\uc6d4 1 10:58 <strong>------photorealistic-20260612-105824.png<\/strong>\ndrwxr-xr-x   9 user  staff      288  6\uc6d4 1 12:58 .\ndrwxr-x---+ 61 user  staff     1952  6\uc6d4 1 12:58 ..\n-rw-------   1 user  staff      170  6\uc6d4 1 12:58 history\n-rw-------@  1 user  staff      387  6\uc6d4 1 12:58 id_ed25519\n-rw-r--r--@  1 user  staff       81  6\uc6d4 1 12:58 id_ed25519.pub\ndrwxr-xr-x@ 14 user  staff      448  6\uc6d4 1 12:58 logs\ndrwxr-xr-x   4 user  staff      128  6\uc6d4 1 12:58 models\n-rw-r--r--   1 user  staff       35  6\uc6d4 1 12:58 server.json<\/code><\/pre>\n\n\n\n<p>\ud83d\udc49\ud83c\udffb \ucd94\uac00\ub85c \uc774\ubbf8\uc9c0\ub97c \uc0dd\uc131\ud574 \ubd05\ub2c8\ub2e4.<br>Let&#8217;s try creating an additional image.<\/p>\n\n\n\n<p>\u2714\ufe0f \ud504\ub86c\ud504\ud2b8\ub97c \ub2e4\uc74c\uacfc \uac19\uc774 \uc785\ub825\ud588\uc2b5\ub2c8\ub2e4.<br>I entered the prompt as follows.<\/p>\n\n\n\n<p>\u2714\ufe0f \ud504\ub86c\ud504\ud2b8\ub97c \uc544\ub798\ucc98\ub7fc \uc785\ub825\ud55c \uacbd\uc6b0 \uc0dd\uc131\ub41c \uc774\ubbf8\uc9c0 \uc785\ub2c8\ub2e4.<br>This is the image generated when the prompt was entered as shown below.<\/p>\n\n\n\n<p>&#8211;Full body shot of Johnny Silverhand, Keanu Reeves, standing confidently, cybernetic arm visible, holding pistol, leather jacket and boots, Night City alley with heavy rain and neon signs, cyberpunk atmosphere, dramatic rim lighting<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"800\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/jsilver-jpg.jpg\" alt=\"\" class=\"wp-image-5875\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/jsilver-jpg.jpg 800w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/jsilver-jpg-300x300.jpg 300w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/jsilver-jpg-150x150.jpg 150w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/jsilver-jpg-768x768.jpg 768w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/jsilver-jpg-400x400.jpg 400w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\u2714\ufe0f \ud504\ub86c\ud504\ud2b8\ub97c \uc544\ub798\ucc98\ub7fc \uc785\ub825\ud55c \uacbd\uc6b0 \uc0dd\uc131\ub41c \uc774\ubbf8\uc9c0 \uc785\ub2c8\ub2e4.<br>This is the image generated when the prompt was entered as shown below.<\/p>\n\n\n\n<p>&#8212; Aloy from Horizon Zero Dawn, exact official game character, young woman with long bright red hair in intricate braids with beads, green eyes, freckles on face, athletic build, wearing Nora Brave outfit with tribal patterns and leather, holding a compound bow, confident and determined expression, Horizon Zero Dawn official game art style, in-game character render, detailed face, sharp textures, post-apocalyptic landscape with tall machines in background, cinematic lighting, high quality 3D render, unreal engine style<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"800\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/aloy-jpg.jpg\" alt=\"\" class=\"wp-image-5877\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/aloy-jpg.jpg 800w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/aloy-jpg-300x300.jpg 300w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/aloy-jpg-150x150.jpg 150w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/aloy-jpg-768x768.jpg 768w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/aloy-jpg-400x400.jpg 400w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\u2714\ufe0f \ud504\ub86c\ud504\ud2b8\ub97c \uc544\ub798\ucc98\ub7fc \uc785\ub825\ud55c \uacbd\uc6b0 \uc0dd\uc131\ub41c \uc774\ubbf8\uc9c0 \uc785\ub2c8\ub2e4.<br>This is the image generated when the prompt was entered as shown below.<\/p>\n\n\n\n<p>&#8212; Kratos from God of War Ragnarok, exact likeness to the reference image, full body standing pose, bald head with prominent red Spartan tattoo across face and scalp,<br>thick dark beard, calm and slightly relaxed expression, confident but not angry, thoughtful look,<br>heavily muscled body with white ashen skin covered in scars,<br>wearing detailed bear fur armor with leather straps and metal pauldrons,<br>bare chest with red tattoo stripe, thick leather belt,<br>holding Leviathan Axe casually in his right hand with the axe head pointing down,<br>powerful yet relaxed imposing stance,<br>background: beautiful snowy Nordic forest with ancient trees and soft falling snow,<br>misty atmosphere, dramatic cinematic lighting with soft volumetric light,<br>pure black background removed,<br>highly detailed 3D render, official God of War Ragnarok character model style,<br>sharp textures, cinematic composition, photorealistic game render, masterpiece, best quality<\/p>\n\n\n\n<p>&#8212;  \uc704\ucc98\ub7fc \ud130\ubbf8\ub110\uc5d0 \uc785\ub825\ub418\ub294 \ud504\ub86c\ud504\ud2b8\uac00 \ub108\ubb34 \uae38\uba74 \uc9e4\ub824\uc11c \uc785\ub825\ub429\ub2c8\ub2e4. <br>As shown above, if the prompt entered into the terminal is too long, it will be cut off.<\/p>\n\n\n\n<p>&#8212; \uc774\ub7f0 \uacbd\uc6b0 \ud30c\uc77c\uc5d0 \ud504\ub86c\ud504\ud2b8\ub97c \uc785\ub825\ud558\uace0 \uc774 \ud30c\uc77c\uc744 \ubd88\ub7ec\uc624\uba74\ub429\ub2c8\ub2e4.<br>In this case, you can enter the prompt into the file and load it.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>MacBookAir ~ % touch kratos.txt\nMacBookAir ~ % nano kratos.txt\n\n# ctrl + 0 \ub85c \ud30c\uc77c \uc800\uc7a5\n# Save file with Ctrl + 0\n\nMacBookAir ~ % ollama run x\/flux2-klein \"$(cat kratos.txt)\"  <\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"800\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/kratos-jpg.jpg\" alt=\"\" class=\"wp-image-5893\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/kratos-jpg.jpg 800w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/kratos-jpg-300x300.jpg 300w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/kratos-jpg-150x150.jpg 150w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/kratos-jpg-768x768.jpg 768w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/06\/kratos-jpg-400x400.jpg 400w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\u2b50\ufe0f x\/flux2-klein\ub294 ollama \uc571 \uc5d0\uc11c \uc2e4\ud589\uc2dc \uc624\ub958\uac00 \ubc1c\uc0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br>x\/flux2-klein may cause errors when run in the ollama app.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud83d\udc49\ud83c\udffb flux\ub294 \uc774\ubbf8\uc9c0 \uc0dd\uc131 AI \uc785\ub2c8\ub2e4.Flux is an image generation AI. \ud83d\udc49\ud83c\udffb \ub85c\uceec\ud658\uacbd(\ub9e5\ubd81 \ud658\uacbd)\uc5d0\uc11c \uc774\ubbf8\uc9c0 \uc0dd\uc131\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud55c \uc124\uba85\uc785\ub2c8\ub2e4. This is an explanation of how to create an image in a local environment (MacBook environment). \ud83d\udc49\ud83c\udffb\uc124\uce58 \/ Install \u2714\ufe0f flux\ub97c \uc0ac\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 ollama\uac00 \uc124\uce58\ub418\uc5b4\uc57c\ud569\ub2c8\ub2e4. \uc774\uc804\ud3ec\uc2a4\ud2b8\ub97c \ucc38\uc870\ud558\uc138\uc694To use Flux, Ollama must be installed. Please refer to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,1],"tags":[],"class_list":["post-5845","post","type-post","status-publish","format-standard","hentry","category-ai","category-uncategorized","missing-thumbnail"],"_links":{"self":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/5845","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=5845"}],"version-history":[{"count":49,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/5845\/revisions"}],"predecessor-version":[{"id":5899,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/5845\/revisions\/5899"}],"wp:attachment":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=5845"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=5845"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=5845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}