Member Junction
    Preparing search index...
    Index

    Constructors

    Properties

    errorInfo?: AIErrorInfo

    How a failure is classified, when the request failed: ErrorAnalyzer's reading of the error, with its HTTP status. See SpeechResult.errorInfo, which this mirrors. Undefined on success, and from a driver that reports only errorMessage.

    errorMessage?: string

    When success == false, this will contain the error message

    success: boolean
    usage?: ModelUsage

    Usage 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).

    videoId: string

    Platform-specific video ID for the generated video when success == true