BrightShotBrightShot API
Image Generation

Generate from prompt

Generate a room image from a text description (no reference image needed).

POST
/api/v1/freestyle
AuthorizationBearer <token>

API key in format: bs_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

In: header

promptstring

Text description of the room to generate

style?string

Interior style

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/freestyle" \  -H "Content-Type: application/json" \  -d '{    "prompt": "A modern living room with a large sectional sofa, floor-to-ceiling windows, and minimalist decor",    "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
}