-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: can I start a rendering from the command line? #92
Comments
@vicmortelmans when you open the ui, there is a button at the bottom to view the api, you can then curl against it with the prompts / parameters, and get the result from the output folder. I haven't tried it personally, but it should work, in theory at least. |
Hi, thanks!! I got the API working, mainly by inspecting the calls made by the web GUI. There are two fields in the posted data that I don't know what they're for and that seem to be mandatory:
The data array contains all the settings that are available in the GUI. So far I copied the defaults (again: upon inspection) and only tried modifying the text and the size fields. Here's code that works for me:
And in Python:
|
Glad it worked! the questions you have rely on the internals of gradio and the UI itself, which is unfortunately out of scope of this repo (here are the containers only). You can definitely try asking your questions in the main repo: The community there is much larger and you would probably find the answers you are looking for 👍 |
This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
Hi,
I've been trying a number of stable-diffusion installation methods that should work without GPU, but this one is the only one that I got working (out of the box!) without any breaking issue.
That's very good, but problem is that I was actually looking for an installation that would allow renderings to be run from the command line (scripted)...
So my question (which is definitely not a bug, as the repo says it's about offering a GUI): is it still possible somehow to render images without using the GUI?
Best regards,
Vic
The text was updated successfully, but these errors were encountered: