If you use Liveness in any API call, the captured image must be constrained.
Our mobile SDKs already capture the best possible image that will work well with Liveness image requirements.
If you are not using our mobile SDKs, please see the image requirements listed at the following link: https://docs.idrnd.net/idliveface/sdk/image-requirements/