> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mira.party/llms.txt
> Use this file to discover all available pages before exploring further.

# Images, GIFs & audio

> Around 60 image effects, GIF tools, format conversion, OCR, TTS and song recognition.

Every media command works the same way: **attach an image**, **reply to a message with one**, **paste a URL**, or **use an emoji**. If you give it nothing, it uses the most recent image in the channel.

```javascript theme={null}
!deepfry
!deepfry (attach an image)
!deepfry https://example.com/img.png
!deepfry :someemoji:
```

## Effects

<AccordionGroup>
  <Accordion title="Distortion" icon="wave-square">
    | Command             | Aliases               | Effect                   |
    | ------------------- | --------------------- | ------------------------ |
    | `magik`             | `magick`, `gifmagik`  | Content-aware distortion |
    | `swirl [strength]`  | `twist`, `vortex`     | Swirl, 1–100             |
    | `spread [strength]` | `scatter`, `glitch2`  | Scatter pixels, 1–100    |
    | `fisheye`           | —                     | Fisheye lens             |
    | `zoom`              | —                     | Zoom in                  |
    | `zoomblur [power]`  | `zblur`, `radialblur` | Radial zoom blur         |
    | `rubiks`            | `rubix`, `cube`       | Rubik's cube effect      |
    | `spin`              | —                     | Spin it around           |
    | `wormhole`          | `portal`              | Portal effect            |
  </Accordion>

  <Accordion title="Colour and quality" icon="droplet">
    | Command                                   | Aliases                   | Effect                |
    | ----------------------------------------- | ------------------------- | --------------------- |
    | `deepfry`                                 | `deep-fry`, `df`          | Deep fry              |
    | `jpeg [quality]`                          | `jpg`, `compress`         | JPEG artifacts, 1–100 |
    | `grayscale`                               | `greyscale`, `gray`       | Black and white       |
    | `invert`                                  | —                         | Invert colours        |
    | `pixelate [strength]`                     | —                         | Pixelate, 1–100       |
    | `blur [strength]`                         | `blurry`                  | Gaussian blur         |
    | `bloom [radius] [sharpness] [brightness]` | `glow2`                   | Bloom/glow            |
    | `neon`                                    | `neonglow`, `glow`        | Neon glow             |
    | `siren`                                   | —                         | Siren lights          |
    | `transparent`                             | `rembg`, `removebg`, `tp` | Remove the background |
  </Accordion>

  <Accordion title="Transforms" icon="crop">
    | Command            | Aliases              | Effect                     |
    | ------------------ | -------------------- | -------------------------- |
    | `flip`             | `mirror`             | Upside down                |
    | `flop`             | `fliph`, `180`       | Horizontal flip            |
    | `rotate [degrees]` | `rot`, `turn`        | Rotate                     |
    | `widen [ratio]`    | `16:9`, `4:3`, `1:1` | Stretch to an aspect ratio |
    | `resize [size]`    | `res`, `rsz`         | Resize                     |
  </Accordion>

  <Accordion title="Templates" icon="image">
    Place an image into a scene:

    `billboard` · `book` · `circuitboard` · `flag` · `flag static` · `fortunecookie` · `globe` · `locket` · `rainbow` · `tattoo` · `terraria` · `toaster` · `valentine` · `aprilfools` · `ahshit` · `drip` · `femurbreaker` · `sweden` · `speech`

    ```javascript theme={null}
    !billboard
    !locket (attach an image) love you
    ```
  </Accordion>

  <Accordion title="Text" icon="font">
    | Command             | Aliases                 | Effect                                |
    | ------------------- | ----------------------- | ------------------------------------- |
    | `caption <text>`    | `cap`                   | Caption bar above the image           |
    | `uncaption`         | `uncap`, `decap`        | Remove a caption bar                  |
    | `meme [text]`       | —                       | Meme template, split with `\|` or `,` |
    | `motivate [text]`   | `inspire`, `demotivate` | Motivational poster                   |
    | `goldscar <text>`   | —                       | Text over a gold scar image           |
    | `slenderman <text>` | `slender`               | Text on a Slenderman image            |
  </Accordion>
</AccordionGroup>

## GIF tools

| Command              | Aliases               | Effect                          |
| -------------------- | --------------------- | ------------------------------- |
| `speed [multiplier]` | `gifspeed`, `speedup` | Change playback speed           |
| `gifloop [loops]`    | `setloop`             | Set loop count (`0` = infinite) |
| `scramble`           | —                     | Scramble the frames             |
| `frameshift`         | `shiftframes`, `fs`   | Offset each frame               |
| `ghost [depth]`      | `spooky`, `haunt`     | Echo trail, depth 1–10          |
| `frames`             | `gifframes`, `gifzip` | Extract frames to a ZIP         |
| `makegif`            | `togif`, `gif`, `m2g` | Convert a video to a GIF        |

## Quotes

```javascript theme={null}
!quote
```

Turns a message into a stylised quote image. Reply to a message, pass a link, or forward one. Aliases: `qt`, `gifquote`, `gq`.

```javascript theme={null}
!quote channel #quotes
```

Automatically forwards generated quotes to a channel. Requires **Manage Channels**.

## Audio and video

<CodeGroup>
  ```javascript Convert to MP3 theme={null}
  !makemp3 (attach a video)
  ```

  ```javascript Isolate vocals theme={null}
  !vocals (attach audio)
  ```

  ```javascript Transcribe speech theme={null}
  !transcript (attach audio)
  ```

  ```javascript Identify a song theme={null}
  !shazam (attach audio)
  ```

  ```javascript Edit metadata theme={null}
  !metadata (attach an mp3)
  ```
</CodeGroup>

| Command      | Aliases             | Does                              |
| ------------ | ------------------- | --------------------------------- |
| `makemp3`    | `mp3`, `wav`, `m4a` | Convert to audio                  |
| `vocals`     | `stems`             | Separate vocals from instrumental |
| `transcript` | `transcribe`, `ts`  | Speech to text                    |
| `shazam`     | `recognize`         | Identify a song                   |
| `metadata`   | `meta`, `tagmp3`    | View and edit tags                |

<Tip>
  `!vocals` uses source separation to split a track into vocals and instrumental. Slower than the other commands — it's doing real work — but the results are genuinely usable.
</Tip>

## Text to speech

```javascript theme={null}
!tts Molly hello there
!tts channel Molly hello there
```

`tts channel` speaks it in your voice channel instead of sending a file. Alias: `speak`.

## Reading images

<CodeGroup>
  ```javascript Extract text theme={null}
  !ocr (attach an image)
  ```

  ```javascript Answer a homework question theme={null}
  !brainly (attach an image)
  ```

  ```javascript Dominant colour theme={null}
  !dominant (attach an image)
  ```
</CodeGroup>

Aliases: `optical` / `answer`, `brain` / `hex`, `colour`, `dom`.

## Finding images

<CodeGroup>
  ```javascript Tenor GIFs theme={null}
  !tenor cat
  ```

  ```javascript Google Images theme={null}
  !images sunset
  ```

  ```javascript Pinterest theme={null}
  !pfps aesthetic
  ```
</CodeGroup>

`tenor` requires **Embed Links**. See [Pinterest](/social/pinterest) and [AI & search](/utility/ai-and-search) for more.

## Notes

* Discord's upload limit applies to the result — 10 MB without boosts. Large GIFs are the usual casualty.
* Effects on animated GIFs process every frame, so they take noticeably longer than on a still image.
* Some commands have cooldowns. If one is refused, wait a moment.

## Command reference

The full list is long — `!help media` gives you a browsable version in Discord, and [mira.party/commands](https://mira.party/commands) has everything searchable.
