mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Update !fetch command, add documentation and autocomplete list
-- !fetch takes second optional argument name of the file to save commands to
This commit is contained in:
@ -249,16 +249,31 @@ generated image and either loads them into the command line
|
||||
(Linux|Mac), or prints them out in a comment for copy-and-paste
|
||||
(Windows). You may provide either the name of a file in the current
|
||||
output directory, or a full file path.
|
||||
Given a wildcard path to a folder with image png files,
|
||||
command will retrieve the dream command used to generate the images,
|
||||
and save them to a file commands.txt for further processing
|
||||
Name of the saved file could be set as the second argument to !fetch
|
||||
|
||||
~~~
|
||||
dream> !fetch 0000015.8929913.png
|
||||
# the script returns the next line, ready for editing and running:
|
||||
dream> a fantastic alien landscape -W 576 -H 512 -s 60 -A plms -C 7.5
|
||||
|
||||
dream> !fetch outputs\selected-imgs\*.png selected.txt
|
||||
>> File outputs\selected-imgs\selected.txt with commands created
|
||||
~~~
|
||||
|
||||
Note that this command may behave unexpectedly if given a PNG file that
|
||||
was not generated by InvokeAI.
|
||||
|
||||
## !replay
|
||||
|
||||
This command replays a text file generated by !fetch or created manually
|
||||
|
||||
~~~
|
||||
dream> !replay outputs\selected-imgs\selected.txt
|
||||
~~~
|
||||
|
||||
## !history
|
||||
|
||||
The dream script keeps track of all the commands you issue during a
|
||||
|
Reference in New Issue
Block a user