# API interface for Text2Text generation task

**URL:** <https://discuss.huggingface.co/t/api-interface-for-text2text-generation-task/11688>\
**Category:** 🤗Hub\
**Created:** [November 14, 2021, 1:11pm UTC](https://discuss.huggingface.co/t/api-interface-for-text2text-generation-task/11688 "2021-11-14T13:11:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vblagoje](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/vblagoje/32/20818_2.png) [@vblagoje](https://discuss.huggingface.co/u/vblagoje)\
**Post date:** [November 14, 2021, 1:11pm UTC](https://discuss.huggingface.co/t/api-interface-for-text2text-generation-task/11688/1 "2021-11-14T13:11:36Z")

</div>

Hi,

[Documentation](https://api-inference.huggingface.co/docs/python/html/detailed_parameters.html#text2text-generation-task) for Text2Text generation task mentions adding more options in the future.

I tried Inference API on my encoder/decoder Text2Text generation and I noticed that not all parameters are passed to generate method call. Any updates on task upgrades?

Vladimir
