screenjson serve starts an HTTP server that wraps the same conversion, export, and validation engine as the CLI. Use it from applications, serverless functions, or a frontend that needs to convert a screenplay without shelling out.
Start a server
screenjson serve for the full flag list.
Base URLs
| Environment | URL |
|---|---|
| Local | http://localhost:8080 |
| Public demo | https://api.try.screenjson.com |
Endpoints at a glance
| Method | Path | Purpose |
|---|---|---|
GET | / | Service descriptor, queue metrics, endpoint catalogue. |
GET | /health | Health check with per-service status. |
GET | /formats | List every supported format. |
POST | /convert | Upload a file, receive ScreenJSON. |
POST | /export | POST a ScreenJSON document, receive an exported file. |
POST | /validate | POST a ScreenJSON document, receive a validation report. |
Request limits
/convertand/export: 50 MB request body./validate: 10 MB request body.