`TypeError: replicate_1.default is not a constructor` in plain ES modules is an import-style problem, not a broken package. The default import does not resolve to the constructor outside TypeScript. Replace `import Replicate from 'replicate'` with `import * as Replicate from 'replicate'` and construct with `new Replicate(...)`.

_Source: gh:replicate/replicate-javascript#161 (Replicate)_