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.
How businesses use this capability
When clients have specific requirements that don't fit standard style categories.
Match room designs to specific furniture brands or product lines.
Experiment with emerging design trends by describing them.
Let users describe their dream room in conversation.
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"])| Parameter | Type | Required |
|---|---|---|
input_image_urlURL of the room photo | string | Required |
room_typeType of room | string | Required |
user_promptDetailed text description of desired design (use instead of design_style) | string | Required |
num_imagesNumber of variations (1-4) | integer | Optional |
| Field | Type |
|---|---|
info.imagesArray of generated design images | array |
info.images[].urlURL of the designed room image | string |
Get the best results from this API
Be specific about furniture types, colors, and materials
Mention lighting preferences (warm, cool, ambient, natural)
Include texture descriptions (soft, rustic, sleek)
Reference style combinations like "modern farmhouse" or "bohemian minimalist"
Describe the mood you want (cozy, elegant, energetic, calm)
Other APIs that work well with Design with Text Prompts
Integrate Design with Text Prompts into your application today.