Skip to main content
Speech, media understanding, generation, web search, and the low-level media utilities. Part of the Plugin runtime helpers reference.

Media and generation namespaces

Text-to-speech synthesis.
Uses core tts configuration and provider selection. Returns PCM audio buffer + sample rate. textToSpeechStream is also available for streaming synthesis.
Image, audio, and video analysis.
Returns { text: undefined } when no output is produced (e.g. skipped input).describeImageFileWithModel(...) describes an already-known image through a specific provider/model, bypassing the default active-model resolution that describeImageFile(...) uses.
Image generation.
Video generation, mirroring the image generation shape.
Music generation, mirroring the image generation shape.
Web search.
Low-level media utilities.