Room AI

Fluw AI

2 tokensExplore

Generate lifelike photos from prompts

Overview

Fluw AI is a text-to-image generator that creates photorealistic interior and architectural photos from text descriptions alone — no input image required. Describe your dream space in words and the AI generates it. Choose from multiple aspect ratios for different use cases. Great for mood boards, concept development, and inspiration.

Text-only (no image required)

Endpoint

POST /api/v1/generate
bash
curl -X POST https://roomai.com/api/v1/generate \
  -H "Authorization: Bearer rai_live_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"model": "fluw", ...}'

Parameters

ParameterTypeDescription
modelstring

Must be "fluw".

fluw
promptstring

Describe the image to generate (e.g. "a luxury penthouse living room overlooking a city skyline at sunset, modern minimalist design with floor-to-ceiling windows").

aspect_ratiostring

Aspect ratio of the output image.

Default: "16:9"

16:93:24:31:13:42:3
enhance_promptstring

Set to "true" to let the AI enhance your prompt for more detail.

Default: "false"

truefalse
formatstring

Output format.

Default: "png"

png

Request Example

json
{
  "model": "fluw",
  "prompt": "a luxury penthouse living room with floor-to-ceiling windows overlooking a city skyline at sunset, modern minimalist design, warm ambient lighting",
  "aspect_ratio": "16:9",
  "enhance_prompt": "true"
}

Response

Success (200)

json
{
  "status": "success",
  "result": {
    "image_url": "https://storage.googleapis.com/...",
    "model": "fluw",
    "tokens_used": 2,
    "processing_time_ms": 4500
  }
}

Error

json
{
  "status": "error",
  "error": {
    "code": "INSUFFICIENT_TOKENS",
    "message": "Not enough tokens",
    "required": 2,
    "balance": 0
  }
}

Code Examples

cURL

bash
curl -X POST https://roomai.com/api/v1/generate \
  -H "Authorization: Bearer rai_live_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "fluw",
  "prompt": "a luxury penthouse living room with floor-to-ceiling windows overlooking a city skyline at sunset, modern minimalist design, warm ambient lighting",
  "aspect_ratio": "16:9",
  "enhance_prompt": "true"
}'

JavaScript / Node.js

javascript
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": "fluw",
  "prompt": "a luxury penthouse living room with floor-to-ceiling windows overlooking a city skyline at sunset, modern minimalist design, warm ambient lighting",
  "aspect_ratio": "16:9",
  "enhance_prompt": "true"
}),
});

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

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": "fluw",
  "prompt": "a luxury penthouse living room with floor-to-ceiling windows overlooking a city skyline at sunset, modern minimalist design, warm ambient lighting",
  "aspect_ratio": "16:9",
  "enhance_prompt": "true"
},
)

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

  • 1No input image needed — this is a text-to-image model. Describe your scene in detail.
  • 2Costs 2 tokens per generation.
  • 3The more descriptive your prompt, the better the result. Include lighting, materials, colors, and atmosphere.
  • 4Use "16:9" for landscape/desktop wallpapers, "9:16" for phone wallpapers, "1:1" for social media.
  • 5Enable "enhance_prompt" to let the AI add photorealistic detail to your description.