# Class-Conditional using Unet2DModel

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fclass-conditional-using-unet2dmodel%2F58278%3E%5C
**Category:** 🧨 Diffusers\
**Created:** [October 12, 2023, 9:34am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fclass-conditional-using-unet2dmodel%2F58278 "2023-10-12T09:34:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![WiNE-iNEFF](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/wine-ineff/32/30221_2.png) [@WiNE-iNEFF](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FWiNE-iNEFF)%5C
**Post date:** [October 12, 2023, 9:34am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fclass-conditional-using-unet2dmodel%2F58278%2F1 "2023-10-12T09:34:06Z")

</div>

Hello everyone.

I want to try create simpe model that can generate images from noise and class vector, but i can understant how to create this. I saw an article somewhere where it was said that Unet2DModel can be used for these purposes, but I don’t understand what parameters in the model configuration need to be configured for everything to work.

Thanks for any kind of help!
