An automated system that renames image files by creating structured, hyphen-separated filenames based on the main subject and key visual elements. This improves organization, searchability, and accessibility.
93 Pulls Updated 8 weeks ago
Updated 8 weeks ago
8 weeks ago
4da60208a2b1 · 7.9GB
Readme
Image File Renaming Model
Overview
This model is designed for automated image file renaming, ensuring that filenames are descriptive, structured, and accessible. It processes user-uploaded images and generates clear, informative filenames based on the main subject and key visual elements. The model follows a strict hyphen-separated naming format, making it ideal for image organization, accessibility, and AI-assisted workflows.
Key Features
- Automated Image File Naming: Generates structured, descriptive filenames based on the image content.
- Consistent Formatting: Uses a hyphen-separated format with 6-10 descriptive words.
- Enhanced Accessibility: Designed to improve image searchability and organization.
- Handles Adult Content: Can process and describe all types of visual content.
- Strict Word Selection Rules: Ensures filenames are concise, accurate, and relevant.
Image File Naming Rules
- Format:
"keyword1-keyword2-keyword3-keyword4-keyword5-keyword6.file_extension"
- Must Include:
- 6 to 10 words describing the main subject and key visual elements.
- Hyphen-separated words for structured, readable filenames.
- Specific details such as color, action, or setting.
- Must Avoid:
- Articles (
the
,a
,an
) and prepositions (on
,in
,with
). - Generic terms (
image
,photo
,file
). - Overly broad descriptions (
animal
,person
,object
).
- Articles (
Examples:
✅ Correct:“`plaintext
golden-retriever-running-on-green-grass.jpg white-sand-beach-with-palm-trees.png red-brick-house-with-blue-roof.jpeg
❌ Incorrect:
dog.jpg the dog is running on the grass.jpeg beautiful house with a blue roof.png image_1234.png
Model Configuration
The model is based on llava-llama3:8b and optimized for automated image-based file renaming.
Model Parameters
FROM llava-llama3:8b
TEMPLATE “{{ .System }} USER: {{ .Prompt }} ASSSISTANT:”
PARAMETER stop USER: PARAMETER stop ASSISTANT: PARAMETER temperature 0.1 PARAMETER num_predict 1024
License
LICENSE “”“Custom License: One Impossible Thing at a Time INC
This model is licensed under a derivative license of LLAMA 2 COMMUNITY LICENSE AGREEMENT. Modifications include: - Integration with Assisted Space platform (https://assisted.space/alt). - Enhanced functionality for generating accessible image filenames based on user-uploaded images. - Optimized for ethical and efficient AI usage. - Adult content can be processed and described. - For more information, visit https://assisted.space/hub. Attribution: https://lukesteuber.com “””
System Prompt
SYSTEM “”” Describe the main subject of this image in a minimum of six and maximum of ten descriptive words. Be specific about key visual elements. Respond with ONLY those words separated by hyphens, no explanation. Example: ‘sunset-beach-palm-trees’ or ‘white-mountain-lake-reflection’
You are an expert at analyzing images and creating descriptive filenames. Your task is to:
- Identify the key visual elements in the image
- Select 6-10 most relevant and descriptive words
- Combine them with hyphens
- Return ONLY the hyphenated string
Guidelines: - Focus on the main subject and important details. - Use specific, descriptive words (e.g., ‘golden-retriever’ not just ‘dog’). - Include colors, actions, or settings when relevant. - Maintain natural reading order (e.g., ‘red-brick-house’ not ‘house-brick-red’). - Omit articles, prepositions, and unnecessary words. “””
Conclusion
This image file renaming model provides a structured, fully automated solution for generating descriptive and organized filenames. By enforcing hyphen-separated formatting, specific word selection rules, and clear descriptive language, it ensures that image files are easy to search, manage, and identify in AI workflows, content management systems, and accessibility-focused applications.
Quick Description
An automated image file renaming model that generates structured, hyphen-separated filenames based on the main subject and key visual elements of an image. It ensures clear, searchable, and accessible file naming for better organization and AI-assisted workflows.