The API use same "langdetect" Python library but without including unused big translation models of LibreTranslate. Alternative faster "fast_langdetect" library can also be used by setting environment variable at startup.
#NostrFilterRelay admins/operators can also use this as their LibreTranslate alternative instance.