기본 콘텐츠로 건너뛰기

Flux-krea-dev 이미지 생성 모델 - Flux-dev 모델과 차이

Flux1-krea-dev는 Black Forest Labs와 Krea AI가 협력하여 개발한 최신 오픈소스 텍스트-이미지 생성 AI 모델이다.

  이 모델은 기존 AI 이미지에서 흔히 발견되는 부자연스러운 인공미를 제거하고, 뛰어난 사실감과 미적 품질을 제공하는 것을 목표로 만들어 졌다.

Flux1-dev 모델로 이미지를 생성해 보면 매우 뛰어난 화질에 매료된다.  하지만 인물의 피부 질감이나 이미지의 색감이 인공미가 많이 느껴지는 것도 사실이다.
그래서 이러한 인공미를 최대한 자연스러운 사실감으로 생성될 수 있는 모델이 Flux1-krea-dev 이다.

Flux1-krea-dev 모델로 생성

Flux1-dev 모델 이미지

사용된 Prompt : Graphite sketch of a beautiful woman, animation style, flat composition, face upward, ((happy smile:1.4)), sitting , cross legs, glossy ruby red lips. She wears an elegant sheer white midi dress designed with a sophisticated and artistic floral motif, prominently showcasing large roses and delicate vine patterns in shades of deep pink and purple. The dress features sheer sleeves, a body-hugging silhouette, and intricate, sparkling embellishments with an artistic arrangement of flowers cascading down one side.
The background sets an elegant and atmospheric scene:
Vintage-style classic café – Warm, ambient lighting casts a soft glow over the cozy wooden interiors, marble tables, and shelves filled with old books and artistic décor. A delicate wisp of steam rises from her coffee, adding a dreamy, nostalgic charm.

1. Model download

  • Flux1-krea-dev (23G) : https://huggingface.co/black-forest-labs/FLUX.1-Krea-dev/tree/main 
  • Flux1-krea-dev fp8 (11.6G) : https://civitai.com/models/1827475/flux-1-krea-dev-fp8  E또는 Comfyui 의 workflow 템플릿에서도 곧바로 다운이 가능하다.
  • 다운받은 파일은 기존 Flux1-dev 모델이 있는 곳에 설치하면된다.
  • Clip 모델과 VAE 모델은 기존 Flux1-dev 모델에서 사용한 것들을 그대로 사용하면 된다.

2. Workflow 

    먼저 Comfyui 를 최신 버전으로 update를 시키면  Comfyui 의 Workflow - Browse Templates 에서  Flux1-krea-dev Workflow를 불러서 사용할 수있다.
Flux1-krea-dev (basic) Workflow

3. Flux1-krea-dev 와 Flux1-dev 이미지 비교

  • Prompt : A close-up profile portrait of a young woman with flawless skin, accentuating her delicate facial features. The soft lighting highlights her defined nose, full lips, and long eyelashes, creating a serene and ethereal atmosphere. The background is a subtle gradient, enhancing the subject's beauty. Her hair is softly styled, with gentle strands framing her face. Captured in high quality with a dreamy aesthetic, it sits well within the realm of digital art

Flux1-dev


Krea-dev
똑같은 조건으로 생성된 이미지이다.  krea 의 이미지가 좀 더 사실적이다.

  • Prompt : A close-up portrait of a woman's face, captured from a profile camera angle, showcasing a soft and elegant expression. the woman, who appears to be in her early twenties, has fair skin, long eyelashes, and a serene expression. she is positioned in the middle of the image, with her eyes closed and her lips slightly parted, revealing a glossy, red lipstick. her hair is styled in a neat and tidy manner, and her facial features are detailed and realistic. the background is a simple, muted grey, which contrasts with the woman's delicate features. the lighting is soft and diffused, creating a gentle glow on her skin, and the overall effect is one of serenity and elegance. the image has a watermark in the bottom right corner that reads "tiktok".

Flux1-dev


krea

피부가 광택이 나면 어쩐지 인공피부 느낌이 나는데  krea 는 피부 솜털도 느껴지며, 걍 make-up 을 한 느낌으로 광택은 별로 없다.

  • Prompt : A mysterious woman sitting at a dimly lit bar, wearing a low-cut satin evening dress that hugs her curves. Her legs are crossed high, showing off sheer black stockings and glossy stilettos. Her hand rests under her chin, eyes half-lidded, with tousled hair and bold lipstick. Bottles glow softly behind the bar in neon red and blue. Erotic noir aesthetic, photorealistic, ultra-detailed.

Flux1-dev


krea
확실히 광택이 덜해서 좀 더 사실적인 느낌의 이미지를 만들어 준다.

  • Prompt : Low-angle shot, close-up shot of a beautiful and delicate girl with long black hair, ((korean beautiful girl:1.4)), her face resting on her hands, wearing rimless metal glasses, the mirror reflecting the street scene, stud earrings, a light-colored shirt with the top two buttons undone, the clothes naturally wrinkled, highlighting the beauty of her collarbone, snow-white and delicate skin, a sweet and elegant expression, a close-up of her face, a perfectly proportioned figure, sitting on a rattan chair, a half-length portrait, low light, cold light, shallow depth of field to highlight the figure, realistic, photo, film texture,
Flux1-dev


krea
prompt에 korean beautiful girl 을 명령한 결과이다.
위의 이미지 보다는 아래 이미지가 SNS에서 많이 보던 귀여운 한국여성의 사진같은 느낌이 든다.
Flux1-dev 에서는 한국여성인지 중국여성인지 일본여성 인지  구분하기 어려웠는데 krea 모델은 한국여성을 잘 표현해 준다고 생각한다.

Prompt : This modern living space features a striking indoor waterfall cascading down a textured stone wall, seamlessly integrated with verdant foliage around it. The dark gray sectional sofa, arranged with soft cushions for comfort, creates a cozy focal point in the room. A low-profile coffee table with a marble top is positioned within reach, accentuating the minimalist aesthetic. The lighting is soft yet purposeful, casting gentle shadows and highlights that enhance the lush greenery. Rich tones of green, gray, and natural wood create a harmonious atmosphere that invites relaxation and peace, evoking a connection to nature.
Flux1-dev

krea

krea 의 이미지에서 물줄기가 더 사실적으로 떨어지고 있다.  다른 바위나 소파도 사실적인 느낌이다 .

Flux1-krea-dev 모델은 확실히 기존 Flux 모델대비 실사적인 느낌이 더 뛰어나다.

물론 개인적으로 프롬프트의 해석력도 좀 더 낫다고 생각된다.   
점점 더 좋은 모델들이 오픈소스로 발표가 되어 이미지 생성이 훨씬 자연스럽고 고화질인 결과물을 쉽게 얻을 수 있다.

생성형 AI 는 두려워 할 문제가 아닌 우리와 함께 가야 할 좋은 툴인것은 확실하다.

 

댓글

이 블로그의 인기 게시물

Comfyui Wildcard 사용법 - Stable Diffusion , Flux 에서 쉽게 Random Prompt 로 이미지 만들기

 Comfyui Wildcard 사용법에 대하여 알아본다. Comfyui 로 Stable Diffusion 또는 Flux 로 이미지를 만들 때 Prompt 가 이미지를 결정하는데 매우 중요한 역할을 한다.  영어가 모국어가 아닌 이상 영어로 prompt 를 만드는 것이 참 어려운 일이다. 물론 처음에는 많은 다른 사람들이 사용한 prompt 들을 모방하여 수정하고 사용하는데 이런 일을 하나하나 해 보기가 시간이 많이 걸리고 어렵다.   그래서 Random 으로 prompt 가 만들어 져서 이미지가 생성되고 그 이미지 중에서 마음에 드는 이미지들을 골라 그 이미지의 Prompt들 만을 가지고 보완하고 개선하면 더 편리하고 좋지 않을까 생각이 든다.  그런 식의 Random Prompt 생성이 가능하게 해주는 것이 wildcard 사용이다. Joker는 card game에서 wildcard 이다. 1. Wildcard 의 의미      와일드 카드(Wildcard)란 카드 게임에서 유래되었다.  이런 카드 게임에서 모든 카드의 대용으로 쓸 수 있는 비장의 카드를 와일드 카드라고 한다. 포커나 훌라를 할 때 조커가 이런 역할을 하는데 ,  이 의미가 컴퓨터와 스포츠로 확장되어 사용되는 것이다. 컴퓨터 용어로 쓰일 때는 한 디렉터리 내에 여러 파일이 존재하거나, 파일 이름의 뒷부분을 정확히 알지 못하는 경우에도 사용할 수 있는 명령어를 말합니다. '*'을 넣으면 빠진 것에 어떤 문자열이 있든지 대신할 수 있고,  '?'는 임의의 한 문자에만  대응한다. Comfyui 에서 wildcard 사용은 "--문자열--"  이런 식으로 wildcard 사용 가능한 노드에 prompt 를 입력해 주면 그 노드는 "문자열" 에  해당되는 파일을 찾아 그 파일 내용 중에서 임의의 일부분을 prompt 로 대체해 준다. 2. Wildcard 사...

Flux Lora 제작 - Local 에서 Fluxgym 을 이용하여 자체 Lora 만들기

 Flux Lora 는 일관된 이미지를 만드는데 꼭 필요하다. 특히 일관된 얼굴의 이미지를 만드는데 있어서 다른 기능들 (ipadapter , controlnet, imgtoimg 등) 을 이용하는 것 보다 훨씬 일정한 캐릭터를 생성하게 해준다.  문제는 이런 Lora는 주로 CIVITAI , Tensor, Hugging face 등 사이트에서 다운 받아 사용하면 되지만  그것은 나만의 독특한 캐릭터가 아니고 나의 취향과 일치 되기가 어려워서 Lora를 구하기가 어렵다.  아니면 그런 사이트 내에서 자체 Lora를 제작하면 되는데 모두 비용이 필요하다. 여기 소개하는 Fluxgym AI 는 Local 컴퓨터에서 VRAM 12G 이상이면 자체 Lora를 만들 수 있게 해준다.   소요되는 시간도 생각보다 많이 걸리지 않는다.   이제 설치하고 자체 Lora를 한번 만들어 보자. Fluxgym 으로 만든 Lora 대표이미지 1. fluxgym 설치 pinokio 앱을 실행한다. ( pinokio 앱 설치 참조 ) 우측 상단 맨 처음 아이콘 (discover) 클릭 fluxgym 을 찾아서 클릭 fluxgym 이것을 클릭하면 된다. 여러가지 파일들을 설치하기 때문에 시간이 좀 소요될 것이다. 모든 설치가 끝나면 pinokio 브라우저 하단 부분에 fluxgym 메뉴가 추가된다. fluxgym 나중에 불필요하면 삭제(쓰레기통 아이콘 클릭) 하면 모두 unintall 된다. 2. fluxgym 실행 항상 pinokio 앱을 실행하여 pinokio 브라우저에서 fluxgym 을 클릭하면 된다. flux화면3-1 -. 1번항 : 여기에 입력한 대로 fluxgym/outputs/ 의 하위 폴더를 만들어 준다. -. 2번항 : Lora를 작동시키는 trigger word 를 입력한다. (예,  hart_style_a......) -. 3번항 : 자신의 가능한 VRAM 선택 : 나는 12 G 선택 ...

Pinokio 앱 설치 - 오픈 소스 AI 플랫폼

  Pinokio 는 오픈 소스 AI 플랫폼이다. 로컬에서 AI 애플리케이션을 쉽게 설치하고 실행할 수 있게 도와주는 오픈 소스 AI 플랫폼이다. 이 플랫폼은 사용자가 복잡한 설치 과정 없이 클릭 한 번으로 AI 도구들을 설치할 수 있도록 설계되어 있다. 이를 통해 기술적인 배경 지식이 없는 초보자나 비전문가들도 쉽게 AI 애플리케이션을 사용할 수 있다.   이미 설치되어 있는 애플리케이션이 있어도 별도의 독립된 공간에서 문제없이 사용할 수 있게 해준다.   우리가 stable diffusion 을 comfyui 에서 사용하기 위해서는 "Python", "git ....", "conda"  뭔지 모르지만 설치해야 하는데 pinokio 브라우저에서 원 클릭으로 알아서 설치를 해주기 때문에  컴맹인 일반인도 쉽게 설치하고 사용 할 수 있다. pinokio.computer 1. Pinokio 주요 기능 원클릭 설치 : 복잡한 환경 설정이나 명령어 입력 없이도 다양한 AI 모델을 한 번의 클릭으로 설치할 수 있다. 예를 들어, Comfyui 나 Flux 같은 AI 도구들을 손쉽게 설치할 수 있다. 다양한 AI 애플리케이션 제공 : Pinokio는 다양한 오픈 소스 AI 애플리케이션을 제공하는 허브 역할을 하며, Pinokio 브라우저 나 홈페이지에서 쉽게 찾아 설치할 수 있다. 브라우저 기반 인터페이스 : 모든 설치된 애플리케이션은 Pinokio 웹 브라우저에서 관리할 수 있어, 친숙한 인터페이스로 쉽게 사용이 가능하다. 독립적인 가상 컴퓨터 : Pinokio는 백엔드 작업을 자동으로 처리하여, 애플리케이션이 로컬에서 실행되는 동안 인터넷에 연결되어 있지 않아도 된다. 2. Pinokio 설치 구글에서 pinokio 를 검색하여 " pinokio.computer " 를 클릭 Download 클릭 다운로드 된 pinokio 압축 파일을  푼다. pinokio 설치파일을 실행하여 설치 설치과정은 복...