- Custom API based on Cloudflare Workers Ai for "Immersive Translation"
- Model used:
@cf/meta/m2m100-1.2b
- Add an environment variable during deployment, with the key name
URL_PREFIX
- For example:
URL_PREFIX
=/translate
- In this case, the API URL should be set as https://[Workers Domain]/translate
- For example: