Replies: 1 comment
-
@bin2ai I also found the internal function and there is a sample program to get as ASCII string. The function you want would be below.
On the Web UI, the one was shown. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There is a function inside the client.py script called image_to_prompt which returns type generation.prompt which appears to be a byte string.
Has anyone had any luck converting an image to prompt (ASCII) using this SDK?
Beta Was this translation helpful? Give feedback.
All reactions