Interior AI
1 tokenInteriorRedesign any room in 40+ styles
Overview
Interior AI transforms room photos into professionally designed spaces. Upload a photo of any room and choose from over 99 design styles — from Modern Minimalist to Art Deco, Scandinavian to Cyberpunk. The AI preserves the room layout while completely reimagining the furniture, colors, textures, and decor. Perfect for interior designers, real estate agents, and homeowners exploring renovation ideas.
Endpoint
POST /api/v1/generatecurl -X POST https://roomai.com/api/v1/generate \
-H "Authorization: Bearer rai_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{"model": "interior", ...}'Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | Required | Must be "interior". interior |
image | string | Required | URL of the room photo to redesign. |
knows | string | Optional | Room type — helps the AI understand the space and generate appropriate furniture. Living RoomKitchenBedroomBathroomDining RoomHome Office |
fill_room | string | Optional | Set to "true" to fill an empty room with furniture. Use this for virtual staging of vacant spaces. Default: truefalse |
styles | string | Optional | Design style to apply. Over 99 styles available including modern, minimalist, industrial, and more. ModernMinimalistScandinavianIndustrialMid-Century ModernBohemian |
prompt | string | Optional | Custom text instructions describing the desired output. |
precise | string | Optional | AI strength from "0" to "100". Lower values give the AI more creative freedom. Higher values preserve more of the original structure. Default: |
style_transfer | string | Optional | URL of a reference image whose style should be matched in the output. |
enhance_prompt | string | Optional | Set to "true" to let the AI enhance and expand your prompt for better results. Default: truefalse |
luwmodel | string | Optional | AI model variant to use. Default: symphony-3aria |
format | string | Optional | Output image format. Default: png |
seed | number | Optional | Random seed for reproducible results. Using the same seed with the same parameters produces identical output. |
Request Example
{
"model": "interior",
"image": "https://example.com/living-room.jpg",
"styles": "modern",
"knows": "living room",
"prompt": "bright and airy with neutral tones",
"precise": "60"
}Response
Success (200)
{
"status": "success",
"result": {
"image_url": "https://storage.googleapis.com/...",
"model": "interior",
"tokens_used": 1,
"processing_time_ms": 4500
}
}Error
{
"status": "error",
"error": {
"code": "INSUFFICIENT_TOKENS",
"message": "Not enough tokens",
"required": 1,
"balance": 0
}
}Code Examples
cURL
curl -X POST https://roomai.com/api/v1/generate \
-H "Authorization: Bearer rai_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"model": "interior",
"image": "https://example.com/living-room.jpg",
"styles": "modern",
"knows": "living room",
"prompt": "bright and airy with neutral tones",
"precise": "60"
}'JavaScript / Node.js
const response = await fetch("https://roomai.com/api/v1/generate", {
method: "POST",
headers: {
"Authorization": "Bearer rai_live_your_api_key",
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "interior",
"image": "https://example.com/living-room.jpg",
"styles": "modern",
"knows": "living room",
"prompt": "bright and airy with neutral tones",
"precise": "60"
}),
});
const data = await response.json();
if (data.status === "success") {
console.log("Image URL:", data.result.image_url);
console.log("Tokens used:", data.result.tokens_used);
} else {
console.error("Error:", data.error.message);
}Python
import requests
response = requests.post(
"https://roomai.com/api/v1/generate",
headers={
"Authorization": "Bearer rai_live_your_api_key",
"Content-Type": "application/json",
},
json={
"model": "interior",
"image": "https://example.com/living-room.jpg",
"styles": "modern",
"knows": "living room",
"prompt": "bright and airy with neutral tones",
"precise": "60"
},
)
data = response.json()
if data["status"] == "success":
print("Image URL:", data["result"]["image_url"])
print("Tokens used:", data["result"]["tokens_used"])
else:
print("Error:", data["error"]["message"])Tips
- 1Use the "knows" parameter to help the AI understand what type of room it is — this significantly improves furniture selection.
- 2Set "precise" to a higher value (70-90) to preserve the original room layout more closely.
- 3Combine "styles" with a custom "prompt" for more specific results, e.g. styles: "modern" + prompt: "with warm wood accents and green plants".
- 4Use "style_transfer" with a reference image URL to match a specific design from a magazine or inspiration photo.
- 5Set "fill_room" to "true" when redesigning an empty or unfurnished room.