How to guide ChatGPT to generate images?
The GPT-4 model is one of the most advanced multimodal models today. At the launch event on March 16, we saw that GPT-4 already supports generating images and videos. However, OpenAI officials have not yet opened up its image generation function. For this reason, we can learn some instructions on how to make the current ChatGPT generate images .
Generally speaking, ChatGPT can only generate text, but there is a way to make it "generate" images. Specifically, we can let ChatGPT generate Unsplash image links, and then display these images through the Markdown engine. This function provides ChatGPT with more ways to play, such as generating web page illustrations or PPT with pictures.
Here are the steps to use:
First, copy the following command template to ChatGPT:
"Next I will give you instructions to generate the corresponding images. I want you to generate them in Markdown language. Do not use backticks or code boxes. You need to use the Unsplash API and follow the following format: https://source.unsplash.com/1600x900/ ?< PUT YOUR QUERY HERE >. Do you understand?"
Next, ChatGPT can start generating images.
If you want to generate a PPT content framework with pictures, you can use the following template:
"Generate the PPT content framework for the following topics, which needs to include the following:
1. Title of each page
2. Key points
3. The images that match the content of this page need to be generated in Markdown language. Do not use backticks or code boxes. You need to use the Unsplash API and follow the following format: https://source.unsplash.com/1600x900/ ?< PUT YOUR QUERY HERE >. "
Enter the subject you need after the PPT subject.
You may have some questions: What is Markdown? What is the Unsplash API?
In fact, ChatGPT has not yet opened the function of generating pictures, but instead generated links to Unsplash pictures. These links are then rendered into pictures by the Markdown engine. Markdown is a lightweight text markup language that can convert text into pictures, tables, code blocks and other forms. Unsplash is one of the world's largest free picture databases and has opened its API interface.
During use, you need to pay attention to the following points:
- The generated images can be used commercially.
- In addition to Unsplash, you can also use other stock libraries, but you may need to configure your own key.
- If you want to change the size of the image, just modify the size portion of the link, e.g. 800x800.
- Please note that since ChatGPT only generates links for fuzzy searches, the downloaded images may change.
That’s all the information you need to let ChatGPT generate images. I hope it helps!
Content from:
Neural Network Chinese AI Community Telegram Group: t.me/neuronicx8