Media and generation namespaces
api.runtime.tts
api.runtime.tts
Text-to-speech synthesis.Uses core
tts configuration and provider selection. Returns PCM audio buffer + sample rate. textToSpeechStream is also available for streaming synthesis.api.runtime.mediaUnderstanding
api.runtime.mediaUnderstanding
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.api.runtime.imageGeneration
api.runtime.imageGeneration
Image generation.
api.runtime.videoGeneration
api.runtime.videoGeneration
Video generation, mirroring the image generation shape.
api.runtime.musicGeneration
api.runtime.musicGeneration
Music generation, mirroring the image generation shape.
api.runtime.webSearch
api.runtime.webSearch
Web search.
api.runtime.media
api.runtime.media
Low-level media utilities.