Generate random API-key style strings locally in your browser using Web Crypto where available.
Result: Choose length and count.
Security note
These are random strings only. A real API-key system also needs secure server-side storage, hashing or encryption as appropriate, access scopes, rotation, revocation and auditing.