SECRET OF CSS

Training DALL E -2: Generating Art Styles, Photorealistic Images, and Detailed Prompts | by Elenee Ch | Jul, 2022


Increase the quality of Dall-E 2 generations.

1*LKk5AfyHy1fV Rj4gqsd Q

In the previous article, we discussed biases, assumptions, and filters. Today I’d like to speak more about how to get desired results without generating too many variations.

I’ve already said how excited I was when I got the access and etc, but when I realized that we all had very limited, 50, generations per day, I decided to use it mindfully. So, where’s the dog buried? Well, basically it appears that, if you know how to talk with the system, you can save up quite the number of generations and still get what you want.

  1. Use commas to separate content in your prompt, to get better results, mimic the title of the original file. e.g. Imagine, you want to generate something in Paul Cézanne style, doesn’t matter how you write your prompt, the system will still do a good job to mimic the style of the artist and if you’re still not satisfied, after a couple of variations, you will definitely find what you want. But you can help the system and in your original prompt mention key information like the original title, year, medium, colors and etc. e.g:
1*RRpMOJEfbLm5BVXCQzskkw
Prompt 1. Mother hen and 4 little cute chickens are playing in the yard, Paul Cézanne style
1* 0vLmHP2n
0*rT9bZL9mV2m0A9bP
Prompt 2: A vivid oil painting of a Mother hen and 4 little chickens playing in the yeard by Paul Cézanne, 1894 59 × 72,4 cm Collection particulière aux États-Unis // Original title: Peinture à l’huile sur toile de Paul Cézanne, 1894, 59 × 72,4 cm, Collection particulière aux États-Unis

It’s pretty obvious that the detailed description generated better results at the first attempt than when you tried to generate with a very general description. My suggestion would be, if you want to generate something specific, be as detailed as possible.

2. When it comes to generating photorealistic images, use lenses instead of using adjectives like realistic, photorealistic, life-like, real-life… Example: You want to generate a close-up photo of a sleeping cat, the general prompt may look like this : “a sleeping chubby British short haired cat, realistic”, so far it looks normal but once you see the result, you may need to generate a couple of variations, by adding extra details in order to get your photorealistic cat. You can save time by adding lenses to your prompt. I literally had an Eureka moment, when I realized that. I thought if the system gets data about mediums, why can’t it have an access to the detailed info of the photo? I was mind-blown when I checked the results.

1*HiJCJI9AndNDwcoZg jOMw
Prompt 1: a sleeping chubby British short haired cat, realistic
1*MphyMujZDA6iI4gbd0j6gg
1*CCefHYZEtQm0oniUaFtkPg
Prompt 2: a chubby British short haired cat, Samyang/Rokinon Xeen 50mm T1.5

I didn’t have to generate any more variations, because I was totally satisfied with the initial results. This little trick can help you generate human features as well, if you remember, in the previous article, I said that generating real-life people or features is against policy, that’s why you will almost never see realistic faces or people. Now check this.

1*XIkdInzCcNpIhqm79E1s3w
1*29auwuS7JiyXYa30qyJ6HQ
Left: “Michelangelo, David, full body, OM system 12–40mm PRO II 40mm, 1/100 sec, f/2 8, ISO 800” // Right: “A very detailed statue of two philosophers judging passerby’s outfits in the middle of a street, Italy, afternoon, Sigma 40mm f/1.4 DG HSM

Even though the system still filtered out the “full-body” part from my prompt, overall facial features were pretty realistic to me.

That’s not all, let’s see how this works when you want to generate real-life facial features.

I’ve observed that whenever you ask Dall-E 2 to generate human+(random subject) unless you specifically ask to focus on humans, it will always avoid including all humane features. So I wanted to check what would I get if I ask to generate something like this: “red-head girl is holding a chubby ginger cat, photorealistic”

Prompt 1: red-head girl is holding a chubby ginger cat, photorealistic

Well, not what I was expecting, but at least two decent variations, that I can use to generate more variations, but remember, we want to narrow down the options as fast as possible. Instead of using Photorealistic, I will go for suggesting the preferable lenses.

1*6Whb6dTCdGjGePA0H6y0aQ
Prompt 2: red-head girl is holding a chubby ginger cat, Samyang/Rokinon Xeen 50mm T1.5

Slick! I know! This is honestly such a game changer the quality is nonsensically amazing!

1*kn g7 ojzQEdt2GN1qWEA
Prompt: Pomegranate, OM system 12–40mm PRO II 40mm, 1/100 sec, f/2 8, ISO 800”

Now you can generate cinematic shots and give them certain vibe.

1*aA7lSSdSAcsyccUbjdkgsA
Left: Shinkansen in the rainy weather, Sigma 50mm T1.5 FF High-Speed Prime // Right: “A serene photo of a mountain blue lake and a boat, OM-D E-M5 Mark III | M.Zuiko Digital ED 12–40mm F2.8 PRO | 1/50sec | F9 | ISO64
1*QqwzjttHenuVpNj VOHmlQ
1*bL9zEH7 2paOSOBv3ZX96w
Prompt: A rainy day in Tbilisi streets, Sigma 50mm T1.5 FF High-Speed Prime

Even though there’s hardly any hint that I asked the system to generate Tbilisi, the mood, colors and some of the details do match with Tbilisi Streets.

1*0CXhJ6ZDF3 CcqDDSbR2WA
1*nUUkso5c1kSNrKdSy4s04Q
1*zAALyvwSaqEpfiOz2npmYA
Prompt: A hot summer day in old streets of Tbilisi, Georgia, Sigma 50mm T1.5 FF High-Speed Prime



News Credit

%d bloggers like this: