## File Specs & Errors

* AI Body Reshape Specification


**Supported Selfie View**
Full body shot with clear facial expression and body posture visible.

![](https://plugins-media.makeupar.com/strapi/assets/thumbnail_body_reshape_02_7777218379.jpg)

**Visibility & Pose Requirements**

| **Region** | **What must be true in the source image** |
|  --- | --- |
| **Neck** | The neck must be visible in the source image. |
| **Arm** | Both arms – upper arm, forearm and hand – have to be fully shown. |
| **Leg** | The whole leg must appear in the picture. |
| **Hip** | Hips need to be in view. |
| **Hip‑Lift** | Hips need to be in view. |
| **Shoulder** | • Shoulders are required to be seen.<br>• Raising a hand is not allowed.<br>• A 90° side pose is not allowed. |
| **Belly** | The belly is required to be visible. |
| **Waist** | Waist must be visible. |
| **Breast** | • Breast area must appear in the picture.<br>• The shot should include the hips (i.e., not a “half‑body without hips”).<br>• The middle of the breast must be shown. |
| **Slim** | Shoulders need to be in the frame. |
| **Taller** | • Hips must appear.<br>• A half‑body view should include the legs (i.e., legs are visible). |


**Body Reshape Customization Parameters Guide**

| Category | Parameter | Function | Min Value (-100 / 0) | Max Value (100) |
|  --- | --- | --- | --- | --- |
| Arms | Intensity | Adjusts the thickness of the arms | Thin | Thick |
| Belly | Intensity | Adjusts abdominal projection | Flat | Protruding |
| Chest | Intensity (Left / Right) | Adjusts chest volume on each side | Flat | Full |
| Hip Lift | Intensity | Adjusts the curvature and lift of the hips (adds a butt‑lifting effect) | Sculpted (lifted and tightened) | Rounded (lifted with fuller volume) |
| Hip Size | Intensity | Adjusts the overall width of the hips | Narrow | Wide |
| Legs | Intensity | Adjusts the thickness of the legs | Thin | Thick |
| Neck | Intensity (Left / Right) | Adjusts neck contour and slimming per side | Original (0) | Tucked in |
| Shoulder Width | Intensity (Left / Right) | Adjusts the span of each shoulder | Narrow | Broad |
| Shoulder Shape | Intensity (Left / Right) | Adjusts the angle and slope of each shoulder | Sloped | Squared |
| Slim | Intensity | Adjusts overall body curvature | Slim | Curvy |
| Tall | Intensity | Adjusts the overall character height | Original (0) | Taller |
| Waist | Intensity | Adjusts the width of the waistline | Narrow | Wide |


**Note:** *“Left” and “Right” refer to the character's perspective, not the viewer's side of the screen.*

* Supported Formats & Dimensions


| AI Feature | Supported Dimensions | Supported File Size | Supported Formats |
|  --- | --- | --- | --- |
| AI Body Reshape | long side <= 2048, short side >= 320 | < 10MB | jpg/jpeg/png |


* Error Codes


| Error Code | Description |
|  --- | --- |
| RUNTIME_ERROR | An unexpected error occurred dubody reshape runtime |
| PHOTO_DETECTION_FAIL | The user photo could not be processed correctly, for example no hand detected |
| PHOTO_CHECK_INVALID | The pose or size of the user photo is invalid |
| INPUT_ERROR | The input file format is incorrect |
| INPUT_MAIN_IMAGE_EMPTY | A user image is required |


* Environment & Dependency


| Sample Code Language / Tool | Recommended Runtime Versions |
|  --- | --- |
| cURL | - bash >= 3.2</br>- curl >= 7.58 (modern TLS/HTTP support)</br>- jq >= 1.6 (robust JSON parsing) |
| Node.js (JavaScript) | Node >= 18 (for global fetch) |
| JavaScript | - Chrome / Edge >= 80</br>- Firefox >= 74</br>- Safari >= 13.1 |
| PHP | PHP >= 7.4 (for modern TLS/compat), ext-curl (recommended) or allow_url_fopen=On + ext-openssl, ext-json |
| Python | Python >= 3.10 (for f-strings), requests >= 2.20.0 |
| Java | Java 11+ (for HttpClient), Jackson Databind >= 2.12.0 |