Back to APIs
Hugging Face
Integrate advanced NLP models for text analysis and generation.
Using the Hugging Face API with Trigger.dev
You can use Trigger.dev with any existing Node SDK or even just using fetch. Using io.runTask makes your Hugging Face background job resumable and appear in our dashboard.
Use io.runTask() and the official SDK or fetch.
Use our HTTP endpoint to subscribe to webhooks
Example code using Hugging Face
Below are some working code examples of how you can use Hugging Face with Trigger.dev. These samples are open source and maintained by the community, you can copy and paste them into your own projects.