BrightShotBrightShot API
Image Generation

Sketch to realistic image

Convert architectural sketches or floor plans into realistic room visualizations.

POST
/api/v1/sketch-to-image
AuthorizationBearer <token>

API key in format: bs_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

In: header

image_urlstring

URL of the sketch image

Formaturi
style?string

Interior style for the generated image

room_type?string

Type of room

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://api.bright-shot.com/api/v1/sketch-to-image" \  -H "Content-Type: application/json" \  -d '{    "image_url": "https://example.com/sketch.jpg",    "style": "modern",    "room_type": "living_room"  }'
{
  "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
}