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.

vision 2b 4b 7b 8b 11b 13b 34b

93 8 weeks ago

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).

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:

  1. Identify the key visual elements in the image
  2. Select 6-10 most relevant and descriptive words
  3. Combine them with hyphens
  4. 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.