Defined in: packages/typescript/ai/src/types.ts:1422
Options for audio generation (music, sound effects, etc.). These are the common options supported across providers.
TProviderOptions extends object = object
optional duration: number;optional duration: number;Defined in: packages/typescript/ai/src/types.ts:1430
Desired duration in seconds
logger: InternalLogger;logger: InternalLogger;Defined in: packages/typescript/ai/src/types.ts:1438
Internal logger threaded from the generateAudio() entry point. Adapters must call logger.request() before the SDK call and logger.errors() in catch blocks.
model: string;model: string;Defined in: packages/typescript/ai/src/types.ts:1426
The model to use for audio generation
optional modelOptions: TProviderOptions;optional modelOptions: TProviderOptions;Defined in: packages/typescript/ai/src/types.ts:1432
Model-specific options for audio generation
prompt: string;prompt: string;Defined in: packages/typescript/ai/src/types.ts:1428
Text description of the desired audio