curl --location 'https://aiapi114.com/v1/embeddings' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"dimensions": 0,
"encoding_format": "string",
"frequency_penalty": 0,
"input": null,
"model": "text-embedding-3-small",
"presence_penalty": 0,
"seed": 0,
"temperature": 0,
"top_p": 0,
"user": "string"
}'{
"data": [
{
"embedding": [
0
],
"index": 0,
"object": "string"
}
],
"model": "string",
"object": "string",
"usage": {
"claude_cache_creation_1_h_tokens": 0,
"claude_cache_creation_5_m_tokens": 0,
"completion_tokens": 0,
"completion_tokens_details": {
"audio_tokens": 0,
"image_tokens": 0,
"reasoning_tokens": 0,
"text_tokens": 0
},
"cost": null,
"input_tokens": 0,
"input_tokens_details": {
"audio_tokens": 0,
"cached_creation_tokens": 0,
"cached_tokens": 0,
"image_tokens": 0,
"text_tokens": 0
},
"output_tokens": 0,
"prompt_cache_hit_tokens": 0,
"prompt_tokens": 0,
"prompt_tokens_details": {
"audio_tokens": 0,
"cached_creation_tokens": 0,
"cached_tokens": 0,
"image_tokens": 0,
"text_tokens": 0
},
"total_tokens": 0,
"usage_semantic": "string",
"usage_source": "string"
}
}