You can integrate Rytr into your system. Here's everything you need to get going:
Click here for documentation.