Navigation

    CreatiCode Scratch

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    The OpenAI DALL·E 2 Model (Premium)

    2D Blocks
    1
    1
    9
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • info-creaticode
      CreatiCode last edited by info-creaticode

       

      Introduction

      DALL·E 2 is an AI model created by OpenAI. It can generate high-quality images based on the user’s text input (the “prompt”).

      For example, if your input is “a bowl of soup that is also a portal to another dimension, digital art”, the output may look like this:

      ee.png

       

      You can think of DALL·E 2 as a master painter that will paint anything based on your specific request.

       
       

      The OpenAI DALL·E Block

      To use the DALL·E 2 model to generate an image, you can use the following block in the “AI” category (premium subscription needed):

      d7382c09-bd5c-4ae5-91bb-0797d938276f-image.png

       
      The first input is the name of the image to be generated. It will be stored as a new costume with this name. If a costume with that name already exists, it will be replaced.

       
      The second input is your request, up to 1000 characters. We’ll discuss how to write such requests later.
       
      The third input specifies the size of the image to be generated, which can be 256 by 256, 512 by 512 and 1024 by 1024. Note that the larger the image, the longer it will take to generate it.

       
      After you run the block above, it will normally take 3 to 5 seconds to create the new costume image with the given name. However, if there are other requests queued before yours, then it might take much longer due to a rate limit imposed by OpenAI.

       
       

      The Generated Costume Image

      When the costume image is ready, you can switch to the “Costumes” tab to view it. You can also right-click on it to export the image as a png file.

      da.gif

       
       

      Sprite Costumes

      You can not only generate images for background, but also costumes for sprites. For example, with the prompt of “a cute singing dog cartoon, full body view, white background”, you get a costume image like this:

      d11.png

       
       

      Copyright of the Generated Image

      The image you generate is guaranteed to be unique, and you have full copyright to it. That means you can use it in your projects, and you can even sell it if you can find a buyer.

      However, if you choose to share the project that contains this image, then others will gain the right to use your image so long as they give credit to you.

       
       

      How to Write Great Text Prompts

      With the help of DALL·E, you can become a great 2D artist even if you don’t know how to paint. All it requires is the ability to compose a great text prompt that’s creative and accurate.

      It takes a lot of practice to become really good at using DALL·E 2 to paint. In a way, it is similar to programming: you have to have a creative idea, then you need to be able to express that idea as a text command that the DALL·E 2 model can understand and execute.

      Below are some useful tips for you:

       
       

      Tip 1 - Learn from Examples

      You can review images generated by others and the text prompt they are using. That’ll help you learn how to write your own prompt. For example, https://lexica.art is a great website with a lot of example images and their prompts.

       
       

      Tip 2 - Try “Impossible” Combinations

      The DALL·E 2 model is especially good when painting things that do not exist. If you combine some things or concepts that are usually not associated with each other, you would get some very interesting results. Here are some examples:

      “a sports shoe made of watermelon”

      shoe.png

       

      “a dog taking a cooking class, photo-realistic, highly detailed”

      computer.png

       
       

      Tip 3 - Give More Details

      Every word in your text prompt matters. The more details you provide, the more likely for the DALL·E 2 model to “understand” what you are looking for.

      For example, if your text prompt is “a beautiful beach”, you would get a fairly ordinary beach picture:

      beach0.png
       

      However, if your prompt contains much more details, such as “Beach paradise, concept art, low angle, high detail, warm lighting, volumetric, god rays, vivid, beautiful, huge scene”, you will get a much more unique result:

      beach1.png

       
      Of course, you do need to know some special terms used to describe a painting or object. For example, “volumetric” means “giving a sense of three dimensions”.

       
       

      For another example, if your prompt is “a city on Mars”, this is what you will get:

      mars0.png

       
      If you add more details, such as “a city on Mars, futuristic, highly detailed, sci-fi, beautiful, warm color, peaceful, photo-realistic, vast ground”, you will get a result like this:

      mars3.png

       
       

      Tip 4 - Keep Trying

      It is very likely that you do not get the perfect image you are expecting. When that happens, the simplest thing you can do is try again. You don’t even need to change the text prompt, since every image is randomly generated.

      Of course, you may want to change the text prompt slightly as well, such as adding, changing or removing some words. Try to make small changes each time, so that you can view the corresponding change in the resulting image.

       
       

      Tip 5 - Don’t Expect Beautiful Faces

      The DALL·E 2 model will not generate good-looking human faces.

      For example, for a prompt like “a beautiful face full view photo realistic”, you may get faces like these:

      face1.png

       

      face2.png

       

      This is intentional since the creators of the DALL·E 2 model do not want the model to be used to impersonate real people.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post