Use Kokon from your phone, or run it as a server

Your computer with the graphics card makes the images. Your phone, tablet or laptop uses Kokon in a browser, on the same network or, through a VPN, from anywhere. Kokon 0.11 or newer. Updated October 24, 2026.

9:41
Kokon on an iPhone: the projects made on the home computer, as large cards with their pictures, and a New image button
9:41
A Kokon project on an iPhone: an edited photo, its versions and the prompt box
Kokon on an iPhone, opened from the home screen. The images are made by the computer at home.

How it works

Kokon runs a small service on the computer with the graphics card. In 0.11 that service can also serve Kokon's interface to other devices: open its address in a browser, sign in with a password, and you get Kokon, with a layout of its own on a phone: your projects first, a swipe between versions, a screen of its own for writing the prompt. Photos you pick on the phone are uploaded to the computer, the computer makes the image, and the result lands in its gallery. You can download any result to the device you are holding.

There is no cloud and no Kokon account. The phone talks to your computer directly, over your own network. (Coming from ComfyUI with --listen? See how the two compare.)

On your home network

  1. On the computer running Kokon, open Settings → Other devices.
  2. Choose a password (at least 8 characters) and click Set and turn on.
  3. Settings shows a QR code and an address such as http://192.168.1.20:39152. Scan the code with the phone's camera, or type the address in any browser on the same network, and enter the password. That browser stays signed in for 90 days.
  4. To keep Kokon on the home screen like an app: on iPhone, Share → Add to Home Screen; on Android, the browser's menu → Add to Home screen.

The first time, Windows or macOS may ask whether Kokon can use the network. Allow it on private networks only, and on Windows make sure your home network is set as Private.

The router can give the computer a new address after a restart, and the saved icon then stops working. Reserve the address in the router (often called "DHCP reservation"), or scan the QR code again.

This works while Kokon is open on the computer. To keep it running without the window, use a server, below.

On a Linux server without a screen

kokon-service comes with the Linux packages (.deb and .rpm). Set the password once, then start it with access on:

kokon-service --set-password         # asks twice, nothing is shown while you type
kokon-service --persistent --remote  # keeps running; the interface is on port 39152

Open the address it prints in a browser and follow the setup: it downloads the engine and the model (about 12 GB) once. A password changed while the service runs applies within a few seconds.

In Docker (NVIDIA)

Each release publishes the image ghcr.io/gabrielelozupone/kokon. It holds no models, so it stays small; the setup downloads them once into a volume. You need an NVIDIA card with the proprietary driver, Docker with Compose, and the NVIDIA Container Toolkit. On Windows it works through Docker Desktop with WSL 2.

mkdir kokon && cd kokon
curl -fsSLO https://raw.githubusercontent.com/GabrieleLozupone/kokon/master/docker/compose.yaml
docker compose up -d
docker exec -it kokon kokon-service --set-password

Then open http://<the server's address>:39152. The models, the settings and the saved images live in three volumes, so they survive updates:

docker compose pull && docker compose up -d   # update to a new version
docker logs -f kokon                          # what the service is doing

The latest tag follows every release; write :0.11 in compose.yaml to stay on 0.11.x. An image for AMD and Intel cards (Vulkan) will follow once it can be tested; until then, use the Linux packages. The full reference is in docs/docker.md.

From outside your home: Tailscale

Never open Kokon's port on your router: anyone on the internet could then try the password. Use a private network instead. Tailscale is free for personal use and takes a few minutes:

  1. Install Tailscale on the computer running Kokon and on your phone or laptop, and sign in with the same account on both.
  2. Turn on access in Kokon, as above.
  3. With Tailscale on, open http://<computer name>:39152 on the other device, for example http://gaming-pc:39152.

Tailscale encrypts the traffic between your devices, wherever you are. With HTTPS turned on for your tailnet, tailscale serve --bg 39152 on the Kokon computer gives you an https:// address, and the browser then also lets Kokon copy images to the clipboard. WireGuard, ZeroTier or your router's own VPN work the same way.

What is protected

What is different in a browser

It does not connect

Still stuck? Open an issue with Settings → Diagnostics → Copy.

Try it

Free and open source for Windows, macOS and Linux, and as a Docker image for NVIDIA.