{"id":327041,"date":"2026-06-25T18:27:07","date_gmt":"2026-06-25T18:27:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/ai-acf-field-generator-auto-create-custom-fields-with-ai\/"},"modified":"2026-06-27T09:27:39","modified_gmt":"2026-06-27T09:27:39","slug":"db-ai-field-generator","status":"publish","type":"plugin","link":"https:\/\/bho.wordpress.org\/plugins\/db-ai-field-generator\/","author":23373284,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.1","stable_tag":"1.0.1","tested":"7.0","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"DB AI Field Generator for Advanced Custom Fields","header_author":"Deepak Bhojwani","header_description":"Automatically generate Advanced Custom Fields (ACF) field groups using AI. Create repeaters, flexible layouts, WooCommerce fields, and custom schemas instantly using OpenAI, OpenRouter, Google Gemini, Claude, or custom AI APIs.","assets_banners_color":"5e5ab4","last_updated":"2026-06-27 09:27:39","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/aiacfpro.online\/","header_author_uri":"https:\/\/deepakbhojwani.online\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":92,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"deepakbhojwani","date":"2026-06-25 18:26:47"},"1.0.1":{"tag":"1.0.1","author":"deepakbhojwani","date":"2026-06-27 09:27:39"}},"upgrade_notice":{"1.0.1":"<p>Minor fixes: clickable external-service links, corrected screenshot caption, and removal of a duplicate &quot;View details&quot; link.<\/p>","1.0.0":"<p>Initial release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3586474,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3586474,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3586474,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3586474,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3586474,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250},"banner.svg":{"filename":"banner.svg","revision":3586474,"resolution":false,"location":"assets","locale":false}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3586479,"resolution":"1","location":"assets","locale":"","width":1920,"height":1040},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3586479,"resolution":"2","location":"assets","locale":"","width":1920,"height":1040},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3586479,"resolution":"3","location":"assets","locale":"","width":1920,"height":1040},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3586479,"resolution":"4","location":"assets","locale":"","width":1920,"height":1040},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3586479,"resolution":"5","location":"assets","locale":"","width":1920,"height":1040}},"screenshots":{"1":"Generate Fields page \u2013 describe the fields you need in plain English and click Generate.","2":"JSON preview panel \u2013 review the AI-generated ACF field group before creating it.","3":"Settings page \u2013 choose your AI provider and enter your API key.","4":"Documentation page \u2013 built-in guides with step-by-step API key setup for every provider.","5":"Field group created \u2013 the generated group is registered and visible under ACF Field Groups."}},"plugin_section":[],"plugin_tags":[2211,2217,2353,2010,268899],"plugin_category":[59],"plugin_contributors":[268900],"plugin_business_model":[],"class_list":["post-327041","plugin","type-plugin","status-publish","hentry","plugin_tags-acf","plugin_tags-advanced-custom-fields","plugin_tags-ai","plugin_tags-custom-fields","plugin_tags-field-generator","plugin_category-utilities-and-tools","plugin_contributors-deepakbhojwani","plugin_committers-deepakbhojwani"],"banners":{"banner":"https:\/\/ps.w.org\/db-ai-field-generator\/assets\/banner-772x250.png?rev=3586474","banner_2x":"https:\/\/ps.w.org\/db-ai-field-generator\/assets\/banner-1544x500.png?rev=3586474","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/db-ai-field-generator\/assets\/icon.svg?rev=3586474","icon":"https:\/\/ps.w.org\/db-ai-field-generator\/assets\/icon.svg?rev=3586474","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/db-ai-field-generator\/assets\/screenshot-1.png?rev=3586479","caption":"Generate Fields page \u2013 describe the fields you need in plain English and click Generate."},{"src":"https:\/\/ps.w.org\/db-ai-field-generator\/assets\/screenshot-2.png?rev=3586479","caption":"JSON preview panel \u2013 review the AI-generated ACF field group before creating it."},{"src":"https:\/\/ps.w.org\/db-ai-field-generator\/assets\/screenshot-3.png?rev=3586479","caption":"Settings page \u2013 choose your AI provider and enter your API key."},{"src":"https:\/\/ps.w.org\/db-ai-field-generator\/assets\/screenshot-4.png?rev=3586479","caption":"Documentation page \u2013 built-in guides with step-by-step API key setup for every provider."},{"src":"https:\/\/ps.w.org\/db-ai-field-generator\/assets\/screenshot-5.png?rev=3586479","caption":"Field group created \u2013 the generated group is registered and visible under ACF Field Groups."}],"raw_content":"<!--section=description-->\n<p><strong>DB AI Field Generator for Advanced Custom Fields<\/strong> saves hours of development time by letting you generate ACF field groups using plain English. No more clicking through ACF's admin UI to build complex field structures - just describe what you need, and AI generates it instantly.<\/p>\n\n<h4>What You Can Do<\/h4>\n\n<ul>\n<li>Describe fields in natural language and get a complete ACF field group<\/li>\n<li>Support for <strong>text, textarea, number, image, file, repeater, select, checkbox, true\/false, URL, email, WYSIWYG, relationship, gallery<\/strong> field types<\/li>\n<li>Generate repeaters with nested sub-fields<\/li>\n<li>Create WooCommerce product fields, team member profiles, event details, and more<\/li>\n<li>Preview generated JSON before creating the field group<\/li>\n<li>Copy JSON to clipboard<\/li>\n<li>Instantly register the field group in ACF with one click<\/li>\n<li>Use <strong>FREE AI models<\/strong> via OpenRouter, Google AI Studio, or NVIDIA NIM - no API billing required<\/li>\n<\/ul>\n\n<h4>Supported AI Providers<\/h4>\n\n<p><strong>OpenRouter<\/strong> \u2b50 Free - Recommended for beginners\nAccess 200+ AI models with a single API key. Dozens of free models available indefinitely: Gemini 2.0 Flash Experimental, Llama 4 Maverick, DeepSeek Chat V3, Qwen3 Coder 480B, Mistral Small, NVIDIA Nemotron, and many more. Sign up free at openrouter.ai.<\/p>\n\n<p><strong>Google Gemini<\/strong> \u2b50 Free - Best JSON quality\nDirect access to Google's Gemini model family via Google AI Studio. Free tier with no credit card required.\n- Always Latest aliases: Gemini Flash Latest, Flash-Lite Latest, Pro Latest (auto-update to newest model)\n- Gemini 3.x: Gemini 3.1 Flash Lite, Gemini 3 Flash Preview, Gemini 3.1 Pro Preview\n- Gemini 2.5: Gemini 2.5 Pro, Gemini 2.5 Flash, Gemini 2.5 Flash-Lite\n- Gemini 2.0: Gemini 2.0 Flash (1,500 req\/day free), Gemini 2.0 Flash-Lite<\/p>\n\n<p><strong>NVIDIA NIM<\/strong> \u2b50 Free - 100+ frontier models\nNVIDIA's hosted inference platform with free credits auto-added on signup. One API key unlocks all models: Nemotron 3 Super 120B, DeepSeek V4 Pro\/Flash, Llama 4, Mistral Medium 3.5, Qwen3 Coder 480B, Kimi K2, MiniMax, GLM, Gemma, and many more.<\/p>\n\n<p><strong>OpenAI<\/strong>\nGPT-4o Mini, GPT-4.1 Mini, GPT-4.1, GPT-4o. Requires API billing.<\/p>\n\n<p><strong>Claude (Anthropic)<\/strong>\nClaude 3.5 Sonnet, Claude 3 Haiku. Exceptional reasoning for complex field structures. Requires API billing.<\/p>\n\n<p><strong>Custom API<\/strong>\nUse any OpenAI-compatible API endpoint (Ollama, LM Studio, self-hosted models, etc.).<\/p>\n\n<h4>Perfect For<\/h4>\n\n<ul>\n<li>WordPress developers who need to rapidly scaffold ACF field groups<\/li>\n<li>WooCommerce stores needing complex product meta fields<\/li>\n<li>Agencies building custom post type schemas<\/li>\n<li>Theme developers building reusable field components<\/li>\n<\/ul>\n\n<h4>Key Features<\/h4>\n\n<ul>\n<li><strong>Multiple AI Providers<\/strong> - Switch between 6 providers with one click<\/li>\n<li><strong>3 Free Providers<\/strong> - OpenRouter, Google Gemini, and NVIDIA NIM all offer free API access<\/li>\n<li><strong>JSON Preview<\/strong> - Review AI output before creating field groups<\/li>\n<li><strong>Auto JSON Cleanup<\/strong> - Strips markdown, handles malformed AI responses<\/li>\n<li><strong>Secure<\/strong> - Nonce verification, capability checks, input sanitisation<\/li>\n<li><strong>Lightweight<\/strong> - No React, no Vue, vanilla JavaScript only<\/li>\n<li><strong>WordPress Native<\/strong> - Built with WordPress Settings API and REST API<\/li>\n<li><strong>ACF Pro Compatible<\/strong> - Works with both free ACF and ACF Pro<\/li>\n<li><strong>Mobile Responsive<\/strong> - Full admin UI works on all screen sizes<\/li>\n<li><strong>Full Documentation<\/strong> - Built-in docs with step-by-step API key guides for all free providers<\/li>\n<\/ul>\n\n<h4>Requirements<\/h4>\n\n<ul>\n<li>WordPress 6.0 or higher<\/li>\n<li>Advanced Custom Fields (ACF) or ACF Pro<\/li>\n<li>PHP 7.4 or higher<\/li>\n<li>API key from at least one supported AI provider (OpenRouter, Google Gemini, and NVIDIA NIM are all free!)<\/li>\n<\/ul>\n\n<h3>External services<\/h3>\n\n<p>This plugin is an interface to third-party AI provider APIs. To turn the text prompt you type into an ACF field group, it sends a request to the AI provider you select on the Settings page.<\/p>\n\n<p>What is sent, and when:<\/p>\n\n<ul>\n<li>A request is made <strong>only when you click \"Generate\"<\/strong> (or otherwise trigger an AI generation). The plugin does not contact any external service on normal page loads.<\/li>\n<li>Each request contains <strong>only the prompt text you typed and the model name you selected<\/strong>. No other site content, user information, or visitor data is transmitted.<\/li>\n<li>You must enter your own API key for the chosen provider. Nothing is sent until a key is saved and you trigger a generation. API keys are stored in your site's database (WordPress options) and are sent only to the matching provider to authenticate your request.<\/li>\n<\/ul>\n\n<p>Depending on the provider you configure in Settings, data is sent to one of the following services, each governed by its own terms of use and privacy policy:<\/p>\n\n<ul>\n<li><strong>OpenAI<\/strong> \u2014 endpoint <code>api.openai.com<\/code>. See the <a href=\"https:\/\/openai.com\/policies\/\">OpenAI Terms of Use<\/a> and <a href=\"https:\/\/openai.com\/policies\/privacy-policy\/\">Privacy Policy<\/a>.<\/li>\n<li><strong>OpenRouter<\/strong> \u2014 endpoint <code>openrouter.ai<\/code>. See the <a href=\"https:\/\/openrouter.ai\/terms\">OpenRouter Terms<\/a> and <a href=\"https:\/\/openrouter.ai\/privacy\">Privacy Policy<\/a>.<\/li>\n<li><strong>Google Gemini (AI Studio)<\/strong> \u2014 endpoint <code>generativelanguage.googleapis.com<\/code>. See the <a href=\"https:\/\/ai.google.dev\/gemini-api\/terms\">Gemini API Terms<\/a> and <a href=\"https:\/\/policies.google.com\/privacy\">Google Privacy Policy<\/a>.<\/li>\n<li><strong>NVIDIA NIM<\/strong> \u2014 endpoint <code>integrate.api.nvidia.com<\/code>. See the <a href=\"https:\/\/www.nvidia.com\/en-us\/about-nvidia\/terms-of-service\/\">NVIDIA Terms of Service<\/a> and <a href=\"https:\/\/www.nvidia.com\/en-us\/about-nvidia\/privacy-policy\/\">Privacy Policy<\/a>.<\/li>\n<li><strong>Anthropic (Claude)<\/strong> \u2014 endpoint <code>api.anthropic.com<\/code>. See the <a href=\"https:\/\/www.anthropic.com\/legal\/consumer-terms\">Anthropic Consumer Terms<\/a> and <a href=\"https:\/\/www.anthropic.com\/legal\/privacy\">Privacy Policy<\/a>.<\/li>\n<li><strong>Custom API<\/strong> \u2014 if you select the Custom API provider, requests are sent to the OpenAI-compatible endpoint URL that you enter yourself. Review the terms and privacy policy of whichever service that endpoint belongs to.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate <strong>Advanced Custom Fields (ACF)<\/strong> or <strong>ACF Pro<\/strong>.<\/li>\n<li>Upload the <code>db-ai-field-generator<\/code> folder to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> menu.<\/li>\n<li>Navigate to <strong>DB AI Field Generator \u2192 Settings<\/strong> and enter your API key.\n\n<ul>\n<li>For free access: Get an OpenRouter key at openrouter.ai\/keys, a Gemini key at aistudio.google.com\/app\/apikey, or an NVIDIA key at build.nvidia.com<\/li>\n<\/ul><\/li>\n<li>Go to <strong>DB AI Field Generator \u2192 Generate Fields<\/strong> and start generating!<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"do%20i%20need%20to%20pay%20for%20ai%3F\"><h3>Do I need to pay for AI?<\/h3><\/dt>\n<dd><p>No! Three providers are completely free:\n- <strong>OpenRouter<\/strong> - Dozens of free models, no billing needed (sk-or-v1-... key)\n- <strong>Google Gemini<\/strong> - Free tier via Google AI Studio, no credit card required (15\u2013500 req\/day depending on model)\n- <strong>NVIDIA NIM<\/strong> - Free inference credits auto-added on signup (nvapi-... key)<\/p><\/dd>\n<dt id=\"which%20ai%20provider%20gives%20the%20best%20results%3F\"><h3>Which AI provider gives the best results?<\/h3><\/dt>\n<dd><p>For free usage: <strong>Gemini Flash Latest<\/strong> (Google AI Studio) or <strong>Gemini 2.0 Flash Experimental<\/strong> (OpenRouter) give the best JSON output quality.\nFor variety: <strong>NVIDIA NIM<\/strong> lets you try 100+ frontier models for free.\nFor paid usage: <strong>GPT-4o Mini<\/strong> (best value) or <strong>Claude 3.5 Sonnet<\/strong> (most capable).<\/p><\/dd>\n<dt id=\"does%20this%20work%20with%20acf%20pro%3F\"><h3>Does this work with ACF Pro?<\/h3><\/dt>\n<dd><p>Yes! The plugin is compatible with both free ACF and ACF Pro. When ACF Pro is active, field groups are created using the Pro import system.<\/p><\/dd>\n<dt id=\"can%20i%20generate%20repeater%20fields%20with%20sub-fields%3F\"><h3>Can I generate repeater fields with sub-fields?<\/h3><\/dt>\n<dd><p>Absolutely. Just mention \"repeater\" in your prompt. Example: \"Create a testimonials repeater with name, company, photo, and quote fields.\"<\/p><\/dd>\n<dt id=\"is%20my%20api%20key%20secure%3F\"><h3>Is my API key secure?<\/h3><\/dt>\n<dd><p>Yes. API keys are stored in WordPress options with password field masking, never exposed in JavaScript, and transmitted only via server-side <code>wp_remote_post()<\/code> calls.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20the%20ai%20returns%20malformed%20json%3F\"><h3>What happens if the AI returns malformed JSON?<\/h3><\/dt>\n<dd><p>The plugin's JSON validator automatically strips markdown code fences, extracts JSON blocks from text responses, and provides helpful error messages guiding you to fix the issue.<\/p><\/dd>\n<dt id=\"can%20i%20use%20a%20custom%2Fself-hosted%20ai%3F\"><h3>Can I use a custom\/self-hosted AI?<\/h3><\/dt>\n<dd><p>Yes! Use the <strong>Custom API<\/strong> provider with any OpenAI-compatible endpoint (Ollama, LM Studio, etc.).<\/p><\/dd>\n<dt id=\"which%20acf%20field%20types%20are%20supported%3F\"><h3>Which ACF field types are supported?<\/h3><\/dt>\n<dd><p>text, textarea, number, image, file, repeater, select, checkbox, true_false, url, email, wysiwyg, relationship, gallery.<\/p><\/dd>\n<dt id=\"how%20many%20free%20requests%20can%20i%20make%20per%20day%3F\"><h3>How many free requests can I make per day?<\/h3><\/dt>\n<dd><p>It depends on the provider:\n- <strong>OpenRouter<\/strong>: ~50 requests\/day per free model (many free models available)\n- <strong>Google Gemini 2.0 Flash<\/strong>: 1,500 requests\/day, 15 requests\/minute\n- <strong>Google Gemini 2.5 Flash<\/strong>: 500 requests\/day, 10 requests\/minute\n- <strong>NVIDIA NIM<\/strong>: ~40 requests\/minute, free credits top up automatically<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fixed: external services list now shows clickable Terms and Privacy links instead of plain-text URLs.<\/li>\n<li>Fixed: screenshot caption rendering on the plugin page.<\/li>\n<li>Removed: redundant \"View details\" plugin row link and custom plugin-information modal, now handled natively by WordPress.org.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>OpenAI integration (GPT-4o Mini, GPT-4.1, GPT-4o)<\/li>\n<li>OpenRouter integration with 50+ free models<\/li>\n<li>Google Gemini integration (3.x, 2.5, 2.0) with free tier via Google AI Studio<\/li>\n<li>NVIDIA NIM integration with 100+ models and free credits<\/li>\n<li>Claude integration (Sonnet, Haiku)<\/li>\n<li>Custom API support<\/li>\n<li>JSON validation and auto-cleanup<\/li>\n<li>ACF field group creation<\/li>\n<li>Full documentation page with step-by-step API key guides for all free providers<\/li>\n<li>Mobile-responsive admin UI<\/li>\n<\/ul>","raw_excerpt":"Automatically generate Advanced Custom Fields (ACF) field groups with AI - OpenAI, OpenRouter, Gemini, NVIDIA, Claude, and custom APIs.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/327041","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bho.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bho.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=327041"}],"author":[{"embeddable":true,"href":"https:\/\/bho.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/deepakbhojwani"}],"wp:attachment":[{"href":"https:\/\/bho.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=327041"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=327041"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=327041"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=327041"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=327041"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=327041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}