Local GPU Img2Img
Loading...
Localhost connections are blocked by security policy. Click here for solutions.

Local GPU Img2Img

Click or drag an image here

Base image preview
Prompt
Negative Prompt
Denoising Strength 0.60
Sampling Steps 20
Generate Image

Generating on Local GPU...

Generated result

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"
API URL Endpoint
Save Settings