PicX Studio

API Playground

Send real PicX API calls from the browser and see the request, the response and the generated asset.

Uses your signed-in account; the server picks one of your active keys.

Real calls: each run costs credits and shows in your usage and logs.

Request

POST /api/generations/image
JavaScript
// Signed-in browser session (cookie), as this page sends it
await fetch("https://api.picxstudio.com/api/generations/image", {
  method: "POST",
  credentials: "include",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "prompt": "<your prompt>",
    "model": "google/nano-banana-2-1",
    "mode": "generate",
    "size": "1K",
    "aspect_ratio": "16:9"
  }),
});

Response

Press Generate to send the request. The response and the generated asset appear here.