Discussions

Ask a Question
Back to All

How to pass language and accent via API when generating video

My payload looks like this:

    "video_inputs": [
        {
            "character": {
                "type": "avatar",
                "avatar_id": "ebddc53cc912470082129f6e503b8013",
                "avatar_style": "normal"
            },
            "voice": {
                "type": "text",
                "input_text":"hola como estas?",
                "voice_id": "b9e746ea96e04954aa7d19a786b74355" 
            },
            "scene": {
                "bg_color": "#FFFFFF"
            }
        }
    ]

I'm trying to pass a language and accent to my video generation call. Do I need additional params for my voice data? Initially I thought the voice id would include the language and accent, but it seems like the english version of my AI voice has the same exact voice id.