diff --git a/app/api/api_design.py b/app/api/api_design.py index c056c39..ec618cc 100644 --- a/app/api/api_design.py +++ b/app/api/api_design.py @@ -24,31 +24,31 @@ def design(request_data: DesignModel): "basic": { "body_point_test": { "waistband_right": [ - 336, - 264 + 203, + 249 ], "hand_point_right": [ - 350, - 303 + 229, + 343 ], "waistband_left": [ - 245, - 274 + 119, + 248 ], "hand_point_left": [ - 219, - 315 + 97, + 343 ], "shoulder_left": [ - 227, - 155 + 108, + 107 ], "shoulder_right": [ - 338, - 149 + 212, + 107 ] }, - "layer_order": false, + "layer_order": true, "scale_bag": 0.7, "scale_earrings": 0.16, "self_template": true, @@ -57,62 +57,48 @@ def design(request_data: DesignModel): }, "items": [ { - "color": "229 214 200", - "icon": "none", - "image_id": 110205, + "businessId": 255303, + "color": "139 148 156", + "image_id": 95159, "offset": [ - 1, - 1 + 0, + 0 ], - "path": "aida-sys-image/images/female/trousers/0916000217.jpg", + "path": "aida-users/89/sketch/c89d75f3-581f-4edd-9f8e-b08e84a2cbe7-3-89.png", "print": { "IfSingle": false, - "print_path_list": [] + "location": [ + [ + 512.0, + 512.0 + ] + ], + "print_angle_list": [ + 0.0 + ], + "print_path_list": [ + "aida-users/89/print/468643b4-bc2d-41b2-9a16-79766606a2db-3-89.png" + ], + "print_scale_list": [ + 1.0 + ] }, + "priority": 10, "resize_scale": [ 1.0, 1.0 ], - "type": "Trousers" + "type": "Dress" }, { - "businessId": 493825, - "color": "209 125 29", - "elementId": 493825, - "icon": "none", - "image_id": 107101, - "offset": [ - 1, - 1 - ], - "path": "aida-users/31/sketchboard/female/Blouse/de8f5656-d7ae-4642-bc90-f7f9d85da09b.jpg", - "print": { - "IfSingle": false, - "print_path_list": [] - }, - "resize_scale": [ - 1.0, - 1.0 - ], - "type": "Blouse" - }, - { - "body_path": "aida-users/31/models/female/845046c7-4f62-4f54-a4a9-c26d49c6969335b5b3a9-d335-4871-a46c-3cc3caf07da259629dfd1f1f555a2e2a9def7e719366.png", - "image_id": 82966, - "offset": [ - 1, - 1 - ], - "resize_scale": [ - 1.0, - 1.0 - ], + "body_path": "aida-sys-image/models/female/2e4815b9-1191-419d-94ed-5771239ca4a5.png", + "image_id": 67277, "type": "Body" } ] } ], - "process_id": "6878547032381675" + "process_id": "89" } """ try: