Returns the default model ID for the provider. This is used to create an ImageModelV1 instance when no modelId is provided.
Returns the default model ID for the provider. This is used to create a LanguageModelV1 instance when no modelId is provided.
Returns an ImageModelV1 instance for the given provider using the specified model ID or the provider's default model ID.
Returns a LanguageModelV1 instance for the given provider using the specified model ID or the provider's default model ID.
Optional
model:
Base class for all providers. This class is used to create a provider instance. It is not meant to be used directly. Each provider should extend this class and implement the methods.