BrightShotBrightShot API
Image Generation

Change window view

Replace the view through windows in a room image.

POST
/api/v1/window-view
AuthorizationBearer <token>

API key in format: bs_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

In: header

image_urlstring
Formaturi
view_typestring

Type of view to add

Value in"mountain" | "beach" | "city" | "forest" | "garden"

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://api.bright-shot.com/api/v1/window-view" \  -H "Content-Type: application/json" \  -d '{    "image_url": "https://example.com/room.jpg",    "view_type": "beach"  }'
{
  "success": true,
  "request_id": "pred_abc123xyz",
  "message": "Generation started. Poll /api/v1/prediction/pred_abc123xyz for results."
}
{
  "error": "image_url is required"
}
{
  "error": "Invalid API key"
}
{
  "error": "Insufficient credits",
  "credits_remaining": 0
}