Longread translated automatically
Original size 1140x1600

Training a generative neural network in the style of James Whistler’s work

PROTECT STATUS: not protected

Project Description

While working on this project, I trained a generative neural network to create images in the style of James McNeill Whistler. I chose this artist because I am captivated by his ability to convey mood through color, light, and tonal transitions. The restrained palette and soft forms in his works create a distinct atmosphere, imbuing even simple subjects with expressiveness.

I was curious to see if the neural network could capture the nuances of Whistler’s painting and maintain his style across new images. I used various subjects—from cityscapes to still lifes—to test how the model handles different themes and how recognizable the artist’s style remains.

Source Images

0
1/5

Whistler’s Works

Working with AI

To train the neural network, paintings by James McNeill Whistler were collected and prepared for use in the model. The SDXL DreamBooth LoRA method was chosen as the foundation, allowing the neural network to learn and replicate the characteristics of the artistic style. In the Colab notebook, the graphics processing unit (GPU) is configured, necessary libraries are installed, and training parameters are specified. After data preparation, the LoRA training is initiated, which teaches the neural network to generate new images with the characteristic colors, soft tonal transitions, and atmosphere of Whistler’s work. The text prompt used for image generation is «in James McNeill Whistler style.»

0
1/6

The resulting series of images

Below is a series of images generated by a neural network in the style of James McNeill Whistler. These examples demonstrate how the model conveys the distinctive characteristics of his work: a restrained color palette, soft tonal gradations, and subtle interplay of light and shadow. Particular attention has been paid to the atmosphere and mood created through color and composition. In my view, the most successful pieces showcase the extent to which the neural network has managed to translate Whistler’s artistic manner into new narratives.

Original size 768x512

«painting in the style of James McNeill Whistler,» «quiet river at dusk, soft mist over the water,» «faint silhouettes of distant boats, muted blue and gray palette,» «subtle reflections, atmospheric tonalism, soft edges,» «minimalist composition, delicate brushwork»

Original size 768x512

«painting in the style of James McNeill Whistler, ” „a night harbor with distant sailing ships, ” „tiny warm lights reflected on dark water, ” „deep navy blue and charcoal grey tones, ” „soft atmospheric haze, subdued contrast, ” „tonal painting, loose brushwork, quiet contemplative mood“

The neural network effectively conveyed the atmosphere of a night port, utilizing muted blue-green tones, blurred ship silhouettes, and reflections of light on the water. The Whistlerian style is recognizable through the soft color transitions and the emphasis on mood, though the object details lack sufficient sharpness (which, given his style often features blurred silhouettes, might actually be a strength).

Original size 768x512

«a painting in the style of James McNeill Whistler, ” „a simple ceramic vase on a wooden table, ” „a dimly lit interior, soft shadows on the wall, ” „a muted palette of brown, cream, charcoal, and gray, ” „subtle tonal variations, an understated composition, ” „soft edges, a quiet, contemplative atmosphere, ” „fine art oil painting“

Original size 768x512

«painting in James McNeill Whistler style, " «elegant woman in a dark dress standing in a quiet interior, " «simple muted background, restrained pose, " «soft diffused light, subtle tonal transitions, " «limited palette of charcoal, warm brown, and grey, " «delicate brushwork, atmospheric fine art painting»

She did a very good job with the portrait as well. I’ll specifically mention the clearer girl and the simplified background, which aligns with the artist’s style. A drawback is that something happened during the generation of the facial expressions, causing the face to look slightly distorted.

Original size 768x512

«painting in the style of James McNeill Whistler,» «vibrant sunset over a European riverside city,» «glowing golden-orange sky, vivid pink clouds,» «deep turquoise water reflecting warm city lights,» «silhouettes of historic buildings and small boats,» «rich saturated colors, luminous reflections,» «expressive brushstrokes, atmospheric perspective,»

Original size 768x512

«painting in the style of James McNeill Whistler, an autumn park featuring a small pond with golden-yellow and fiery-red leaves, emerald-green water, sunlight filtering through the trees, warm orange reflections on the pond, a misty background, expressive brushstrokes, rich colors, soft edges, and an atmospheric composition; fine art oil painting»

Original size 768x512

«painting in the style of James McNeill Whistler, " «snow-covered old European street at winter dusk, " «warm glowing amber windows, deep blue and violet shadows, " «soft falling snow, icy reflections on cobblestones, " «bare trees covered in snow, pale golden sky, " «atmospheric mist, subtle tonal contrasts, " «expressive brushstrokes, soft edges,»

Analysis of the generated images indicates that the neural networks successfully captured some characteristic features of James McNeill Whistler’s work. The pieces exhibit muted colors, soft tonal transitions, and a distinct focus on light and atmosphere. The images have a serene and slightly mysterious quality. Although there are isolated issues—and sometimes the neural network drifts toward styles resembling other artists—the generation successfully mimics the target artist’s style.

Training a generative neural network in the style of James Whistler’s work
Project created at 27.10.2026
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