npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

real-estate-photo-api

v1.0.1

Published

Universal real estate photo enhancement SDK - compatible with multiple providers

Readme

Real Estate Photo API

Universal SDK for real estate photo enhancement - compatible with multiple providers. Drop-in replacement for common real estate AI APIs.

Installation

npm install real-estate-photo-api

Quick Start

import { RealEstatePhotoAPI } from 'real-estate-photo-api';

const api = new RealEstatePhotoAPI('your-api-key');

// Enhance a photo
const result = await api.enhance({
  imageUrl: 'https://example.com/room.jpg'
});

// Virtual staging
const staged = await api.furnish({
  imageUrl: 'https://example.com/empty-room.jpg',
  roomType: 'living-room',
  style: 'modern'
});

// Remove furniture
const empty = await api.empty_room({
  imageUrl: 'https://example.com/furnished-room.jpg'
});

Migration Guide

Switching from another real estate photo API? This SDK uses identical method names and parameters as common providers. Migration takes 2 minutes:

Step 1: Install the package

npm install real-estate-photo-api

Step 2: Replace your API calls

Before (direct fetch calls):

const response = await fetch('https://other-api.com/api/furnish', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    apiKey: 'old-api-key',
    imageUrl: 'https://example.com/room.jpg',
    roomType: 'bedroom',
    style: 'modern',
    creativity: 'High'
  })
});
const result = await response.json();

After (this SDK):

import { RealEstatePhotoAPI } from 'real-estate-photo-api';

const api = new RealEstatePhotoAPI('your-new-api-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 compatible:

| Your existing code | Works with this SDK | |-------------------|---------------------| | 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, ... }) | ✅ |

Available Methods

| Method | Description | Response Time | |--------|-------------|---------------| | enhance() | Enhance quality, color, light and resolution | ~10s | | empty_room() | Remove furniture and clutter | ~15s | | furnish() | Add furniture to empty rooms (virtual staging) | ~20s | | renovation() | Renovate and restyle a room | ~20s | | sky_blue() | Make sky blue and vibrant | ~10s | | edit_via_prompt() | Edit using natural language | ~15s | | remove_object() | Remove objects with mask | ~10s | | blur() | Blur objects for privacy | ~10s | | create_video() | Create video from images | 2-5min |

Method Parameters

enhance / empty_room / sky_blue

{
  imageUrl: string;  // Image URL (https) or base64 data URI
}

furnish

{
  imageUrl: string;
  roomType: string;  // 'living-room', 'bedroom', 'kitchen', 'bathroom', 'dining-room', 'office'
  style: string;     // 'modern', 'scandinavian', 'minimalist', 'traditional', 'industrial', 'bohemian', 'mid-century', 'mediterranean'
  creativity?: 'Medium' | 'High';
}

renovation

{
  imageUrl: string;
  roomType: string;
  style: string;
  creativity?: 'Medium' | 'High';
  furnish?: boolean;  // Include furniture in renovation
}

edit_via_prompt

{
  imageUrl: string;
  prompt: string;  // Natural language instruction, e.g., "make the walls white"
}

remove_object

{
  imageUrl: string;
  maskUrl: string;  // Black/white mask image URL
}

blur

{
  imageUrl: string;
  objectsToBlur: string;  // Comma-separated: "faces, license plates, screens"
}

create_video

{
  images: Array<{
    imageUrl: string;
    effect?: 'zoom-in' | 'zoom-out' | 'transition';
    subtitle?: string;
    title?: string;
  }>;
  isVertical?: boolean;  // false = 16:9, true = 9:16
  music?: {
    enabled: boolean;
    track?: 'calm' | 'uplifting' | 'corporate' | 'piano'
  };
  endingTitle?: string;
  endingSubtitle?: string;
}

Why Switch?

  • Faster processing - Most operations complete in under 15 seconds
  • Better quality - State-of-the-art AI models
  • Lower pricing - Competitive rates with volume discounts
  • Same API - No code changes required

Get an API Key

Get your API key at bright-shot.com

Support