본 연구는 인공지능 기반의 헤어 이미지 생성 성능을 개선하기 위해 StyleCLIP 모델에 다양한 프롬프트 엔지니어링 기법을 적용하여 그 효과를 분석하였다. 생성된 이미지의 품질을 평가하기 위해 CLIP 모델을 사용해 텍스트-이미지 일관성을 측정하였으며, latent optimization을 통해 최적의 결과를 얻기 위한 추가적인 성능 개선을 진행하였다. 실험 결과, 프롬프트 엔지니어링을 적용한 모든 경우에서 CLIP Loss가 감소하여 이미지의 일관성이 향상됨을 확인하였고, 특히 Chain of Thoughts 기법이 StyleCLIP 모델에 가장 효과적임을 입증하였다. 이러한 결과는 생성형 AI 모델의 성능 향상에 프롬프트 엔지니어링이 중요한 기여를 할 수 있음을 보여주었다.
This study analyzed the effect by applying various prompt engineering techniques to the StyleCLIP model to improve the artificial intelligence-based hair image generation performance. Text-image consistency was measured using the CLIP model to evaluate the quality of the generated image, and additional performance improvement was performed to obtain optimal results through late optimization. As a result of the experiment, it was confirmed that the CLIP loss was reduced in all cases where prompt engineering was applied, improving the consistency of the image, and in particular, the Chain of Thought technique proved to be the most effective for the StyleCLIP model. These results showed that prompt engineering can make an important contribution to the performance improvement of the Generative AI model.