
先日、OpenAI DALL-E 2で作成されたCG画像を見ました。人間が打ち込んだテキストをもとに、AIが写真のような画像を生成するというものです。近い将来、本物とAIが生成したものの見分けがつかなくなるでしょう。ウェブサイトで使われているストックフォトも、数年後にはほとんどがコンピュータで生成されたものになるのではないでしょうか。
今回、DALL-E miniというオープンソースのAIプロジェクトを使ってみました。DALL-E 2には劣りますが、どんな画像が作れるか試してみるのはとても面白かったです。壁画、浮世絵など、色んなスタイルのアートを模倣するのが得意だということも実証できました。中でも特に良くできた画像をみなさんとシェアしますね!
I recently saw computer generated images created by OpenAI DALL·E 2 for the first time. Many of the images look like photographs, but they were created by an AI system based on user-provided text. Soon, it will be hard to tell what is a photograph of a real event and what was generated by a computer. Most stock photographs used online will probably be computer generated in a few years.
I tried out an open source AI project called DALL·E mini. The output is not as good as DALL·E 2, but it is still interesting to see what it can do. It is very good at mimicking different art styles. Below are some of the more interesting images that I was able to generate.
Paintings

名画「船の大火」。史上最高の絵画として有名。
The Great Ship Fire, masterpiece painting. Widely regarded as the greatest painting in history.

星空の下で演奏するオーケストラ
Painting of an orchestra under the stars

星空の下、焚き火を囲むカウボーイ
Starry night style painting of cowboys around a campfire on a dark night
Landscapes

「スターウォーズ」っぽい風景画
Star Wars landscape

「ライオンキング」っぽい風景画
Lion King style landscape

「鬼滅の刃」っぽい風景画
Demon Slayer landscape

「ONE PIECE」っぽい風景画
One Piece style anime landscape
Buildings and Castles

スタジオジブリの映画に出てきそうな家
A house in a Studio Ghibli movie

ディズニーランドっぽい風景画
Disney World landscape

日本の城
Japanese castle

日本の城下町
Japanese castle town landscape
浮世絵

(淡色)日本の海沿いの風景
Japanese landscape near the sea. Muted colors.

日本の海沿いの風景
Japanese landscape near the sea

日本の風景
Japanese landscape

(カラフルver.)日本の海沿いの風景
Colorful Japanese landscape near the sea

(浮世絵風)かわいいパグの子犬
Cute pug puppy ukiyo-e print

(浮世絵風)マコーレー・カルキンの叫び
Macaulay Culkin screaming in ukiyo-e print
Characters & Animals

(浮世絵風)「ONE PIECE」火拳のエース
Fire Fist Ace from One Piece anime in ukiyo-e print

(洞窟画)「ONE PIECE」のキャラクター
Cave painting of One Piece characters including Luffy

スーパーマーケットに居るルフィ
Luffy at the grocery store

「千と千尋の神隠し」に出てくるアニメ風ハルク・ホーガン
Anime style Hulk Hogan in the movie Spirited Away

トマトを買うミニオンたち
Minions shopping for tomatoes

(名画風)トマトを買うミニオンたち
A masterpiece painting of Minions shopping for tomatoes

パイナップルになったトトロ
Totoro pineapple

水族館にペンギンを見に行ったトトロ
Totoro went to Sea World to see the penguins

本物っぽいペンギントトロ
Totoro is a penguin. Photo realistic.

「マインクラフト」っぽい笑うトトロ
Totoro in Minecraft, smiling

「とびだせ どうぶつの森」に出てきたトトロ
Totoro in Animal Crossing

本物っぽいかわいいキツネ
Cute fox. Realistic.
Styled & Abstract Images

モアイのいるモノクロ映画
Black and white noir film with moai

デジタルアート風、宇宙のチェスゲーム
The cosmic chess game that determines our destiny, digital art

チューバを演奏するダース・ベイダー
Darth Vader playing a tuba

ローマ法王に面会するダース・ベイダー
Darth Vader meets the Pope. Darth Vader is holding a lightsaber.

(ルネッサンス絵画)ジョーカー
Renaissance painting of Joker

(ピカソ風)ジャック・スパロウ
Jack Sparrow as a Picasso painting.

(古代モザイク画)ジャック・スパロウ
An ancient mosaic of Jack Sparrow

ピカチュウ×パグ
A cute pug blended with pikachu

アニメっぽいパグ
A cute pug. Cartoon style.
使用した技術
今回試したのは、dalle-miniとdalle-playgroundです。dalle-playgroundプロジェクトは、AI研究プラットフォームであるGoogle Colabで簡単に(無料で!)動かすことができます。
両プロジェクトを自分のPCで動かしてみました。NVIDIA 1050ti GPUを使用した場合、1枚の画像を生成するのに約12秒かかりました。GPUを使用しない場合は約10分かかりました。
I tried out dalle-mini and dalle-playground. The dalle-playground project is easy to get going (for free!) on Google Colab, an AI research platform.
I also ran both projects on my PC. Using an NVIDIA 1050ti GPU, it took about 12 seconds to generate an image. Without the GPU, a single image took about 10 minutes to create!
Links
https://github.com/saharmor/dalle-playgroundhttps://github.com/borisdayma/dalle-mini
https://openai.com/dall-e-2/