Base class for all audio generation models. Each AI model will have a sub-class implementing the abstract methods in this base class. Not all sub-classes will support all methods. If a method is not supported an exception will be thrown, use the GetSupportedMethods method to determine what methods are supported by a specific sub-class.

Hierarchy (view full)

Constructors

Accessors

  • get apiKey(): string
  • Only sub-classes can access the API key

    Returns string

Methods