Embedding
Create Embedding
Create embeddings for text using various AI models
POST
Create embedding
Documentation Index
Fetch the complete documentation index at: https://docs.requesty.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key for authentication
Body
application/json
Input text to embed, encoded as a string, array of strings, array of tokens, or array of token arrays
The model name to use for embedding generation
Example:
"openai/text-embedding-3-small"
The number of dimensions the resulting output embeddings should have
The format to return the embeddings in. Can be either float or base64.
Available options:
float, base64 A unique identifier representing your end-user.
Last modified on April 27, 2026
Previous
Create SpeechSynthesizes audio from input text using a text-to-speech model. By default the response is a binary audio stream in the requested format. When `stream_format` is `sse`, the response is a Server-Sent Events stream of `speech.audio.delta` and `speech.audio.done` events with base64-encoded audio chunks.
Next
Create embedding