Discussions

Ask a Question
Back to all

"fit" parameter doesn't work in API V3 version

Hello!

I use your API and Templates.

Today I started using your V3 API with the new AI studio.
And now I have a problem with video sizes when I try to use the video as a background.
Before I used "fit": "cover" parameter.

This is an example of my code:
"properties": {
"url": "https://test-video.com",
"asset_id": null,
"play_style": "fit_to_scene",
"fit": "cover",
"volume": 1
}

Now it doesn't work, and my video doesn't have full-screen size.

How can I fix this problem?
I didn't find the "fit" property in your new V3 version of the API documentation