Defined in: packages/typescript/ai/src/types.ts:1274
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:1282
Desired duration in seconds
logger: InternalLogger;logger: InternalLogger;Defined in: packages/typescript/ai/src/types.ts:1290
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:1278
The model to use for audio generation
optional modelOptions: TProviderOptions;optional modelOptions: TProviderOptions;Defined in: packages/typescript/ai/src/types.ts:1284
Model-specific options for audio generation
prompt: string;prompt: string;Defined in: packages/typescript/ai/src/types.ts:1280
Text description of the desired audio