---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/generation/_shared/interfaces/GenerationBytesInput.md
description: Raw bytes plus an optional MIME type — the plain-object form of image input.
---

# Interface: GenerationBytesInput

Defined in: [src/batteries/generation/\_shared/index.ts:43](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/generation/_shared/index.ts#L43)

Raw bytes plus an optional MIME type — the plain-object form of image input.

## Properties

| Property                                   | Type         | Description                                                | Defined in                                                                                                                                         |
| ------------------------------------------ | ------------ | ---------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
|  `bytes`        | `Uint8Array` | The raw encoded image bytes (e.g. a PNG/JPEG/WebP buffer). | [src/batteries/generation/\_shared/index.ts:45](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/generation/_shared/index.ts#L45) |
|  `mimeType?` | `string`     | The MIME type of `bytes`, when known.                      | [src/batteries/generation/\_shared/index.ts:47](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/generation/_shared/index.ts#L47) |
