1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 const axios = require('axios'); const api_key = "YOUR API KEY"; const url = "https://api.segmind.com/workflows/670f8dbe8052a1ec95d98011-v1"; const data = { furniture_image: "publicly accessible image link", prompt_image: "the user input string", prompt_video: "the user input string" }; axios.post(url, data, { headers: { 'x-api-key': api_key, 'Content-Type': 'application/json' } }).then((response) => { console.log(response.data); });
Response
application/json
1 2 3 4 5 { "poll_url": "<base_url>/requests/<some_request_id>", "request_id": "some_request_id", "status": "QUEUED" }

You can poll the above link to get the status and output of your request.

Response
application/json
1 2 3 { "video_output": "any user input string" }

Attributes


furniture_imageimage*

prompt_imagestr*

prompt_videostr*

To keep track of your credit usage, you can inspect the response headers of each API call. The x-remaining-credits property will indicate the number of remaining credits in your account. Ensure you monitor this value to avoid any disruptions in your API usage.

AI Virtual Staging Video Generator

The AI Virtual Staging Video Generator is an advanced tool designed to transform furniture product images into immersive virtual staging videos. This innovative workflow enables seamless integration of furniture into a variety of scenes, enhancing visualization and marketing efforts.

How the Workflow Works

The workflow utilizes several interconnected nodes to create a vivid virtual staging video:

  • Image Input Node: The process begins by uploading an image of the furniture piece. This image serves as the primary input for the staging process.

  • Product Photography Node: This node processes the input image and prepares it for virtual staging. It interprets the image based on the scene prompt provided.

  • Text Node: Users input a detailed scene description where the furniture will be staged, such as "patio sofa bench in back yard."

  • GPT-4o Node: This node processes both the furniture image and the scene description. It applies AI algorithms to align the product with the given environment, simulating realistic staging.

  • Luma Image-to-Video Node: The AI-generated image and the scene description are transformed into a high-quality video, showcasing the furniture in the specified context.

  • Output Node: The final video is produced, presenting a visually compelling portrayal of the furniture in the selected setting.

How to Use the Workflow

  1. Input Your Furniture Photo: Upload the image of the furniture you wish to stage.

  2. Enter the Scene Description: Specify the environment, such as "patio sofa bench in back yard," to guide the staging process.

  3. Generate the Video: The workflow automatically creates a video depicting the furniture placed in the chosen scene, offering a realistic and attractive preview.

Use Cases

  • Real Estate Marketing: Enhance property listings with virtually staged interiors or exteriors, aiding potential buyers in visualizing spaces.

  • Furniture Retailers: Showcase products in diverse settings, allowing customers to see how items fit into various environments.

  • Interior Design: Experiment with different staging scenarios to present design concepts to clients effectively.

  • E-commerce Platforms: Improve online product presentations with dynamic videos, increasing engagement and conversion rates.