# How to modify the inference API parameters on model card page

**URL:** <https://discuss.huggingface.co/t/how-to-modify-the-inference-api-parameters-on-model-card-page/82349>\
**Category:** Inference Endpoints on the Hub\
**Created:** [April 18, 2024, 6:13am UTC](https://discuss.huggingface.co/t/how-to-modify-the-inference-api-parameters-on-model-card-page/82349 "2024-04-18T06:13:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![VS9205](https://avatars.discourse-cdn.com/v4/letter/v/bc79bd/32.png) [@VS9205](https://discuss.huggingface.co/u/VS9205)\
**Post date:** [April 18, 2024, 6:13am UTC](https://discuss.huggingface.co/t/how-to-modify-the-inference-api-parameters-on-model-card-page/82349/1 "2024-04-18T06:13:53Z")

</div>

I have hosted a model on hugging face. While using the inference API on the model card UI page. the model is generating text with default values. I wish to change max\_new\_tokens to 250 from default value of 100. How to do this?

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/0/c/0c6c76124ebf60543fb5e5f3ca9f172c56076545.png)
