Skip to main content

Overview

AI renaming uses OpenAI’s vision API to analyze your compressed images and generate descriptive file names automatically. Instead of keeping generic names like IMG_0042.jpg, Compresto can rename files based on their visual content — e.g., sunset-over-mountain-lake.jpg.
AI renaming is currently available for images only. Video, GIF, and PDF files are not supported yet.

Setup

1
Open Settings > AI Renaming
2
Enter your OpenAI API keyYou can get an API key from platform.openai.com.
3
Choose your preferred AI model
4
Select a naming preset or create a custom prompt
5
Enable AI Renaming and compress your images — files will be renamed automatically

AI Models

ModelSpeedCostBest For
GPT-5 NanoFastestLowestQuick batch renaming
GPT-5 MiniFastLowEveryday use
GPT-5ModerateMediumDetailed descriptions
GPT-5.1SlowerHigherHigh accuracy
GPT-5.2SlowestHighestMaximum accuracy
Faster models cost less per image but may produce less detailed names. For most users, GPT-5 Mini offers the best balance of speed and quality.

Naming Presets

PresetExample OutputDescription
Descriptivegolden-retriever-playing-in-parkDetailed description of the image content
SEO Friendlycute-dog-park-outdoor-photographyOptimized for search engines with relevant keywords
Shortdog-parkBrief, concise file names
Technicalcanine-outdoor-natural-lighting-wide-angleTechnical photography terminology
Custom(your prompt)Define your own naming rules

Custom Prompt

When using the Custom preset, you can write your own prompt to control how files are named. For example:
  • "Name the file based on the dominant color and subject"
  • "Use product category followed by a brief description"
  • "Generate a name suitable for an e-commerce product listing"

Max Filename Length

Set a maximum character limit for generated file names to keep them manageable. This prevents overly long names that can cause issues with some file systems or workflows.

Tips

  • Batch processing: AI renaming works with batch compression — all images in a batch are renamed individually
  • API costs: Each image requires one API call. Monitor your OpenAI usage for large batches
  • Custom prompts: Be specific in custom prompts for more consistent results
  • File extension: The original file extension is always preserved regardless of the generated name