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

# Get Image

This function allows you to retrieve a specific image by its ID. Useful when a user views a specific image and you need its full details.

<Info>
  You should initialize [InitLummi](/authentication) before using this method.
</Info>

```typescript
import { GetImage } from 'lummi'
import { imageId } from '@/data'

const { data, success, message } = await DownloandImage({
    id: imageId
})
```

## Props

<ParamField param="query" path="id" type="string" required>
  The ID of the image to list.
</ParamField>

# Return Props

<ResponseField name="data" type="Image | null">
  The downloand url of the image if success, otherwise `null`.

  <Info>Check the [Image Interface](/interfaces/Image) and what promps it includes.</Info>
</ResponseField>

<ResponseField name="success" type="boolean">
  `true` if the request was successful, otherwise `false`.
</ResponseField>

<ResponseField name="message" type="string">
  A message describing the result of the request.
</ResponseField>

<ResponseField name="code" type="number">
  `200`, `400`, `401`, `403`, `404`, `500`.

  <Info>Read more about [status codes](/status-codes) and what they mean.</Info>
</ResponseField>
