Setting configuration dynamically to gunicorn

I am working flask on application where I have requirement to set MaxConcurrentTransforms in WSGI server (gunicorn) and MaxPayloadInMB through POST Api

Is there any way to achieve this.