# Image generation

> Generate AI images in Discord with Based's /imagine command, write better prompts, and control channels and cooldowns for your server.

URL: https://www.jalkarna.in/based/docs/image-generation/  
Last updated: 2026-11-16

Based can create images from a text description. Run `/imagine` with a prompt, for example `/imagine prompt: a cozy pixel-art cafe at night, rain on the windows`, and Based posts the result in the channel. You can also ask for images in normal chat and ask for changes to an image.

## Getting better results
Describe the subject, the style, the setting and the mood. "A watercolor fox reading a map in a snowy forest, soft morning light" gives the model more to work with than "fox". Our explainer [what is AI image generation](https://www.jalkarna.in/based/learn/what-is-ai-image-generation/) covers how these systems work and their limits.

## Server controls
Staff can limit images to certain channels and set a per-member cooldown (one hour by default). Based needs **Attach Files** in channels where it posts images.

## Settings
Change these in the [dashboard](https://www.jalkarna.in/based/dashboard/) or with `/setup` in Discord. They apply to one server at a time.

| Setting | Default | What it does |
|---|---|---|
| Enabled | On | Turn this feature on for this server. |
| Allowed channels | Not set | Leave empty to let Based work in every channel it can see. |
| Member cooldown | 3600 | How long each member waits between image requests, in seconds. |

## Permissions Based needs
For this module Based's role needs: **View Channel**, **Send Messages**, **Attach Files**. See [permissions](https://www.jalkarna.in/based/docs/permissions/) for how to grant them only where they are needed.

## Commands
Every command works as a slash command and with the text prefix (default `.`), so `/imagine` and `.imagine` do the same thing.

### /imagine
Generate an image from a text prompt.

- Usage: `/imagine <prompt>`
- `prompt` (required): Describe the image to generate
- Who can use it: Anyone who can use the command

