Endpoint
Request Format
This endpoint expects amultipart/form-data POST request with:
| Field | Type | Required | Description |
|---|---|---|---|
image | File | Yes | JPG, PNG, or single-page PDF floor plan |
Headers (Required)
Example Request
Successful Response
If the floor plan is valid and processed successfully, the API returns:Field Definitions
| Field | Description |
|---|---|
uniqueId | Internal processing identifier for the uploaded plan |
galleryUrl | URL to the auto-generated MagicFurnish viewer/gallery |
furnishedImageUrl | Direct link to the furnished layout image |
Validation Rules
The Upload endpoint performs automatic validation before processing. Floor plans must:- Be JPG, PNG, or single-page PDF
- Be under 10 MB
- Contain at least one visible dimension
- Use consistent scale (if multiple scales appear, request is rejected)
- Not contain visible furniture (to avoid misinterpretation)
Possible Error Responses
| Status | Message | Meaning |
|---|---|---|
| 400 | Invalid file type | Must upload JPG, PNG, or single-page PDF |
| 400 | Multiple pages detected | PDF contains more than one page |
| 400 | Dimensions not visible | At least one dimension must be readable |
| 400 | Mixed scale detected | Conflicting scales found |
| 400 | Furniture detected | Remove furniture and re-upload |
| 400 | Plan size unsupported | File exceeds size constraints |
| 422 | File unreadable | Low resolution or corrupted upload |
| 408 | AI service request timeout | Processing exceeded time limit |
| 500 | AI service error | Temporary internal model issue |
Processing Time
Typical processing times:- Upload: ~10 seconds
- Auto-Furnish: ~30–60 seconds
- Gallery Ready: instantly upon completion
Next Steps
The returnedgalleryUrl can be:
- Embedded in your app
- Opened in a webview
- Linked as part of a workflow (S.MPLE, internal dashboards, etc.)