Headers
API key in format: 
Bearer sk-xxxxxxBody
Input text to generate embeddings for. Can be a single string or an array of strings.Single text example:Multiple texts example (batch processing):
When using the interactive playground, it may show 
"input": {} - ignore this and manually edit the generated cURL command to use either a string "text" or array ["text1", "text2"] format.Model ID to use for embedding generation (blockchain hex address or name)
Use the List Models endpoint to see available embedding models.
Format for the embedding vectors. Options: 
float or base64Number of dimensions for the output embeddings. Only supported by certain models.
Unique identifier representing your end-user for monitoring and abuse detection
Response
Always returns 
"list"Array of embedding objects
Model used for generating the embeddings
Token usage statistics
Example Request
Use Cases
Semantic Search
Generate embeddings for documents and queries to enable similarity-based search
Clustering
Group similar texts together by comparing embedding vectors
Recommendations
Build recommendation systems by finding similar items based on embeddings
Classification
Use embeddings as features for text classification models
The API is fully compatible with the OpenAI SDK. Simply change the 
base_url to point to the Morpheus Gateway.Embedding dimensions vary by model. Ensure your application can handle different vector sizes when switching models.

