# \EmbeddingsApi
All URIs are relative to *https://api.openai.com/v1*
[**create_embedding**](EmbeddingsApi.md#create_embedding) | **POST** /embeddings | Creates an embedding vector representing the input text.
## create_embedding
> models::CreateEmbeddingResponse create_embedding(create_embedding_request)
Creates an embedding vector representing the input text.
### Parameters
**create_embedding_request** | [**CreateEmbeddingRequest**](CreateEmbeddingRequest.md) | | [required] |
### Return type
[**models::CreateEmbeddingResponse**](CreateEmbeddingResponse.md)
### Authorization
[ApiKeyAuth](../README.md#ApiKeyAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)