Discussions

Ask a Question
Back to All

Background Image Validation

Hello, HeyGen Team!

I have a question regarding the use of custom backgrounds when generating videos: https://docs.heygen.com/reference/generate-video
https://api.heygen.com/v1/video.generate

The endpoint documentation states that you can use links to images in jpg/jpeg/png format.

I wanted to clarify whether there are any additional validation rules for these images on your part, for example, in terms of image resolution or size?

Also, the second question is how the background will be processed if the video resolution is specified, for example, in full HD with a landscape orientation of the sides (16:9) and the image for the background will have an aspect ratio, say, 3:4
Will the background somehow be adjusted to the aspect ratio of the video?

Thanks in advance for your answer!
Andrii