Mutiple text generation ( batch text generation ) single api call

What is best possible way to generate multiple text using single api call ie corresponding to text data , we dont need to pass train ( sample ) example again and again ?That ill save some time and lower down the costs ( since we will be passing less tokens ) In one of our experiment , when I did single api call multiple times corresponding to each example it generated better quality text as compare to when I passed all examples in one example .