Room Design

Design with Text Prompts

Describe your ideal room design in plain English

Use natural language to describe exactly how you want your room to look. Instead of selecting from preset styles, write a detailed description like "cozy living room with a blue velvet sofa, brass accents, and warm wood floors." The AI interprets your vision and generates matching designs.

API Details

Endpoint/generate_designs_for_room
Method
POST
Response Time10-20 seconds

When to Use This API

  • You have a specific vision that doesn't match preset styles
  • You want to specify particular furniture pieces or colors
  • Creating unique, custom designs for clients
  • Exploring creative combinations of styles

Key Features

  • Natural language understanding
  • Combine multiple styles and elements
  • Specify exact furniture, colors, and materials
  • Works with any room photo
  • Unlimited creative possibilities

Use Cases

How businesses use this capability

Custom Design Requests

When clients have specific requirements that don't fit standard style categories.

Brand-Specific Styling

Match room designs to specific furniture brands or product lines.

Trend Exploration

Experiment with emerging design trends by describing them.

Chatbot Integration

Let users describe their dream room in conversation.

Code Examples

Ready-to-use code snippets

import requests

response = requests.post(
    "https://api.decor8.ai/generate_designs_for_room",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
        "input_image_url": "https://example.com/my-room.jpg",
        "room_type": "livingroom",
        "user_prompt": "Cozy modern living room with a large grey sectional sofa, warm wooden coffee table, soft ambient lighting, indoor plants, and minimalist art on the walls. Use warm neutral colors with pops of terracotta.",
        "num_images": 2
    }
)

result = response.json()
for image in result["info"]["images"]:
    print(image["url"])

Request Parameters

ParameterTypeRequired
input_image_url

URL of the room photo

string
Required
room_type

Type of room

string
Required
user_prompt

Detailed text description of desired design (use instead of design_style)

string
Required
num_images

Number of variations (1-4)

integer
Optional

See full parameter documentation →

Response Fields

FieldType
info.images

Array of generated design images

array
info.images[].url

URL of the designed room image

string

Pro Tips

Get the best results from this API

1

Be specific about furniture types, colors, and materials

2

Mention lighting preferences (warm, cool, ambient, natural)

3

Include texture descriptions (soft, rustic, sleek)

4

Reference style combinations like "modern farmhouse" or "bohemian minimalist"

5

Describe the mood you want (cozy, elegant, energetic, calm)

Frequently Asked Questions

Related Capabilities

Other APIs that work well with Design with Text Prompts

Ready to Get Started?

Integrate Design with Text Prompts into your application today.