# API interface for Text2Text generation task

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fapi-interface-for-text2text-generation-task%2F11688%3E%5C
**Category:** 🤗Hub\
**Created:** [November 14, 2021, 1:11pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fapi-interface-for-text2text-generation-task%2F11688 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fvblagoje)%5C
**Post date:** [November 14, 2021, 1:11pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fapi-interface-for-text2text-generation-task%2F11688%2F1 "2021-11-14T13:11:36Z")

</div>

Hi,

[Documentation](/static-proxy?url=https%3A%2F%2Fapi-inference.huggingface.co%2Fdocs%2Fpython%2Fhtml%2Fdetailed_parameters.html%23text2text-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
