You want to produce a video of your animation.
In the Inventor Studio environment, Render tab, Animate, you click on Video Producer.
Then you click on Record Animation.
In the following Render Animation dialog, Output tab, Time Range, if you select the option Entire production, and you get a video with 1 frame.
If you try to set the Specified time range, the end cannot be greater than 30 seconds.
If this is your case, make sure you have created a Camera.
Then, click again on Video Producer and drag the camera to the timeline.
Select the camera in the timeline and edit it.
Set the End time to the value you want.
Of course it cannot be greater that the entire animation time.