Hugging Face
Run text generation, classification, and image classification models on Hugging Face. In Appbricx, your workflows and server functions call it by name once it is connected.
What you can do
8 actions, each one call from a workflow or a server function. Triggers come from your app: a row changing, a schedule or a webhook.
- Image ClassificationClassify images with pre-trained models or custom categories - perfect for content moderation, automated tagging, and smart asset management
image_classification - Text ClassificationClassify text into categories using Hugging Face models - includes zero-shot classification for custom categories
text_classification - Chat CompletionGenerate assistant replies using chat-style LLMs - perfect for FAQ bots, support agents, and content generation
chat_completion - Create ImageGenerate stunning images from text prompts using state-of-the-art diffusion models - perfect for marketing, product design, and creative content
create_image - Document Question AnsweringAnswer questions from document images using Hugging Face models
document_question_answering - Language TranslationTranslate text between languages using specialized Hugging Face translation models
language_translation - Object DetectionDetect and locate objects in images with precise bounding boxes - perfect for inventory management, content moderation, and automated tagging
object_detection - Text SummarizationGenerate abstractive summaries of long text using Hugging Face models - optimized for business content
text_summarization
Set it up
About two minutes, once per project or once for the whole workspace.
- Open Integrations in the builder
Backend panel, Integrations tab, then Hugging Face. To connect it for every project, use Workspace settings, Integrations.
- Add your credentials
An API key (or token) from your Hugging Face account, pasted once. It is stored encrypted and only read on the server when an action runs.
- API key From Hugging Face's settings
- Call an action
From a workflow, by integration id and action name. The call answers with success, output and, when it fails, the reason.
Workflow // .workflow.js (native ctx) export async function run(ctx) { const res = await ctx.integrations.invoke("hugging_face", "image_classification", { "classificationMode": "standard", "useCase": "moderation", "model": "<model>", "imageSource": "upload", "imageFile": "<image file>", "imageUrl": "<image url>", "customCategories": [] }); if (!res.success) throw new Error(res.error); ctx.log.info("Hugging Face answered", { output: res.output }); }
More in AI and ML
Hugging Face and its logo are trademarks of their owner, shown only to identify the service this integration connects to. Their use does not imply endorsement by, or affiliation with, that company.