Migrations
Migrate from Pedra
Drop-in replacement for Pedra API - just change your API key
Migrate from Pedra
Switching from Pedra to Brightshot? Our universal SDK makes migration seamless - just change your API key and your existing code works.
Installation
npm install real-estate-photo-apiMigration Steps
Step 1: Install the package
npm install real-estate-photo-apiStep 2: Update your imports
Before (Pedra direct fetch):
const response = await fetch('https://app.pedra.ai/api/furnish', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
apiKey: 'your-pedra-key',
imageUrl: 'https://example.com/room.jpg',
roomType: 'bedroom',
style: 'modern',
creativity: 'High'
})
});
const result = await response.json();After (Brightshot SDK):
import { RealEstatePhotoAPI } from 'real-estate-photo-api';
const api = new RealEstatePhotoAPI('your-brightshot-key');
const result = await api.furnish({
imageUrl: 'https://example.com/room.jpg',
roomType: 'bedroom',
style: 'modern',
creativity: 'High'
});Step 3: That's it!
All method names and parameters are identical:
| Method | Compatible |
|---|---|
furnish({ imageUrl, roomType, style }) | ✅ |
empty_room({ imageUrl }) | ✅ |
enhance({ imageUrl }) | ✅ |
renovation({ imageUrl, roomType, style, furnish }) | ✅ |
sky_blue({ imageUrl }) | ✅ |
edit_via_prompt({ imageUrl, prompt }) | ✅ |
remove_object({ imageUrl, maskUrl }) | ✅ |
blur({ imageUrl, objectsToBlur }) | ✅ |
create_video({ images, ... }) | ✅ |
Why Switch to Brightshot?
Faster Processing
Most operations complete in under 15 seconds
Better Quality
State-of-the-art AI models for superior results
Lower Pricing
Competitive rates with volume discounts
Same API
No code changes required
Get Your API Key
Sign Up
Create your Brightshot account and get an API key
Need Help?
Contact us at support@bright-shot.com for migration assistance.