WebAI Studio

Prompt API

Full access to the core language model API with configuration and tool use.

1

Configuration

Select "most-predictable" for strict reproducibility and speculative decoding.

Pre-declare expected inputs and outputs so the browser downloads required adapters during creation.

Initial Prompts (History)
Tools (Function Calling)
No tools defined.
Advanced & Deprecated Session Configuration
Use Abort Signal for Cancellations
Deprecated Hyperparameters Deprecated

temperature and topK are deprecated and restricted to web extension contexts. In standard web pages they are ignored and samplingMode takes precedence.

2

Check Availability

View Initialization Code
3

Create Session

Initialize the session with the configuration defined above to start interacting with the model.

View Session Creation Code
4

The Input

5

Execution

View Execution Code
Execution Output
Click prompt to generate output.