D-ID Client SDK - v3.0.0-0
    Preparing search index...

    Type Alias SpeakScript

    The script payload speak() accepts: text or audio.

    Discriminated by its type field, so 'text' narrows the object to TextStreamScript and 'audio' to AudioStreamScript. speak() additionally takes a plain string, as shorthand for a TextStreamScript with that string as its input.