# Negative Embeddings Python with Stable Diffusion

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fnegative-embeddings-python-with-stable-diffusion%2F91620%3E%5C
**Category:** Beginners\
**Created:** [June 11, 2024, 8:42pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fnegative-embeddings-python-with-stable-diffusion%2F91620 "2024-06-11T20:42:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mihaien](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@mihaien](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmihaien)%5C
**Post date:** [June 11, 2024, 8:42pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fnegative-embeddings-python-with-stable-diffusion%2F91620%2F1 "2024-06-11T20:42:36Z")

</div>

Hello everyone!!

How can I use negative embeddings in Python when usind Stable Diffusion XL?

I downloaded a file from CivityAI and I know that the negative embeddings should be put in the **negative\_prompt** field, but I don’t know how.

Should I put the path to the file?

Thank you!
