Classify a piece of text with a text-classification model served by Hugging Face Inference Providers, for example sentiment, topic or toxicity. Returns the highest scoring label plus all scored labels.
Turn a piece of text into a numeric embedding vector using a feature-extraction model served by Hugging Face Inference Providers.
Search the Hugging Face Hub for model repositories by keyword, author, task or tag. Returns up to 100 models per call.
Generate an image from a text prompt using a text-to-image model served by Hugging Face Inference Providers. The image is saved to file storage and its file ID is returned.
Get the metadata of a single model repository on the Hugging Face Hub by its repository ID.
Send a prompt or a full chat conversation to any model served by Hugging Face Inference Providers and return the generated answer.
Condense a long piece of text into a short summary using a summarization model served by Hugging Face Inference Providers.
Perform an arbitrary authorized API call to Hugging Face. Choose the Hub API or the Inference Providers router, then provide a path (or full URL), method, headers, query parameters and body. The access token is added automatically.