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

# Try in Playground

> Test a model interactively before calling it from your own code.

# Try in Playground

Playground lets you verify the model behavior, input shape, output format, and
parameters before writing integration code.

## Recommended flow

1. Open the model from Marketplace.
2. Select the operation you want to test.
3. Enter the smallest realistic input.
4. Run the model.
5. Inspect the response and any billing or execution metadata.
6. Copy the equivalent API shape into your integration.

## Playground route

Use the product app route:

```text theme={null}
/{locale}/playground?model={model-slug}&action=execute
```

Replace `execute` with another operation only when the model page declares it.

## Input rules

* Text inputs can be sent directly in JSON.
* Binary inputs must be uploaded by the product flow before execution and sent as
  media references.
* Parameters must match the model contract.
* Use `scope: "playground"` for interactive tests unless the model workflow
  requires a different scope.

## When to move to code

Move to [Execute via API](./execute-via-api) after Playground returns the output
you expect with the same operation and representative input.
