[Stable Diffusion] Van Gogh drew a hamster using the popular image generation AI
Hello.
My name is Kawa from the System Solutions Department and I have been hurting my back lately.
Happy new year It's 2023.
If you look back, I feel
was a year in which a lot of new technologies were released, as you may all be feeling.
In particular, AI technology has evolved tremendously without us even realizing it.
I also feel a little fearful that the workers may no longer be needed.
So, I decided to learn AI technology so that I could become a user rather than a user.
The thumbnail images for this Beyond blog list
were actually generated by AI.
Space hamster, space ham.
Using an image generation AI called
Stable Diffusion which was released around summer and became a hot topic I was able to create a space ham with surprising ease.
The power of Kagaku is amazing
If the master painted a hamster
A while ago, the series ``What if Van Gogh drew a motorcycle gang'' was a hot topic, but
this time I would like to have him draw a hamster.
"a painting of a hamster in Van Gogh style"
Van Gogh.
It has a "The Starry Night" feel to it.
"An impressionistic painting of a hamster in Monet style
Monet. It has a nice impressionistic feel.
By the way, the top painting of this article is also by Monet, and it is a version without the word "impressionism".
a picture of a hamster in Hokusai style
Katsushika Hokusai.
It gives off a peaceful feeling.
"a painting of a hamster in the style of Piccasso's Guernica"
The last one is Picasso.
It gave me a Guernica feel.
So, how are you doing?
If you look into the details, you'll find many ways to do it, but this time I'm using an Ubuntu environment that makes full use of the CPU rather than the GPU.
Since a model based on training data is used for generation, I used
Hugging Face's (A generous license that allows commercial use as long as it is not malicious or content that harms others)
Tips for prompts
To output the image you want, you need to devise the prompt text.
For example, the hamster (??) below,
This is an image output by
"space hamster" you may end up creating something that does not have the body of a hamster. There are often no results.
So, if you want to express a hamster in space,
it might be a little better to use something like
"a hamster in space." (It's easy to understand if you imagine a game you used to play in the past, ``Who is doing what where?'')
Other expressions used to embody an image include
"in Van Gogh style" or "in the style of Van Gogh"
"a painting of" (~ picture)
"a photograph of" (~ photo)
You can use "abstract" (abstract painting)
Example:
"a painting of Tokyo Sky Tree in Renoir style"
"a painting of Tokyo Sky Tree in Van Gogh style"
Everyone please try it
complete