Skip to content

API Overview

Placeholder — API reference content coming soon.

Graylight uses session cookies set by graylight-newapi. All API calls should use credentials: 'include'.

// All fetch calls include the session cookie automatically (same-origin)
fetch('/api/user/self', { credentials: 'include' });
PathMethodDescription
/api/user/selfGETGet current user info
/pg/video/generationsPOSTSubmit a video generation task
/pg/images/generationsPOSTSubmit an image generation task
/pg/upload/*POSTUpload assets
/pg/person-assets/*GET/POSTPerson asset management

Placeholder — response shape documentation coming soon.