# Calling Inference API for image embedding

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcalling-inference-api-for-image-embedding%2F52486%3E%5C
**Category:** Inference Endpoints on the Hub\
**Created:** [August 28, 2023, 12:57pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcalling-inference-api-for-image-embedding%2F52486 "2023-08-28T12:57:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MattiaSangermano](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@MattiaSangermano](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FMattiaSangermano)%5C
**Post date:** [August 28, 2023, 12:57pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcalling-inference-api-for-image-embedding%2F52486%2F1 "2023-08-28T12:57:04Z")

</div>

I’ve been playing around with the Inference API and got the hang of using `/static-proxy?url=https%3A%2F%2Fapi-inference.huggingface.co%2Fpipeline%2Ffeature-extraction%2F%7Bmodel_id%7D%60 for text data.

Now, I’m curious if there’s a way to do something similar for images. I’m all about getting those image embeddings using the Inference API. Is there a direct way to make this happen? If not, do you suggest any tricks or other methods to get image embeddings through the Inference API?
