roop + codeformer Two pictures with human faces are passed in and are recorded as source_image and target_image respectively. The algorithm copies the face in source_image to target_image to generate a new picture. The anti-parameter is the asynchronous interface response~
Request
Header Params
X-Request-req-accessKeyId
string
optional
X-Request-req-accessKeySecret
string
optional
Body Params application/json
sourceUrl
string
required
The image url address passed by the user to provide facial information
targetUrl
string
required
The image url address passed by the user to accept facial information
businessTaskId
string
required
Task ID
fidelityWeight
string
optional
The value range is [0, 1], used to balance the quality and fidelity of generated images
callbackUrl
string
optional
Some of the interfaces used to return drawing results from the server are asynchronous interfaces. Please check the remarks. Only when the json string code = 200 received in the response will we mark the request as successful, such as {"code":"200"} and the ladder interval to retry 3. , 5, 15, 30, 60, 600, 3600 seconds, retry up to 10 times