Original size 1140x1600

Training a neural network in the style of Meybis Ruiz Cruz

PROTECT STATUS: not protected
Longread translated automatically

The project describes the process of training the Stable Diffusion model to generate portraits in the style of artist Meybis Ruiz Cruz, utilizing Kaggle and a custom dataset. The primary goal is to create a neural network capable of reproducing the artist’s unique style in the generated images.

big
Original size 1445x470

Dataset Preparation

big
Original size 5162x1992

Part of the dataset

To train the neural network, a dataset of 50 artworks by the artist was compiled. The artist specializes primarily in portraiture, so the neural network most often generates bust or head portraits.

The artist’s work shows slight stylistic variation: ranging from highly cartoonish to painterly realism. However, all pieces feature «confident» strokes from textured brushes, a certain «angularity, ” and an alternation between flat color fills and gradients.

big
Original size 1440x318
big
Original size 1444x807

Passing learning parameters via command line

Learning Outcomes

Original size 3202x1024
Original size 4354x1024

prompt = «photo portrait in Meybis Ruiz Cruz style, Marilyn Monroe, front view, red lips, red dress, daytime»

First, the Marilyn Monroe portrait generation variant was tested. The results showed an inaccurate resemblance to the actress, though the drawing style was considered successful.

Like the author’s work, the generated images vary slightly in proportion. Nevertheless, each drawing effectively mimics painterly brushstrokes—this is noticeable in both the faces and the hair.

Original size 2091x1024

After initial tests generating a stylized portrait of an actress, it was decided to incorporate random physical characteristics into the prompts, such as: a man with short dark hair and gray eyes, a sad expression.

Original size 3158x1024

prompt = «photo portrait in Meybis Ruiz Cruz style, chest-length portrait, young guy, blue eyes, sad face, red curly short hair, black glasses»

Original size 2091x1024

prompt = «photo portrait in Meybis Ruiz Cruz style, chest-length portrait, young guy, blue eyes, sad face, red curly short hair, black glasses, daytime, bright saturated colors»

The two generated images above were, in my opinion, the most successful options in terms of style fidelity, even despite the slightly «broken» anatomy.

Original size 3202x1024

prompt = «photo portrait in Meybis Ruiz Cruz style, chest-length portrait, little girl, orange eyes, black hair, daytime, bright saturated colors»

Original size 2091x2091

prompt = «photo portrait in Meybis Ruiz Cruz style, chest-length portrait, black woman, black afro hair, daytime, highly saturated colors»

Original size 3202x1024

prompt = «photo portrait in Meybis Ruiz Cruz style, white woman, yellow hair, highly saturated colors,»

Original size 2091x2091

prompt = «photo portrait in Meybis Ruiz Cruz style, chest-length portrait, white man, freckles, yellow hair, highly saturated colors,»

Original size 3202x1024

prompt = «photo portrait in Meybis Ruiz Cruz style, kid, red hair, daytime»

Original size 2091x1024

prompt = «photo portrait in Meybis Ruiz Cruz style, a woman with a cigarette in her mouth, red hair, daytime»

Original size 1024x1024
Original size 3202x2113

prompt = «photo portrait in Meybis Ruiz Cruz style, chest-length portrait, girl, dark eyes, black hair, saturated colors»

Training a neural network in the style of Meybis Ruiz Cruz
Project created at 10.04.2025