Appearance
AI Content Generation
Virtual Files includes powerful AI features that allow you to generate, improve, and analyze your virtual files directly within the WordPress dashboard. By connecting your own API keys, you retain full control over costs and privacy while getting access to state-of-the-art language models.
How It Works
Instead of charging a premium for AI features, Virtual Files uses a Bring Your Own Key (BYOK) approach. You connect your WordPress site directly to AI providers, paying them only for the exact amount of processing you use. There are no markups or hidden fees from IntentDeep.
Supported Providers & Models
You can connect to over 30+ different AI models by using any of these providers:
- OpenAI: GPT-5.2, GPT-5 Mini, GPT-4o
- Anthropic: Claude Sonnet 4.6, Claude Opus 4.6, Claude Haiku 4.6
- Google: Gemini 3.1 Pro Preview, Gemini 3 Flash Preview, Gemini 2.5 Flash
- DeepSeek: DeepSeek-V3, DeepSeek-R1
- OpenRouter: Access hundreds of models through a single API key
- Grok: xAI's models
- Qwen, GLM, Kimi, and many more!
Core AI Features
The AI assistant offers three primary modes of operation within your file editor:
1. Generate
Create new file content from scratch. Describe what you want in natural language, and the AI will format it correctly for the file type you've selected (e.g., proper XML for a custom data feed, or the correct syntax for an ads.txt file). Example Prompt: "Generate a robots.txt file that blocks all AI crawlers but allows Googlebot and Bingbot."
2. Improve
Take existing content and enhance it based on your instructions. You can ask the AI to fix syntax errors, optimize code, add new rules, or reorganize data. Example Prompt: "Review this Ads.txt file and organize the entries by domain name alphabetically."
3. Analyze
Not sure what a file does? Use Analyze to get a detailed explanation of the code, identify potential security risks, detect syntax errors, and receive optimization suggestions without changing the content. Example Prompt: "Analyze this security.txt file to ensure it meets RFC 9116 compliance."
Advanced AI Features
Context-Aware Generation
To generate better, more relevant content, you can attach up to 3 posts, pages, or products as "Context." The AI will read the content of these attached items and use the information to tailor its output exactly to your site. Use Case: Attach your "About Us" and "Contact" pages when generating an llms.txt file so the AI includes accurate brand information for AI search engines.
Streaming Responses
Watch the AI generate content in real-time right in your dashboard. You don't have to wait for the entire generation process to finish before seeing the results.
Quick Prompts
Don't know what to ask? The AI modal includes pre-built template prompts for common virtual files such as robots.txt, ads.txt, security.txt, llms.txt, and JSON-LD schema markup.
AI Generation History
Every prompt you send and response you receive is automatically saved in the AI History sidebar.
- Browse previous generations.
- Restore old AI content with a single click if you made a mistake.
- History is saved locally in your database for privacy.
Setup Instructions
To start using AI Generation:
- Ensure you have the Virtual Files plugin active.
- Go to Virtual Files → Settings.
- Scroll down to the AI Configuration section.
- Select your preferred AI Provider from the dropdown.
- Enter your API Key.
- Select the specific AI Model you want to use.
- Click Save Settings.
- Go edit any virtual file and click the new AI Assistant buttons in the editor!
Need Help?
- FAQ - Answers to common questions
- Settings Guide - Help configuring your API keys