PlaySpace API

Bring image creation, videos up to 60 seconds long from a single prompt and chat to your own site. Your customers use your sign-in. Your server manages credentials and usage.

Embed a creatorConnect chat

PlaySpace Uncensored Chat

Uncensored Intelligence for artists, creators, fantasy roleplaying, chat, and adult content development

Connect your server to DeepSeek Flash through Crow. Send the conversation with each turn and display the assistant’s reply from choices[0].message.content. The response includes token usage when Crow supplies it.

curl https://www.playspace.studio/v1/chat/completions \
  -H "X-Crow-Api-Key: $CROW_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"messages":[{"role":"user","content":"Invent a mountain town for a fantasy game."}],"max_tokens":512}'

Your Crow account pays for chat tokens separately from your Studio membership. Keep the key on your server. Authenticate each visitor, cap requests per visitor and set an output token limit before forwarding chat. An unconfirmed chat request may have incurred usage. Crow model pricing ↗

Member pricing

Imagine is $10 once, Creator is $20 per month, and VIP Unlimited is $99 per month. Image and video requests use the submitting member’s allowance, queue priority and creation limits. Your site can fund these requests from one member account. Up to three active image and video requests share that account’s limit. VIP fair-use pacing applies.

Choose a plan

White-label embed

Add the widget to your site. Set brand, accent and theme (light or dark). Point endpoint to a server route on your own site.

<script defer src="https://www.playspace.studio/studio-embed.js"></script>
<playspace-creator brand="Your studio" accent="#355c82"
  theme="light" endpoint="/api/playspace"></playspace-creator>

Site administration

Use your site’s existing administrator account to add, edit and delete style prompts. Install the site settings module in your Node 24 Express app, after your sign-in middleware. Give each site its own persistent SQLite file.

import { studioSettings } from './studio-site-settings.mjs';
app.use('/creator/settings', studioSettings({
  database: '/var/lib/my-site/creator.sqlite',
  origin: 'https://your-site.example',
  isSiteAdmin: req => req.user?.role === 'admin'
}));

Open /creator/settings/admin on your site. Set settings="/creator/settings" on the widget. Change the prompt label with input-label, set a placeholder, or style the form, heading, input, submit button and status with CSS ::part(). You can also build your own input form and result display against the same API.

The cast picker offers Newcomer synths for the selected format. For a custom picker, GET /v1/generations for names, IDs and supported formats. Pass one castId with the prompt.

Generation API

On your server, authenticate the submitting member through POST https://play-space-api.vercel.app/api/auth/login with JSON fields login and pass. Keep the returned bearer token on your server. Authenticate your site visitors and enforce their spending limits before forwarding a widget request.

POST https://www.playspace.studio/v1/generations
Authorization: Bearer MEMBER_TOKEN
Content-Type: application/json
Idempotency-Key: UUID_V4

{"kind":"video","prompt":"Follow a ceramic vase from the potter’s wheel to its final glaze."}

For video, send one prompt and set durationSeconds to 15, 30, 45 or 60. Omit it to let the regular PlaySpace scriptwriter choose the runtime from the prompt. For a still, use kind: "image" and omit the duration. Send the same body and key to check progress after 15 seconds. The response includes the request ID, kind and status. A completed receipt includes the output URL when available. Resolve relative output URLs against the PlaySpace API origin. Use a fresh key for a new creation.

HTTP 202 means processing. HTTP 402 means the member needs allowance. HTTP 429 means the account limit has been reached. If the receipt is unconfirmed, retry with the same key.