Worlds
Create a world
Generate a playable SMWorld from a premise and/or seed frame. Reserves one generation against your daily quota before spending GPU.
POST
Create a world
Authorizations
An app API key, e.g. Authorization: Bearer sk_live_…. Secret (sk_) for writes/sessions; publishable (pk_) for read/embed.
Headers
A retried request with the same key returns the original result without re-generating.
Body
application/json
A "what if…" pitch. Required if no frame is given.
Base64 seed frame (data-URL or raw).
URL of a seed frame.
Queue a durable job and return 202 with a jobId instead of generating inline. Poll GET /v1/jobs/{jobId}.
Create a world