The Alibaba Cloud Visual Intelligence API offers face and body AI services. Most of these APIs can be used independently. However, the Image Face Fusion API requires calls to multiple APIs. This document describes how to call these APIs to perform image face fusion.
Development and integration flow
You can add an image face fusion template. For more information about this API, see Add Image Face Fusion Template.
You can perform image face fusion. For more information about this API, see Image Face Fusion.
Code development
To add an image face fusion template, see Sample code for adding an image face fusion template.
To perform image face fusion, see Sample code for image face fusion.
FAQ
How is this product billed?
For the image face fusion feature, billing applies only to the MergeImageFace API. Calls to other related APIs are free of charge. For more information, see Billing.
How do I increase the QPS?
The default limit is 2 queries per second (QPS). If you purchase a subscription resource plan, the limit increases to 5 QPS after 08:00 on the following day. For more information, see Billing. If you require a higher QPS for your business, contact us.
How do I troubleshoot error code issues?
To troubleshoot error codes, you can use the Troubleshooting Center to efficiently diagnose API usage problems. Alternatively, you can look up the error code in the Common Error Codes for Face and Body.