/api/generateVerified session or API keyGenerate and persist an image from a validated request.
An accurate inventory of the application routes available today, their purpose, and their authentication boundary.
Create a key in Settings, send it as a Bearer token to /api/generate, and keep it server-side. Other routes remain session-authenticated until they receive a versioned public contract.
curl -X POST https://generativeais.ca/api/generate \
-H "Authorization: Bearer $GENERATIVE_AIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"Editorial product photo on warm stone","model":"gemini-flash","resolution":"1K"}'Owner scoped
Private resources are limited to the signed-in account.
Session authenticated
Browser requests send the secure session cookie.
JSON contracts
Success and error responses use explicit JSON status fields.
/api/generateVerified session or API keyGenerate and persist an image from a validated request.
/api/enhance-promptSessionImprove an existing creative prompt before generation.
/api/user/historySessionList the signed-in user’s generation history.
/api/projectsSessionList or create owner-scoped creative projects.
/api/projects/:idSessionUpdate or delete an owned project.
/api/video/estimateSessionEstimate a video plan before starting a render.