Generation
Sketch to image
Convert architectural sketches or hand-drawn floor plans into photorealistic room visualizations.
AuthorizationBearer <token>
API key in format: bs_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In: header
image_urlstring
URL of the sketch image
Format
uristyle?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" \ -H "Content-Type: application/json" \ -d '{ "image_url": "https://example.com/sketch.jpg", "style": "modern", "room_type": "living-room" }'{
"requestId": "pred_abc123xyz",
"status": "starting",
"remainingGenerations": 149
}{
"error": "image_url is required"
}{
"error": "Invalid API key"
}{
"error": "Not enough generations"
}