이미지 생성 시 효과적인 프롬프트 작성 방법에 대해 자세히 설명해 드리겠습니다.
1. 단일 태그(Tag) 방식으로 프롬프트 작성하기
-
주의
- 자연어 문장은 모델이 맥락을 해석하는 과정에서 예기치 않은 요소가 추가될 수 있습니다.
- “a book that floats in the air with a glowing aura” 와 같은 문장은
책이 떠다니거나, 예상치 못한 빛 효과가 추가되는 등 불필요한 변형이 발생할 수 있습니다.
TIP
짧고 명확한 단어로 구성된 태그 중심의 프롬프트를 사용하면 원하는 결과를 더 쉽게 얻을 수 있습니다.
2. 용도에 맞춰 프롬프트 길이를 조절하기
짧은 프롬프트
-
다양한 시안을 뽑을 때 유용합니다.
-
스타일 탐색, 다양한 버전 테스트, 빠른 아이디어 생성에 적합합니다.
-
스타일, 구도, 색감 등이 다양하게 표현되며, 같은 프롬프트로 여러 번 생성하면 예상치 못한 다양한 결과를 얻을 수 있습니다.
구체적인 프롬프트
-
세부 요소를 명확하게 지정할 때 유용합니다.
-
특정 디자인 요소 반영, 원하는 분위기 강조, 정밀한 컨트롤에 적합합니다.
-
특정한 분위기와 요소를 더욱 정밀하게 반영 가능하며, 같은 프롬프트로 생성할 때 결과의 일관성이 높아집니다.
추가 고려 요소
- AI 모델은 최대 77개의 토큰(Token)을 고려하며, 이를 초과하면 뒷부분이 무시됩니다.
- 토큰(Token): AI 모델이 이해하는 단어 단위로, 긴 단어는 2개 이상의 토큰으로 나뉠 수 있습니다.
- 프롬프트가 너무 길면 원하는 결과가 안나올수 있습니다.
예시:
입력한 프롬프트 : “highly detailed, intricately designed medieval fantasy castle with glowing windows, towering spires, elaborate stone carvings, grand archways, fortified walls, mystical energy surrounding it, enchanted aura, ivy-covered walls, ancient magical ruins, majestic waterfalls in the background, cinematic lighting, ultra-high resolution, vibrant colors, realistic textures, beautiful landscape, artistic framing, rich composition, masterful architecture, depth of field effect, golden sunlight, dynamic shadows, atmospheric fog, enchanted forest nearby, swirling mist, glowing runes, mysterious ambiance, fantasy setting, epic scale, grand staircase, ethereal glow, enchanted gateway, breathtaking scenery, magical realism, finely crafted towers”
실제 고려된 프롬프트 : “highly detailed, intricately designed medieval fantasy castle with glowing windows, towering spires, elaborate stone carvings, grand archways, fortified walls, mystical energy surrounding it, enchanted aura, ivy-covered walls, ancient magical ruins, majestic waterfalls in the background, cinematic lighting, ultra-high resolution, vibrant colors, realistic textures, beautiful landscape, artistic framing, rich composition, masterful architecture, depth of field effect”
3. Quality Tag 활용하기
-
핵심
- 이미지 품질을 높이거나 특정 효과를 강조하는 데 유용한 태그를 의미합니다.
- 특정 스타일, 인원 수, 배경 등을 제어할 수 있습니다.
-
자주 쓰이는 Quality Tag 예시
- 이미지 품질 향상: masterpiece, high quality, detailed
- 깔끔한 배경: black background, simple background
- 인원 수 조절: 1girl, 1man, solo, single
- 구도: full body, upper body
- 이미지 품질 향상: masterpiece, high quality, detailed
TIP
여러 태그를 조합해 원하는 스타일을 더욱 구체적으로 조정할 수 있습니다.