The WPFolks app is out on iPhone and Android. Free, no ads. Download on the App Store Get it on Google Play
Skip to main content
Login Join

AI Provider for Hugging Face

AI Provider for Hugging Face banner
Active installs
10+
Last updated
1 month ago
Version
1.2.0
Tested up to
WP 7.1.5

About this plugin

This plugin registers Hugging Face as an AI provider for the WordPress AI Client introduced in WordPress 7.0. It enables text and image generation through Hugging Face’s Inference API using popular open-source models.

Features:

  • Registers Hugging Face on the Settings > Connectors admin screen
  • Supports API key management (environment variable, PHP constant, or database)
  • Text generation via wp_ai_client_prompt()
  • Image generation via wp_ai_client_prompt()->generate_image()
  • Dynamically fetches top 20 popular models from HuggingFace (updated every 12 hours)
  • Multi-provider support — automatically routes to the best available inference provider (hf-inference, fal-ai, replicate, together, nscale, wavespeed)
  • Add custom models from the Settings > Hugging Face admin page
  • Extensible model lists via hugging_face_ai_provider_models and hugging_face_ai_provider_image_models filters
  • Configurable base URL for self-hosted TGI instances
  • Clear, actionable error messages for common API issues

Usage:

$result = wp_ai_client_prompt( 'Summarize the benefits of caching.' )
    ->using_temperature( 0.7 )
    ->generate_text();

// Generate an image
$image = wp_ai_client_prompt( 'A futuristic WordPress logo in neon colors' )
    ->generate_image();

External Services

This plugin connects to the Hugging Face Inference API to provide AI-powered text and image generation capabilities within WordPress. The Hugging Face Inference API is a third-party service operated by Hugging Face, Inc.

What data is sent and when

  • Your Hugging Face API key is sent with every request for authentication.
  • When fetching the model list, a request is sent to the Hugging Face API to retrieve available models.
  • When generating text, your prompt and any conversation context are sent to the Hugging Face Inference API.
  • When generating images, your text prompt is sent to the Hugging Face Inference API.
  • When resolving inference providers, a request is sent to the Hugging Face API to determine available providers for the selected model.

Data is only sent when the plugin is actively used to generate text or images, or when loading the model list on the admin settings page.

Service links

All API communication is routed through https://router.huggingface.co and https://huggingface.co/api.

Screenshots

Analytics

Live from WordPress.org, refreshed daily. Last refresh Nov 30, 2026.

  • Passes every health check below.
3/3

Health checks

Everything a careful site owner looks at before installing.

  • Actively maintained Last release 1 month ago
  • Tested with current WordPress Tested up to 7.1.5
  • Support questions answered Nothing open in the last two months
  • Well rated No ratings yet
Active installs
10+ WordPress.org rounds this down
This week
32 downloads −14% vs the week before
Last 30 days
124 downloads 4 a day, typically
All time
722 downloads On WordPress.org since 2026
Downloads per week Every update counts as a download on WordPress.org, so release weeks spike.
Latest week
32
Typical week
17
Peak
66 Week of Apr 13
View as table
WeekDownloads
Week of Nov 2332
Week of Nov 1637
Week of Nov 923
Week of Nov 221
Week of Oct 2630
Week of Oct 1945
Week of Oct 1264
Week of Oct 518
Week of Sep 2819
Week of Sep 2117
Week of Sep 1416
Week of Sep 717
Week of Aug 3126
Week of Aug 248
Week of Aug 1714
Week of Aug 1012
Week of Aug 37
Week of Jul 2710
Week of Jul 208
Week of Jul 1314
Week of Jul 612
Week of Jun 2911
Week of Jun 229
Week of Jun 1511
Week of Jun 89
Week of Jun 116
Week of May 2512
Week of May 1817
Week of May 1115
Week of May 424
Week of Apr 2717
Week of Apr 2017
Week of Apr 1366
Where it stands Rank among the plugins WPFolks tracks every day.

Not ranked yet. Install, download and rating ranks cover the 5,000 most popular plugins on WordPress.org, and Trending needs about 100 downloads on a typical day.

Active installs over time Recorded by WPFolks every day since Oct 14, 2026.

Reviews

From folks on WPFolks

No reviews from folks yet. Used it? Be the first to say how it went.

Log in to leave a review

Proudly supported by