Skip to main content

Generation section

The main generation area combines three panels:
PanelPurpose
SchemaShows the selected endpoint path and the current model fields
Request BodyLets you fill the request payload
ResponseShows loading progress, errors, and the JSON response

Before you send

To send a request successfully, the page needs all of these:
RequirementHow it is enforced
Model selectedThe page loads the schema and default body from the current model identifier
API key presentThe top bar must contain a non-empty API key
API key lockedThe send button stays disabled until you lock the key
Required fields filledThe form shows Fill required: ... when required values are missing

Send a generation request

1

Choose region, type, and model

Select US or EU, choose Image or Video, then pick a model identifier.
2

Lock your API key

Paste your key into the top bar and click the lock button. The button title switches between Lock API key and Unlock API key.
3

Complete the request body

Fill the fields in the Request Body panel. Use the reset button if you want to restore the current model defaults.
4

Click Send request

The page sends a POST request to /v1/generate/{image|video}/{model_identifier} for the selected region.
5

Watch the response panel

The Response panel shows a loading timeline, then the final JSON payload or an error message.

What the response panel shows

The Response header can show these items:
ElementWhen it appears
Response titleAlways
HTTP status badgeAfter a response is received
Elapsed millisecondsWhile the request is still loading
Final latencyAfter the request finishes
Line countWhen a JSON response is present
JSON badgeAlways
Copy buttonAlways
The generation response panel also shows this hint row:
Hint text
Async response - subscribe to webhooks for real-time status and output delivery

Loading timeline

While a request is in progress, the panel shows a live timeline. If your request includes generation_provider_order, the timeline uses that provider order to show failover progress. The page also uses the internal GET /api/playground/generation-status/{generation_id} helper to improve the timeline after a generation row exists.

Error states

The page can show these error messages before or after the request is sent:
SituationMessage
API key missing when sendingPlease lock your API key first
Invalid model typeInvalid model type
Unknown modelUnknown model
Invalid endpoint shapeInvalid endpoint path
Invalid API key valueInvalid API key format
Required field missingMissing required field: {field_name}
Oversized responseResponse too large
Non-JSON responseInvalid JSON response from server
Aborted by timeoutRequest timed out

After you receive generation_id

Most generation responses include a generation_id in the JSON body. After you have that value, you can:
  • Open the management section and use Content Info, Cancel Generation, or Delete Content.
  • Call the public content routes directly from your own app.
  • Configure Webhook in your workspace for asynchronous delivery.
For the management tools built into the page, see Manage content.