On the ai-text-plugin, there is a way to get the inputs that were sent to the AI using the onStart(data) function:

onStart(data) - the code you put in this will run at the start of the generation process. You can access the inputs being used with data.inputs.instruction, data.inputs.startWith, etc.

I am wondering if we could also get the same for the text-to-image-plugin?

It can be either on the onStart(data) or on the onFinish(data) in which we can get the inputs/static values that were used for the response of the AI e.g. data.inputs.prompt, data.inputs.negativePrompt, etc.

With this, some features that can be implemented is a local history of past generations, in which the previous inputs were temporarily stored in the storage (or on the local storage so even if the page reloaded, the history is saved), then the users can revisit the previous generations (I have set up something similar like this on my text to image generators but they have some hacks to work).

This is not really a priority but might be good to have. Thanks!

  • ✧✨🌿Allo🌿✨✧
    link
    English
    16 months ago

    i initially made a lemmy account and everything works great on lemmy and same with where i am now. @[email protected]

    i think you should freely explore around and try making accounts anywhere that calls to you. As you saw, I did make a Mastodon account, but was never really able to get in to it and abandoned it in favor of the Lemmy style of server, and eventually then settled on this specific one.

    Purely my own opinion is I believe you should make an account on Lemmy or sh.itjustworks and try it for a few days. I see how you have to ask other people to do stuff when you are on Mastodon and, while not bad since we all happily help, it seems like being on Lemmy or sh.itjustworks would be an upgrade that, if you stuck with for long enough, you would not go back to Mastodon from.

    • BluePower
      link
      fedilink
      26 months ago

      @allo Yep. It feels a bit scary at first when I saw the first few posts and comments but I think I’ll start exploring for a bit and then eventually start creating my account there.

      • ✧✨🌿Allo🌿✨✧
        link
        English
        16 months ago

        @[email protected] ok i updated my suggestion.

        i think you should just go here: https://lemmy.world/c/perchance

        which is where the community tab of Perchance goes. Perchance looks like basically your main community and *everyone else is seeing and interacting in the Perchance forum thru this method. Feel free to not even browse outside Perchance forum initially even. I notice in mastodon you are missing alot of aspects of posts we all see, like the entire ‘votes’ aspect. If you make the free lemmy account, you can just post here as is comfortable for you, except now able to see and interact fully. That’s what I suggest. I think, at least initially, that’s better for you than where I am.

        sign up here: https://lemmy.world/c/perchance

        add your avatar and stuff.

        browse just here where you always have, xcept with full senses and abilities.

        this is my modified suggestion :)

        • ✧✨🌿Allo🌿✨✧
          link
          English
          16 months ago

          and then you can have your emotions ride crazily up and down on the whimsical sprees of upvotes and downvotes like the rest of us, lol

          • BluePower
            link
            fedilink
            26 months ago

            @allo @Alllo Alright, thanks for all the suggestions. I’ve been thinking and re-evaluating about making a new Lemmy account for a long time, but for now I’ll stay on the Mastodon account for a while until the decision has been fully approved.