OptionalerrorOptionalerrorWhen success == false, this will contain the error message
OptionalusageUsage for the request, when the provider reported it: normally the video's length as
ModelUsage.ForMedia('Seconds', 0, seconds), which per-second video pricing prices. Left
undefined when the length is not known, as it is not for a provider that only accepts a render
job (HeyGen's CreateAvatarVideo returns the job's ID before the video exists).
Platform-specific video ID for the generated video when success == true
How a failure is classified, when the request failed:
ErrorAnalyzer's reading of the error, with its HTTP status. SeeSpeechResult.errorInfo, which this mirrors. Undefined on success, and from a driver that reports onlyerrorMessage.