This paper generates images related to software engineering using three versions of the Stable Diffusion (SD) model (SD 2, SD XL, and SD 3) and analyzes the gender and racial biases in the generated images. Considering the gender and racial imbalances in the software engineering field, we generated 6,720 images using each model for two prompts: one containing the keyword "software engineer" and one not. Our analysis reveals that all models tend to portray software engineers as male, with SD 2 and SD XL showing a slightly higher representation of White individuals, and SD 3 showing a slightly higher representation of Asian individuals. All models underrepresented Black individuals and Arab individuals. These results raise serious concerns about bias when using generative models in the software engineering field and suggest the need for further research to mitigate this bias.