Discussions
Can you captions be created for any character videos?
6 months ago by Nur Lopez
Hi, I get a 'Video caption is not supported for this video' when running
url = "<https://api.heygen.com/v1/video/caption.generate">
payload = {"video_id": video_id}
response = requests.post(url, json=payload, headers=HEADERS)
print("🎬 captions json", response.json())
My video is a character video of type 'avatar'.
I generated the video with the standard call:
url = "https://api.heygen.com/v2/video/generate"
and I marked captions = True.
The video is generated successfully, but when I use that video_id for adding captions, I get the error that mentioned about. This is the json response:
{'code': 400172, 'message': 'Video caption is not supported for this video'}
What is the issue?