Discussions
what should i give in http requets body from n8n to heygen api
{{ [{ "character": { "type": "avatar", "avatar_id": "568c5578b8b54165b3549bd20d27da46", "avatar_style": $('Get row(s) in sheet').item.json.Tyler_outfit || "default" }, "voice": { "type": "audio", "audio_url": $('Combine Audio Files').item.json.data.filter(d => d.voice_id === 'RPmw5qjRTyUVwSbGoBJp')[0]?.audio_url } }, { "character": { "type": "avatar", "avatar_id": "f4c851e1179f49209822a592d9cb7383", "avatar_style": $('Get row(s) in sheet').item.json.leo_outfit || "default" }, "voice": { "type": "audio", "audio_url": $('Combine Audio Files').item.json.data.filter(d => d.voice_id === 'jD4PjnscE4XmlzgsuqY0')[0]?.audio_url } }] }}
im cuttently giving the above json in n8n but getting bad parameters for audio_style, if yes what is the suggestion or usable keys here in place avatar_style . my main mitive is to give the avatars outfit and the background and their actions thats is