Discussions

Ask a Question
Back to all

Transparent background on v2/generate

Hello,

We are trying to create a video with green background, but it does not work with the payload below:

Endpoint:/v2/video/generate

Payload:

(
[video_inputs] => Array
(
[0] => Array
(
[character] => Array
(
[type] => avatar
[avatar_id] => be086a7ab57f4b5e80923bc433e1cfe0
[avatar_style] => normal
)

                [voice] => Array
                    (
                        [type] => text
                        [input_text] => my text here my text here my text here my text here my text here my text here my text here 
                        [voice_id] => 00112f51623c4d58aaa865c4a5d72671
                        [speed] => 1
                    )

                [background] => Array
                    (
                        [type] => color
                        [value] => #008000
                    )

            )

    )

[dimension] => Array
    (
        [width] => 1080
        [height] => 1920
    )

[aspect_ratio] => 9:16
[test] => 

)

Example with this video:
367be773aea9408b82b3a02463fadec5

Thanks for your help