If you go here: https://perchance.org/ai-text-to-image-generator, enter a prompt, click on the persona/chat button of an image, click generate persona, possibly edit the result, and then click chat with them, it creates a public link with the character’s image and the generated/edited text description. How long does that link persist?

  • VioneTM
    link
    English
    124 hours ago

    Each perchance page has its own local storage, which is by having a different domain. See this previous post. Then, each page is embedded on the main page, which is the top frame. By going to the Dev Console and setting the local storage there, it would be reflected on the top frame.

    You can test by adding this to the HTML panel (bottom right panel after clicking ‘edit’) then clicking ‘reload’ on the bottom of the preview:

    <script>
      localStorage.setItem("TEST", "a")
    </script>
    

    On one page and another, and it would be reflected to their respective domains on the local storage, instead of the top domain perchance.

    I guess the purpose of saving the data is for ease of access and convenience for sharing instead of downloading the data - clicking import - selecting import file - confirm. Maybe the solution is to just add a ‘download’ button instead of creating a share link so the data is downloaded locally, but again, the steps of download - import - select file - confirm might be inconvenient for others.

    As long as you don’t share the link or the file id. No one should be able to access the data from it.

    @perchance - I’ll ping the dev again just in case.

    • @thknasOP
      link
      English
      11 hour ago

      Ah that makes sense now. I guess there isn’t an easy solution to what you want to do. Also I didn’t realize the sharing aspect was important. Otherwise you could pass the data from one subdomain to the other through the server with an API POST.