Local GPU Img2Img
Click or drag an image here
0.60
20
Output will appear here
Settings & Setup
To use your local GPU, you must run an API-compatible backend like Automatic1111. You need to enable API and CORS.
1. Start your local server with these arguments:
COMMANDLINE_ARGS=--api --cors-allow-origins=*
2. The platform's Content Security Policy completely blocks direct connections to localhost or 127.0.0.1. You MUST use a public HTTPS URL. Use ONE of these solutions:
-
•
Use --share flag (Easiest): Add "--share" to COMMANDLINE_ARGS for a temporary public Gradio URL
-
•
Use ngrok: Run "ngrok http 7860" and copy the HTTPS URL
-
•
Use Cloudflare: Run "cloudflared tunnel --url http://127.0.0.1:7860"
