Tokaify APITokaify API
API Reference
Product Overview

Playground

Playground guide for Tokaify console

The Playground is a visual debugging workspace for model requests. You can choose a model, tune parameters, edit messages, and inspect both the request and the response.

Choose a Group and Model

When you enter the Playground, start by selecting the group and model for the current request.

  • Group determines which models are available
  • Model determines which model is actually called
  • Available parameters change depending on model capabilities

If a model does not support vision, multimodal input, or function calling, the related controls may not appear.

Configure Request Parameters

In standard mode, you can directly adjust common parameters.

  • Temperature: controls randomness
  • Top P: controls the sampling range
  • Other parameters: shown based on model capability

If the model supports image input, you may also be able to provide an image URL or use the visual input controls directly in the page.

Use a Custom Request Body

If the standard form is not enough, switch to Custom Request Body mode and edit the raw JSON directly.

  • Once enabled, the request will be sent according to the JSON in the editor
  • The editor usually includes basic format validation
  • This is useful for testing advanced parameters, custom fields, or compatibility scenarios

When this mode is enabled, edits made in the standard parameter area may no longer take effect.

Manage Messages and Sessions

The Playground also lets you adjust the current conversation directly.

  • Add, edit, or delete messages
  • Switch message roles such as system, user, and assistant
  • Stop the current generation
  • Resend the request with the current configuration

This is especially useful when debugging prompts, multi-turn context, or different message structures.

Inspect Requests and Responses

After sending a request, you can inspect detailed runtime information in the debugging panel.

  • Preview Request Body: see the request generated from the current UI configuration
  • Actual Request Body: see the final request sent by the platform
  • Response or error details: useful for diagnosing request failures, parameter overrides, or routing issues

For streaming responses, the page may also display live output or event-stream status.

Import, Export, and Reset

The Playground usually lets you save and move debugging configurations.

  • Export the current session and parameter settings
  • Import an existing config file and continue testing
  • Clear the current session and start over

Some settings and message content may also be persisted locally in the browser.

FAQ

Why didn't my parameter changes take effect

First check whether Custom Request Body mode is enabled. When it is on, the request usually follows the JSON editor content instead of the standard controls.

Why are some parameters or input methods missing

Different models support different capabilities. Confirm that the current model actually supports the feature you are looking for.

How is this guide?

Last updated on