Function Signature
Parameters
DecartProviderSettings
default:"{}"
Optional configuration object for the provider
Returns
DecartProvider
A configured provider instance with methods to create image and video models.See DecartProvider for full interface details.
Examples
Default Configuration
Custom API Key
Custom Base URL
Custom Headers
Default Instance
A default pre-configured instance is also exported:VERSION Export
The package version is also exported for runtime version checking:string
The current version of the
@decartai/ai-sdk-provider package.