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

# Types and Models

> Use exported request types, task types, and runtime model metadata from the SDK.

The SDK exports request and result types through `MynthSDKTypes`.

## Import SDK types

```ts theme={"theme":"kanagawa-dragon"}
import type { MynthSDKTypes } from "@mynthio/sdk";

const request: MynthSDKTypes.ImageGenerationRequest = {
  prompt: "Minimalist poster for a jazz festival",
  model: "google/gemini-3.1-flash-image",
};
```

## Useful exported types

These types are members of the `MynthSDKTypes` namespace — access them as `MynthSDKTypes.<Name>` (they are not re-exported as top-level names):

* `MynthSDKTypes.ImageGenerationRequest`
* `MynthSDKTypes.ImageGenerationModel`
* `MynthSDKTypes.TaskData`
* `MynthSDKTypes.TaskStatus`
* `MynthSDKTypes.WebhookPayload`

The model metadata types are exported directly:

```ts theme={"theme":"kanagawa-dragon"}
import type { AvailableModel, ModelCapability } from "@mynthio/sdk";
```

## Runtime model metadata

The SDK also exports `AVAILABLE_MODELS`.

```ts theme={"theme":"kanagawa-dragon"}
import { AVAILABLE_MODELS } from "@mynthio/sdk";

const supportsInputs = AVAILABLE_MODELS.find(
  (model) => model.id === "google/gemini-3.1-flash-image",
)?.capabilities.includes("inputs");
```

Capability strings (`ModelCapability`) include:

* `inputs`
* `mynth_magic_prompt`
* `negative_prompt`
* `4k`
* `native_enhance_prompt`

## Where to browse models

For human-facing model discovery, use [mynth.io/models](https://mynth.io/models). For application logic, use `AVAILABLE_MODELS` and set the model explicitly in production flows.
