Naidan
Guides

Generate AI images on your device: Keep prompts local

Use a model on your device in the image workspace to generate from your prompt. Prepare the model files, make your first image, then reuse its settings for another attempt.

First, open /#/image-generation/ to start in the Hosted edition’s image workspace.

1. Open the image workspace

The link above opens Image generation directly. You can also open More Actions in the sidebar and choose Image generation. The workspace opens on a session, with settings on the left and execution, previews and results on the right. This is separate from generating an image inside an Ollama chat.

The sidebar menu opens the session workspace.

2. Prepare and select an image model

Open Components, then check that Compute with shows This device; switch it back if an earlier session restored another destination. Choose Prepare a model beside Image model. In Models, choose an available model or download a catalog entry to browser storage or a linked folder, then select it for the workspace. Check the file size and required components before downloading. Catalog entries do not guarantee that every device or input will work. The portable HTML edition does not include local image generation; use the Hosted workspace linked above.

For files you already have, the import section offers Save in browser to keep a copy, Link folder to use a folder on your device, and Use temporarily to use selected files without saving a copy. Temporary models remain available until you reload or close this browser page, or remove their registration. Local-only cannot download catalog models from external hosts; obtain the files separately and use one of these import methods.

Prepare a model, then return to the workspace with it selected.

3. Enter a prompt and generate one image

If a restored session shows Multiple prompts, choose Single prompt beside the prompt heading. Leave Images per run at 1 for this first image.

You can leave Sampling steps and Guidance scale on Auto. Naidan uses a reviewed model recommendation when one is available, or its standard value otherwise. Editing a number changes that field to Fixed; choose Auto again to follow model changes.

Enter a Prompt and choose Generate. The Execution, previews and temporary results panel shows progress, then a preview. During a run, Generate is disabled and Cancel can stop it. The result also appears under Runs and Gallery when saving is enabled and the session can save it. If Generate without saving in this workspace appears, choose it only for a temporary result and download any image you want to keep. You can change the prompt during a run; those edits apply to the next generation.

A prompt starts a run; progress gives way to a preview, and a saved result if saving is enabled and succeeds.

4. Inspect the result and try another version

Open the result card to inspect its prompt and settings. Choose Reuse prompt only to bring only its text back to the editor, or Reuse saved settings for the full saved setup. The recorded sampling steps and guidance scale return as Fixed values, and the seed is fixed too. Choose Auto again if you want those fields to follow a different model. Use the viewer’s download menu to save an image as a regular file. Export session is a separate ZIP action for the session.

The result viewer offers prompt and settings reuse for the next attempt.

Keep the work you want to return to

The session draft and results need browser storage (OPFS) and Web Locks. When session storage is unavailable, the workspace may offer Generate without saving in this workspace; that result is not a saved session. Image sessions use an experimental data format that may change without migration. Save important images, prompts and settings outside Naidan. Session ZIP exports include inputs and outputs and local model paths, but not the model weights; a regular chat backup does not preserve the whole image session.

Model preparation and result saving are separate. You can save generated images while using a temporary model, but restoring its settings after a reload still requires making the model files available again.

After your first image

Images per run makes several images from the same prompt. Multiple prompts lets you prepare different prompts with shared settings and generate them in order; the related guide below explains that workflow. You can also search the gallery, mark favorites, compare two saved images, or reuse an image as an initial or reference image. Those two image inputs serve different purposes and are optional for a first text prompt.