Skip to content

EmbeddingGenerationInterfaceGenerateEmbeddingMessage

HTTP API schema

← HTTP API reference

Generate an embedding from an audio sample, optionally with reference text for the audio.

EmbeddingGenerationInterfaceGenerateEmbeddingMessage fields

audioUrlstringRequired

URL or base64 data URI of the audio to generate an embedding from

referenceTextstring

Optional reference text for the audio content

View source specification ↗