Abstract
A methodology based on prompt design is proposed for analysing biases present in artificial intelligence applied to image creation. This study proposes a four-level system for progressively contextualizing the prompt, ranging from a neutral description to an explicit reference to the sociocultural context, applied to the qualitative analysis of a highly symbolic photographic project: a series of late-19th-century African American cabinet cards. Images generated by GPT-4o, Gemini and Stable Diffusion using different prompts are compared with original photographs using a visual analysis matrix. The analysis identifies patterns of stereotypical representation, and the results show how only the specific contextualization of phenotype, gender, and sociocultural context allows for a representation consistent with the referent. The study proposes strategies for the critical and ethical use of these technologies.