Skip to main content

Image generation filename

The image generation filename was incorrect for my file and it named it ‘

cat-sleeping-on-a-pile-of-books--t3chat--1.jpg’ - looks like there is some collision occurring with filenames. May be a privacy/security issue if wrong name is leaked.

Status: Completed2 comments

Log in to comment and vote

Comments2

  • Mark Florkowski

    Team

    After taking a look, this appears to be a simple case of hallucination. the filenames are generated based off of the last message contents (nothing to do with the images) and that can cause the title generation to just make something up.

    Here is the system prompt for the title generator:

    "You are a helpful assistant that generates titles for images. You will be given a prompt and you will need to generate a title for the image. Don't include the file extension in the title. It should be kebab case. Example: 'beautiful-sunset-in-new-york'. Keep it under 50 characters. Don't use underscores or periods."


    so for example, if you sent “a cat wearing a hat”, it might generate “cat-wearing-hat—t3-chat.png” but then in the next prompt you said “make it orange”, the model might get confused and generate “orange-sunset-beach—t3-chat.png” because it can only see “make it orange”

    I’ll look into making the title generation algo better, or just use a timestamp instead.

  • Amber Sandwich

    Chat ID:

    9b0191d6-0268-48a2-8828-6ff60f892d53