trial-key
7‑day trial key flow
How it works
- Trial key validates locally with an offline grace period (no hard phone‑home).
- You can pass the key via env (
PSWP_PRO_KEY
) or at runtime when creating plugins.
Set the key
export PSWP_PRO_KEY=pswp_trial_XXXX
Pass at runtime
import { createAiSeoPlugin } from 'photoswipe-pro/src/pro/ai/plugin.js';
const aiSeo = await createAiSeoPlugin({ baseUrl: '/api/ai' })({ licenseKey: process.env.PSWP_PRO_KEY });
Upgrade
- Replace the trial key with your paid key; no code changes needed.
- Keys are scoped by domain/project as per your license terms.