Replies: 3 comments 1 reply
-
I don't have the time at the moment to look into this in detail, however, here are some thoughts they may be useful.
Otherwise I can take a look once I'm back at my computer. |
Beta Was this translation helpful? Give feedback.
-
I just tested out the ddetail script. I don't understand what you mean by 1st step and 2nd step. In image2image, if I have an image of a person and I have a prompt such as |
Beta Was this translation helpful? Give feedback.
-
Hello, adieyal! I apologize for the delay in my response, as I have been quite busy and only now had the chance to see your reply. I would like to start by expressing my gratitude for conducting the test for my request. The issue I'm experiencing is related to the use of the wildcard function. To explain the difference between the first and second steps, the first step is where we typically input the prompt used for generating an image, while the second step involves ddetailer receiving that prompt and using it for another round of img2img processing. Upon examining the code for ddetailer, it takes the prompt from the first step and uses it for the second step. This is where the problem arises. In the first step, the prompt works with the wildcard applied. However, the prompt obtained by ddetailer from the first step (which is used in the second step) does not have the wildcard function applied! Here's a clearer example: So, I want to use the prompt "man, people, (wildcard's text)" in both the first and second steps, but currently, ddetailer is unable to receive the prompt with the wildcard applied from the first step for use in the second step, which is the problem I'm encountering. Did your test include the part I mentioned? Checking through metadata may be less accurate than expected. The way I tested it was by actually outputting the prompt content received by ddetailer in the code, so I could directly see the prompt being used. I would really appreciate it if you could help me with my issue once again. Wishing you a happy day! :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello adieyal. First of all, I'd like to mention that I'm using a translator to communicate, so there might be some grammatical issues in my message. Please bear with me.
I'm a regular user of your dynamic prompts, and I think your script is fantastic. However, the reason I'm here to ask a question today is slightly different. Are you familiar with a script called ddetailer? To put it simply, this script performs an additional i2i function during the t2img generation process (here's the script's URL: https://github.com/dustysys/ddetailer). I'm asking you about this because you've previously worked on ensuring that the wildcard feature is well-implemented in various scripts.
The problem is that this script hasn't been updated for a long time, and it has some issues. Notably, the wildcard and random selection (ex, {A|B}) features provided by dynamic prompts are not applied. I have some basic Python coding knowledge, so I looked at the script, and I found that the ddetailer script takes the prompt input on the webui as-is when generating an image (without applying the features of dynamic prompts).
So, in the first stage of generation, the transformed prompts from dynamic prompts are output correctly, but in the second i2i stage, the untransformed original prompt is output as-is (for example, if the "__temp__" wildcard was applied to a random prompt in the first stage, in the second stage, the prompt will be applied as "__temp__" as written in the original text).
Would it be possible to ask if there's a way to receive the transformed prompts from dynamic prompts in another script during the t2i process?
The situation is quite frustrating because the original author isn't updating the script. I'm not sure if it's appropriate to ask you this question, but I need help, so I'm leaving this message. I'm looking forward to your positive response. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions