# Inference API - single response

**URL:** <https://discuss.huggingface.co/t/inference-api-single-response/14288>\
**Category:** Beginners\
**Created:** [February 1, 2022, 8:41am UTC](https://discuss.huggingface.co/t/inference-api-single-response/14288 "2022-02-01T08:41:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![povkys](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/povkys/32/3913_2.png) [@povkys](https://discuss.huggingface.co/u/povkys)\
**Post date:** [February 1, 2022, 8:41am UTC](https://discuss.huggingface.co/t/inference-api-single-response/14288/1 "2022-02-01T08:41:44Z")

</div>

Hey,

I’m complete beginner. I tried a few models in Colab - prithivida/parrot\_paraphraser\_on\_T5 and other paraphrasers.

In Colab I always get an array with few rephrased variants. Then I started to play around with Inference API in Python with the same models, the same input, but I get only one response. Is there any option to get the same what I’m getting in Colab - to get more rephrased variants?

And also, how can I pass specific settings to model via API? Like do\_diverse or max\_length (as API seems to be limiting answer length)?

Thanks you.
