← Back to PixelAPI · All docs · Blog
A production-ready suite of APIs for Virtual Staging, Property Photo Cleanup, and 2D Floorplan-to-3D GLB extrusion. Optimized with CPU model offloading to deliver instant results at exactly 2x cheaper than market rates.
In accordance with our pricing policy, all endpoints are exactly 2x cheaper than the cheapest mainstream competitor. Below is the credit cost structure (1 credit = $0.001 USD):
| Endpoint Feature | Cheapest Competitor Price | PixelAPI Price | Credit Cost | Cloud / Host Margins |
|---|---|---|---|---|
| Virtual Staging | Spacely AI: $0.013 / image | $0.0065 / image (approx ₹0.55) | 6.5 credits |
SDXL + CPU Offload (<0.01GB GPU memory per run) |
| Photo Cleanup (Declutter/Sky) | Picsart: $0.0096 / image | $0.0048 / image (approx ₹0.41) | 5.0 credits |
LaMa Inpainting / BiRefNet (<0.20GB GPU memory per run) |
| Floorplan to 3D | Automated 3D Tools: $1.00 / file | $0.50 / file (approx ₹42.50) | 500.0 credits |
Procedural extrusion on CPU (0.00GB GPU memory) |
/v1/real-estate/stageAccepts a room photo and overlays high-fidelity furniture matching modern Indian and Vastu arrangements.
| Field | Type | Required | Description |
|---|---|---|---|
room_image | file | yes | Binary room photo (JPG/PNG, max 20MB). |
room_type | string | no | One of: living_room, bedroom, kitchen, bathroom, office, dining_room (default: living_room). |
design_style | string | no | One of: modern_indian, vastu_compliant, minimalist, scandinavian, industrial, bohemian, traditional_indian, contemporary (default: modern_indian). |
color_scheme | string | no | Optional color preferences (e.g. warm neutrals, gold accents). |
curl -X POST https://api.pixelapi.dev/v1/real-estate/stage \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "room_image=@empty_hall.jpg" \
-F "room_type=living_room" \
-F "design_style=vastu_compliant" \
-F "color_scheme=beige and wood"
{
"generation_id": "764b19c9-58d3-4889-aa8b-f45a278912d0",
"status": "queued",
"credits_used": 6.5,
"estimated_seconds": 30,
"room_type": "living_room",
"design_style": "vastu_compliant"
}
/v1/real-estate/cleanupPerforms decluttering, sky replacement, day-to-dusk lighting transitions, or perspective straightening.
| Field | Type | Required | Description |
|---|---|---|---|
image | file | yes | Binary source property photo (JPG/PNG, max 20MB). |
cleanup_type | string | yes | One of: declutter, sky_replace, day_to_dusk, perspective_correct. |
mask | file | no | Binary black-and-white mask for object removal (required only for custom declutter, else auto-detects clutter). |
curl -X POST https://api.pixelapi.dev/v1/real-estate/cleanup \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "image=@sunset_facade.jpg" \
-F "cleanup_type=day_to_dusk"
{
"generation_id": "92f75a7c-3b98-4c9c-b19e-e8c187bf5e0c",
"status": "queued",
"credits_used": 5.0,
"cleanup_type": "day_to_dusk",
"estimated_seconds": 15
}
/v1/real-estate/floorplan-renderExtrudes a standard 2D floorplan drawing into an interactive 3D GLB space with styled furniture.
| Field | Type | Required | Description |
|---|---|---|---|
image | file | yes | Binary floorplan layout drawing (JPG/PNG, max 20MB). |
interiors | boolean | no | If true, procedurally places styled furniture matching room classification (default: true). |
curl -X POST https://api.pixelapi.dev/v1/real-estate/floorplan-render \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "[email protected]" \
-F "interiors=true"
{
"generation_id": "bf8c992f-7634-45aa-bb8e-a9d0f7a69c0d",
"status": "queued",
"credits_used": 500.0,
"estimated_seconds": 15
}
/v1/real-estate/whatsapp-deliverSimulates the WhatsApp Business API webhook delivery, forwarding a completed generation directly to the registered developer Telegram bot `@lensorabot_bot` for instant mobile review.
| Field | Type | Required | Description |
|---|---|---|---|
generation_id | string | yes | The completed generation UUID (must have status completed). |
phone_number | string | yes | Target phone number (e.g. +919988776655). |
curl -X POST https://api.pixelapi.dev/v1/real-estate/whatsapp-deliver \
-H "Authorization: Bearer YOUR_API_KEY" \
-d "generation_id=764b19c9-58d3-4889-aa8b-f45a278912d0" \
-d "phone_number=+919876543210"
{
"status": "success",
"message": "Simulated WhatsApp delivery successfully sent to developer bot",
"payload": {
"recipient": "+919876543210",
"generation_id": "764b19c9-58d3-4889-aa8b-f45a278912d0",
"output_url": "https://api.pixelapi.dev/dl/764b19c9_staged.png",
"timestamp": 1780801544
}
}
To fetch the status and output of any running job, send a GET request to the general status endpoint. When complete, the result is served as a JPEG/PNG URL or a 3D GLB model download URL.
curl https://api.pixelapi.dev/v1/image/764b19c9-58d3-4889-aa8b-f45a278912d0 \
-H "Authorization: Bearer YOUR_API_KEY"
{
"generation_id": "764b19c9-58d3-4889-aa8b-f45a278912d0",
"status": "completed",
"output_url": "https://api.pixelapi.dev/dl/764b19c9_staged.png",
"credits_used": 6.5,
"elapsed_seconds": 28.65
}
Last reviewed: 2026-06-07. API version 1.1. Auto-healing concurrency locks active.