Create embedding
HTTP request
POST /ai/text_embedding
Authorization
Include your ACCESS TOKEN in HTTP Authorization header.
Request Parameters
KEY
TYPE
VALUE
text
String
The text for which you want to generate an embedding. Example: “Hello, have a good day!”.
configs
JSON
This parameter is a JSON object encompassing a variety of settings you can adjust to customize the image generation process. It includes several parameters, which we will describe next, allowing you to control different aspects of the generation.
model
String
Specifies the AI model used for generating text embedding. There are two models like: "mistral" and "gte-large". Default is "mistral".
Example Request
Parrot API
Response
Returns the ID of the successful task.
Last updated
Was this helpful?