검색
검색
공개 노트 검색
회원가입로그인

GPT-4에서 달리3의 텍스트 프롬프트를 사용하여 유사한 이미지 생성하기

DALL-E 3를 사용하여 이미지를 생성할 때 ChatGPT는 다음과 같은 과정을 거칩니다.

내 프롬프트 -> 변경된 텍스트 프롬프트 + 시드 넘버 = 고유한 이미지

내가 입력한 프롬프트를 일종의 프롬프트 엔지니어링으로 더 정교한 프롬프트로 바꾸어 주고 여기에 랜덤 숫자인 시드 넘버를 더해 고유한 이미지를 생성합니다. 동일한 텍스트 프롬프트와 시드 넘버를 입력하면 고유한 이미지를 생성하는 원리입니다. 여기에서 아쉽게도 우리가 시드 넘버를 조정할 수는 없습니다. (참고로 시드 넘버는 ChatGPT와 API 모두 사용할 수 없습니다.) 그래서 텍스트 프롬프트를 사용해서 비슷한 이미지를 생성하면 됩니다.

먼저 이미지를 만들면서 사용한 프롬프트와 시드 넘버를 알아봅시다.

create a game character. give me the text prompt and the seed number you used.

Answer format:
Image
Prompt: 
Seed number:

게임 캐릭터를 만들어줘. 그리고 사용한 텍스트 프롬프트와 시드 넘버를 보여줘.

응답 형식

이미지

프롬프트:

시드 넘버:

이러면 다음과 같이 결과를 보여줍니다.

GPT-4에서 달리3의 텍스트 프롬프트를 사용하여 유사한 이미지 생성하기 image 1

Prompt: A fantasy game character: a female elf archer with long silver hair, wearing a green and gold leather armor set. She stands in a forest, with a detailed, ornate bow in her hand. The background shows ancient trees, a clear sky, and small, magical creatures fluttering around. Her expression is focused, with bright green eyes and a small, determined smile. Her ears are long and pointed, typical of elves, and she has a quiver full of arrows slung over her shoulder.

Seed number: 1282938131

게임에서 나오는 여성 엘프 캐릭터를 만들어줬군요.

물론 여기에서 이미지를 바로 수정해도 됩니다. 이 이미지에 사과를 더해줘와 같이 이미지를 수정하면 됩니다. 하지만 지속적으로 사용하기 위해 우리는 텍스트 프롬프트를 이용해 보겠습니다.

Add apple on this prompt:

Prompt: A fantasy game character: a female elf archer with long silver hair, wearing a green and gold leather armor set. She stands in a forest, with a detailed, ornate bow in her hand. The background shows ancient trees, a clear sky, and small, magical creatures fluttering around. Her expression is focused, with bright green eyes and a small, determined smile. Her ears are long and pointed, typical of elves, and she has a quiver full of arrows slung over her shoulder.

이 프롬프트에 사과를 더해줘라고만 했습니다.

GPT-4에서 달리3의 텍스트 프롬프트를 사용하여 유사한 이미지 생성하기 image 2

유사한 스타일에 사과를 더한 것을 알 수 있습니다.

이번에는 활을 쏘는 이미지로 변경해 보겠습니다.

Make the prompt's character shoot the arrow. Try to remain the prompt's style.

Prompt:
A fantasy game character: a female elf archer with long silver hair, wearing a green and gold leather armor set. She stands in a forest, with a detailed, ornate bow in her hand. An apple is placed on a nearby stump, adding a touch of whimsy to the scene. The background shows ancient trees, a clear sky, and small, magical creatures fluttering around. Her expression is focused, with bright green eyes and a small, determined smile. Her ears are long and pointed, typical of elves, and she has a quiver full of arrows slung over her shoulder.

프롬프트의 캐릭터가 활을 쏘게 해달라고 했습니다. 프롬프트의 스타일은 최대한 유지하도록 했습니다.

GPT-4에서 달리3의 텍스트 프롬프트를 사용하여 유사한 이미지 생성하기 image 3

확실히 동일한 이미지가 나오게 하는건 어렵네요. 하지만 유사한 스타일은 만들어 낼 수 있을 것 같습니다. DALL-E 3를 사용하다가 마음에 드는 이미지가 나왔을 때는 사용한 프롬프트를 물어본 후 저장하세요. 비슷한 스타일의 이미지를 만들어 낼 수 있습니다.

이런걸 활용해서 인터넷 상의 캐릭터나 셀러브리티를 만드는 경우도 있을 것 같습니다.

공유하기
카카오로 공유하기
페이스북 공유하기
트위터로 공유하기
url 복사하기
조회수 : 1162
heart
T
페이지 기반 대답
AI Chat