rewbs / sd-parseq

Parameter sequencer for Stable Diffusion
https://sd-parseq.web.app/
MIT License
361 stars 39 forks source link

Idea: Add Prompts between Prompts #103

Closed Ashdevz closed 1 year ago

Ashdevz commented 1 year ago

Be good to add new prompts between prompts, rather than copy and pasting all +/- prompts and moving them down manually to insert a new prompt.

Will certainly buy you another coffee!

sashaagafonoff commented 1 year ago

if i'm doing bulk edits, i will use the following worklfow:

  1. download the parseq file and open in text editor
  2. remove generated frames section
  3. edit JSON directly
  4. load as new document (it works very well provided you deleted generated frames)

[optional]

  1. copy relevant JSON (prompts, frames) into JSON to CSV converter (e.g. https://codebeautify.org/json-to-csv#)
  2. edit numbers/text/order/etc in spreadsheet of preference
  3. convert CSV back to JSON
  4. paste updated JSON back into your master JSON file (with generated section deleted)
  5. load as new doc

hope that helps - I can do a video or screenshots if that helps - and this solves a number of edits which aren't supported with bulk edit

Ashdevz commented 1 year ago

Yeah of course we can do workarounds. Just thought be a nice little future feature to squeeze them in quickly in parseq.

Thanks for your reply, appreciate it.

rewbs commented 1 year ago

Thanks both! This is a good idea. Meanwhile, in addition to the workaround @sashaagafonoff suggested, note that the order in which prompts are used in the time line does not have to match their order in the list. So you can add a prompt at the end of the list and schedule it first or in the middle.

This makes me wonder: would you prefer it if the prompts in the list automatically re-ordered to match the order of their starting frames? If that satisfies your use case, it could remove the need to insert new prompts between others.

Ashdevz commented 1 year ago

Yes reordering the sequential prompt numbers automatically based on the frame sections would be an even better idea!

rewbs commented 1 year ago

There is now a button to re-order prompts based on their start number. I'm closing this off, feel free to re-open if it doesn't do what you wanted.

Ashdevz commented 1 year ago

That's brilliant Robin, thanks for taking my idea onboard and quickly implementing a solution.