# "ERROR: NO API FOUND" In Roop-Unleashed model

**URL:** <https://discuss.huggingface.co/t/error-no-api-found-in-roop-unleashed-model/151826>\
**Category:** Beginners\
**Created:** [April 22, 2025, 3:35pm UTC](https://discuss.huggingface.co/t/error-no-api-found-in-roop-unleashed-model/151826 "2025-04-22T15:35:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Godotzilla](https://avatars.discourse-cdn.com/v4/letter/g/fbc32d/32.png) [@Godotzilla](https://discuss.huggingface.co/u/Godotzilla)\
**Post date:** [April 22, 2025, 3:35pm UTC](https://discuss.huggingface.co/t/error-no-api-found-in-roop-unleashed-model/151826/1 "2025-04-22T15:35:05Z")

</div>

Was having build errors. After a factory restart, the model successfully built and is running …

But now every time I load media into the model, it tells me there’s no application programming interface.

Anyone encountering a similar error? And have you found a fix for this?

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](https://discuss.huggingface.co/u/John6666)\
**Post date:** [April 23, 2025, 2:32am UTC](https://discuss.huggingface.co/t/error-no-api-found-in-roop-unleashed-model/151826/2 "2025-04-23T02:32:13Z")

</div>

This case has been occurring frequently recently, but if there is another cause, debugging will be necessary again.

> [@Error : No API Found](https://discuss.huggingface.co/t/error-no-api-found/146226):
>
> Hi, I have built a Gemini 2.0 flash based photo editing app with gradio ui. This app is running perfectly fine on my local system, but when I am trying to run it on spaces it is giving me Error : No API Found. I have used gemini api keys in secrects Code : [https://huggingface.co/spaces/Saurabh502/Gemini-photo/resolve/main/app.py](https://huggingface.co/spaces/Saurabh502/Gemini-photo/resolve/main/app.py) Please let me know your thoughts, on how to resolve this. Thanks

### Quick workaround

```auto
pydantic==2.10.6

```
