# Negative Embeddings Python with Stable Diffusion

**URL:** <https://discuss.huggingface.co/t/negative-embeddings-python-with-stable-diffusion/91620>\
**Category:** Beginners\
**Created:** [June 11, 2024, 8:42pm UTC](https://discuss.huggingface.co/t/negative-embeddings-python-with-stable-diffusion/91620 "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](https://discuss.huggingface.co/u/mihaien)\
**Post date:** [June 11, 2024, 8:42pm UTC](https://discuss.huggingface.co/t/negative-embeddings-python-with-stable-diffusion/91620/1 "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!
