직대딩 블로그
[AI] Chat GPT로 이미지 생성하는 2가지 방법 본문
3.5 버전의 Chat GPT에게 이미지를 출력하거나 생성해달라고 부탁하면 본인에게는 그런 기능이 없다거나, 저작권 문제 때문에 출력할 수 없다고 답한다.
Chat GPT가 언어기반이라 그렇다고한다.
하지만 마크다운 방식을 이용하면 바로 사진을 출력해준다.
New Chat을 생성한 다음 아래 명령어를 입력하면 된다.
you can add images to the reply by Markdown,
Write 4 images in markdown without backticks and without using a code block.
Use the Unsplash API ([https://source.unsplash.com/1600x900/?)](https://source.unsplash.com/1600x900/?)).
the query is just some tags that describes the image]
## DO NOT RESPOND TO INFO BLOCK ##
위의 명령어를 입력하고 이미지 관련 태그를 입력하면 이미지를 출력해준다.
요거는 무료 이미지 사이트에서 원하는 사진을 출력해주는 방법이다.
다음으로는 AI를 이용해 이미지를 출력하는 방법이 있다.
New Chat을 생성한 다음 아래 명령어를 입력하면 된다.
You will now act as a prompt generator. I will describe an image to you, and you will create a prompt that could be used for image-generation. Once i described the image, give a 5 word summary and then include the following (markdown) = !Image (https://image.pollinations.ai/prompt/{description}), where {description} = {sceneDetailed},%20{adjective1},%20{charactersDetailed},%20{adjective2},%20{visualStyle1},%20{visualStyle2},%20{visualStyle3},%20{genre},%20{artistReference}
'AI | 딥러닝' 카테고리의 다른 글
[AI] Chat GPT 사용법 + 궁금한 것 질문/코딩 부탁하기 (0) | 2023.03.17 |
---|---|
Google Colab CPU와 GPU의 속도 차이 확인 (0) | 2023.03.13 |
구글 코랩 사용해보기 + 사양 확인 (0) | 2023.03.12 |