Discussions

Ask a Question
Back to all

ERROR 400 VIA API

I am trying to generate an image + audio animation video via API, and the following error keeps appearing:

Edge function returned 400: Error, {"error":"Erro ao criar vídeo","details":"{"data":null,"error":{"code":"invalid_parameter","message":"video_inputs.0.character is invalid: Input tag 'photo' found using 'type' does not match any of the expected tags: 'avatar', 'talking_photo'"}}\n"}
{
"timestamp": 1763779279970,
"error_type": "RUNTIME_ERROR",
"filename": "supabase/functions/animate-avatar/index.ts",
"lineno": 0,
"colno": 0,
"stack": "not_applicable",
"has_blank_screen": true
}