Generation Rules tab
ByteKeel PixTag Pro Generation Rules: AI provider, API keys, models, the custom AI prompt, file-name clean-up rules and the template system.
The Generation Rules tab holds everything that decides what text is written.
AI Provider Settings
AI Provider — OpenAI (ChatGPT) (default) or Anthropic Claude. Only the chosen provider’s key and model are used.
OpenAI Settings
- OpenAI API Key — your key from platform.openai.com.
- OpenAI Model — GPT-4o Mini (default, faster and cheaper), GPT-4o, GPT-4.1 Mini or GPT-4.1.
- Test OpenAI Connection — checks the key.
Claude Settings
- Claude API Key — your key from console.anthropic.com.
- Claude Model — Claude Sonnet 5.5 (default), Claude Haiku 5.5 or Claude Opus 5.5. Older Claude 3 model names saved by an earlier version are switched to the default automatically.
- Test Claude Connection — checks the key.
Setup steps: Connect OpenAI or Claude.
AI Prompt Settings
Custom AI Prompt — the instruction sent with every image. The default asks for “a concise, SEO-friendly alt text description for this image in under 125 characters”, focusing on the main subject. Add what the AI cannot know, such as your product type or style rules:
Write alt text for this product photo in under 125 characters.
Name the product type and colour. Do not start with "Image of".
We sell handmade ceramics.
ByteKeel PixTag Pro tidies the answer: it removes wrapping quotes, openings such as “Alt text:”, “The image shows” or “An image of”, and a trailing full stop, capitalises the first letter and applies the character limit. Changing the prompt means the next request for an image is new (not served from the one-hour cache).
Filename Transformation
- Replace Underscores With — default a space.
- Replace Hyphens With — default a space.
- Remove Numbers — on by default;
IMG_001becomesIMG. - Remove Special Characters — on by default.
- Remove File Extensions — on by default.
- Blacklist Words — comma-separated words removed wherever they appear as whole words. Default
img,image,photo,picture,file,document.
These rules apply to the Filename-based method and whenever another method falls back to the file name.
Template System
Custom Template — default %filename%. Click a variable button to insert it; a preview with sample data appears below. Variables: %filename%, %posttitle%, %sitetitle%, %category%, %tag%, %date%, %postexcerpt%, %author%. Post variables come from the post the image is attached to; for unattached images they are empty. The template is used by the Context-aware and Hybrid methods.
Filename Transformation Examples
A live list showing how sample names such as product_image_001.jpg and hero-banner-2023.png come out with your current rules. It updates after you save.
Did this answer the question? No — open a support request