Longread translated automatically
Original size 1140x1600

Self-Portrait Generation

PROTECT STATUS: not protected

Concept

For this project, I created a series of self-portraits based on my photographs. All the self-portraits are united by a single style: black-and-white graphic work, a sense of nonchalance, simple line drawing, and realism. Yet, each portrait is unique in its pose, angle, emotion, clothing, and hairstyle.

Original size 1920x1080

Self-portraits that were used to train the model.

Self-portraits used to train the model.

I was curious whether I could generate similar self-portraits in a painted style using a trained model, where I and my facial features would still be recognizable, and whether the neural network could recognize my emotions and generate similar ones.

Working with Code

The code work was performed based on the source code provided in the assignment.

Installing External Libraries

Original size 1920x1080

Importing the dataset. In my case, this is 20 self-portraits, 1000×1000 pixels in PNG format.

Original size 1920x1080

Creating image captions and grouping pairs of images with their captions.

Original size 1920x1080

Creating a unique prefix.

Original size 1920x1080

Model characterization and model training.

Original size 1920x1080

Stable Diffusion Setup

Original size 1920x1080

Image Generation.

Original size 1920x1080

My Generations

When generating images, I aimed to understand the model’s capabilities—specifically, what emotions it could render on my face. As a result, I ended up with several variations for each emotion.

Joy

0
1/2

«painting of a DORA person in DORAS style, pure white background, smiling face»

Relaxed face

0
1/2

«painting of a DORA person in DORAS style, pure white background, resting face»

Sadness

Original size 1920x1080

painting of a DORA person in DORAS style, pure white background, sad face

Shock/Surprise

Self-Portrait Generation
Project created at 25.10.2026
hsespacecreative.deziiign
The digital ecosystem of HSE Institute for Creative Industries Development, combining a professional portfolio for students, graduates and employees of the bachelor’s and master’s degree programmes «Management in Creative Industries», an online educational platform, and a hub that aggregates international competitions in creative industries, among other digital services for creatives. ... Show more
We use cookies to improve the operation of the HSE website and to enhance its usability. More detailed information on the use of cookies can be fou...
Show more