# Embeddings și audio (/ro/docs/api/gateway/embeddings-audio)

Embeddings vectoriale, speech-to-text, text-to-speech și tokenurile efemere cerute de WebSocket-ul realtime.

Embeddings și audio urmează formele OpenAI. `POST /v1/tokens` emite tokenul de scurtă durată pe care un browser trebuie să-l trimită ca `?key=` când deschide `wss://ai.codai.ro/v1/realtime` — o cheie `codai_` brută în query string e refuzată (cod de închidere 4401). Vezi [ghidul embeddings & audio](../../gateway/embeddings-audio.mdx) pentru exemple complete.

<OpenAPIPage document="./openapi/ro/gateway.yaml" operations={[{path: '/v1/embeddings',method: 'post'},{path: '/v1/audio/transcriptions',method: 'post'},{path: '/v1/audio/speech',method: 'post'},{path: '/v1/tokens',method: 'post'}]} />
