Change DNS Manual to DNS API

Is there a way to change my DNS setting from manual to DNS API mode? I tried renewing an SSL using acme.sh but it says that my dns-01 is in manual mode (which should not be run in prooduction) and need to manually add the TXT Value. I would like to make use of auto renew but it seems that my DNS should support API. How can I do this? Can I change my already built DNS to make use of API?

Honestly I have zero idea on what to do here. Please help me