Customize the example shown in Inference API

Huggingface’s Hosted Inference API always seems to display examples in English regardless of what language the user uploads a model for.

Is there a way for users to customize the example shown so that it is relevant for a given model?

*Edit: After searching some more I found the following link (Model Repos docs) which describes how a user can customize the inference task and the example shown. I will leave this thread up anyway for future users and search engine results, since I myself had huge difficulties finding the documentation.

In my opinion Huggingface should absolutely mention this somewhere in the Accelerated Inference API documentation, since that is the top search result in search engines when searching for “inference api customize example” .