# Accessing model through Inference Endpoint

**URL:** <https://discuss.huggingface.co/t/accessing-model-through-inference-endpoint/90083>\
**Category:** Beginners\
**Created:** [June 3, 2024, 1:45pm UTC](https://discuss.huggingface.co/t/accessing-model-through-inference-endpoint/90083 "2024-06-03T13:45:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GKYagami](https://avatars.discourse-cdn.com/v4/letter/g/ba8739/32.png) [@GKYagami](https://discuss.huggingface.co/u/GKYagami)\
**Post date:** [June 3, 2024, 1:45pm UTC](https://discuss.huggingface.co/t/accessing-model-through-inference-endpoint/90083/1 "2024-06-03T13:45:36Z")

</div>

Hi,

I want to host a custom DreamBooth diffusion model and get an output in my application through an API, by sending a prompt. ( **instead of running the model locally** ) . Will I be able to do this with **Inference Endpoints** in Hugging Face? If so, can someone please guide me on where to start?

---

<div class="post-metadata">

**Author:** ![nielsr](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/nielsr/32/39617_2.png) [@nielsr](https://discuss.huggingface.co/u/nielsr)\
**Post date:** [June 3, 2024, 1:57pm UTC](https://discuss.huggingface.co/t/accessing-model-through-inference-endpoint/90083/2 "2024-06-03T13:57:00Z")

</div>

Yes that’s totally possible!

For custom models, it’s recommended to follow this guide: [Create custom Inference Handler](https://huggingface.co/docs/inference-endpoints/guides/custom_handler). Basically, it allows you to create an endpoint for any custom model.

---

<div class="post-metadata">

**Author:** ![GKYagami](https://avatars.discourse-cdn.com/v4/letter/g/ba8739/32.png) [@GKYagami](https://discuss.huggingface.co/u/GKYagami)\
**Post date:** [June 3, 2024, 2:07pm UTC](https://discuss.huggingface.co/t/accessing-model-through-inference-endpoint/90083/3 "2024-06-03T14:07:03Z")

</div>

So if I’m understanding correctly, the computational power of the machine running the application won’t matter as long as it can get the image output from the endpoint? I just want to get the generated image output to a simple Flask application without downloading the model. Are there any restrictions, and do I need to consider the paid version just for a personal project?
