{
"avatar_key": "C5B5FE8DBF3679D9049342C130341BD9",
"camera_artwork_advanced": {
"first_diffusion_steps": 50,
"first_denoising_strength": 0.45,
"second_diffusion_steps": 20,
"second_denoising_strength": 0.3,
"crop_face_preprocess": true,
"before_face_fusion_ratio": 0.5,
"after_face_fusion_ratio": 0.5,
"apply_face_fusion_before": true,
"apply_face_fusion_after": true,
"color_shift_middle": true,
"color_shift_last": true,
"super_resolution": true,
"background_restore": true
},
"template_create_param": {
"template_key": "C5B5FE8DBF3679D9049342C130341BD9",
"template_url": "www.bertha-gottlieb.io",
"count": 2
}
}
curl --location --request POST 'https://gate.wujieai.net/wj-open/v1/avatar/camera/create' \
--header 'Content-Type: application/json' \
--data-raw '{
"avatar_key": "C5B5FE8DBF3679D9049342C130341BD9",
"camera_artwork_advanced": {
"first_diffusion_steps": 50,
"first_denoising_strength": 0.45,
"second_diffusion_steps": 20,
"second_denoising_strength": 0.3,
"crop_face_preprocess": true,
"before_face_fusion_ratio": 0.5,
"after_face_fusion_ratio": 0.5,
"apply_face_fusion_before": true,
"apply_face_fusion_after": true,
"color_shift_middle": true,
"color_shift_last": true,
"super_resolution": true,
"background_restore": true
},
"template_create_param": {
"template_key": "C5B5FE8DBF3679D9049342C130341BD9",
"template_url": "www.bertha-gottlieb.io",
"count": 2
}
}'
{
"code": "200",
"message": "success",
"data": {
"keys": [
"3E46BF62A51256A96EEFB73079BD55E2",
"66FB4071D5647F5F8CD702AC1910AA5D"
],
"expected_duration_cost": 20,
"expected_point_cost": 20
}
}