Creating multiple outputs using Photoshop API playing action(.atn) file

Hey Guys, I am trying to use the Adobe photoshop API to create multiple images. I have a psd, and an action file that produce multiple output in the Photoshop desktop App. Using API, I can create single output perfectly, but when I try to create multiple outputs, it only gives me the copy of first output for all.

url: https://developer.adobe.com/photoshop/photoshop-api-docs/code-sample/#example-15--photoshop-actions---play-all-actions-in-atn-file

when using the following api endpoints with multiple outputs parameter, it gives me same output for all , where it is suppossed to give me different output according to my action file.

I know its in beta version, its not commercialized yet. Just wanted to know if it is possible to create multiple output? or they just support single input and single output?

Appreciate any kind of thoughts.
Thanks guys.