Inference API (serverless)

I have a questions, i would like to use a project via url that i clone from other repository but i dont know how to create api-inference, i seen several projects with api-interface , and i dont know how to create one, like the following photo

image,

in the project i cloned its like this, dont have the api interface , its only a page Piper TTS Spanish - a Hugging Face Space by saucapucha