Stage one photo and poll the result
Use the compatibility endpoint when you need the broadest current production support.
- 1Create a redesign job with source_url, room_type, style, and redesign_type.
- 2Store the returned jobId.
- 3Poll /api/v1/jobs/{jobSource} until status is completed or failed.
curl -X POST "https://sofabrain.com/api/v1/job" \
-H "Content-Type: application/json" \
-H "x-api-key: $SOFABRAIN_API_KEY" \
-d '{
"source_url": "https://example.com/room.jpg",
"room_type": "Living Room",
"style": "minimalist",
"redesign_type": "staging",
"environment": "interior"
}'