imaginAIry icon indicating copy to clipboard operation
imaginAIry copied to clipboard

Can we add some documentation to use it as a python library.

Open eltoob opened this issue 2 years ago • 5 comments

First off, thanks a lot @brycedrennan! Trying to play around imaginAIry directly from python... would be really great if we could beef up documentation to use the method in python over bash, Thanks!

eltoob avatar Jan 26 '23 07:01 eltoob

I welcome any pull requests 😄 I agree the docs are sparse.

brycedrennan avatar Jan 26 '23 07:01 brycedrennan

Is there something in particular you wanted better documentation for?

brycedrennan avatar Jan 26 '23 07:01 brycedrennan

Is it possible to use the InstructPix2Pix integration from the python API? I couldn't figure that one out.

(great project btw!)

bjano avatar Jan 27 '23 20:01 bjano

@bjano the key thing is to set the model to "edit" and init-image-strength to zero example: https://github.com/brycedrennan/imaginAIry/blob/19444d8e22533c9ea85453953c21f464377bacf6/imaginairy/surprise_me.py#L160-L169

brycedrennan avatar Jan 29 '23 06:01 brycedrennan

Todo: for all images add directions for both the command line and python

brycedrennan avatar Jan 30 '23 22:01 brycedrennan