Luw.ai
v0.3.22AI interior, exterior and landscape design, photoreal rendering, image editing, video and 3D.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
luw_interior_design Interior design (Interior AI)
Luw.ai Interior AI: redesign an interior photo — home, office, shop, hotel — in any style while keeping the room's architecture. Restyles furniture, materials, colors and lighting. Set empty_room=true to furnish an empty room or turn it into another room type (virtual staging). Costs 1 credit per variation (2 at 4k).
| Parameter | Type | Description |
|---|---|---|
image * | string | Photo of the room (public https:// link or data: URI; the local npx server also accepts a file path). |
empty_room | boolean | Furnish from scratch / convert the room to room_type (Fill Empty Room mode). |
engine | string | Luw.ai model: symphony (Symphony-3, the default: the higher quality) or aria (quicker, for everyday work). If the user picked a model earlier in this conversation, use that one. |
enhance_prompt | boolean | Let Luw.ai write the design brief when prompt is empty and there is no style_reference. A written prompt is used as written. |
format | string | Output image format. |
persona_id | integer | Persona whose saved images to use. Its saved styles and room or building type apply unless you send styles or a type. |
precision | integer | How much to change: 80+ subtly, 50-79 moderately (default 50), under 50 dramatically. Applies when prompt is empty, with style_reference, or when furnishing an empty room. |
prompt | string | What you want, in plain language. |
reference_images | array | Up to 6 reference images (furniture, materials, products, mood boards) to draw from. |
resolution | string | Output resolution: 2k (default; free accounts get about 1k) or 4k (2 credits). |
room_type | string | Room type, e.g. "Living Room", "Kitchen", "Bedroom", "Home Office" (see luw_list_options kind="interior_types"). |
style_reference | string | Style-transfer source: an image whose look to copy (public https:// link or data: URI; the local npx server also accepts a file path), or "persona" to use slot 1 of persona_id. |
styles | array | Design style names, e.g. ["Scandinavian"]; for Japandi use ["Japanese Design", "Scandinavian"]. Case-sensitive; see luw_list_options. |
variations | integer | Number of alternative designs (1-4, default 1); each is billed as a generation. |
luw_exterior_design Exterior design (Exterior AI)
Luw.ai Exterior AI: redesign a building exterior or facade photo — houses, villas, apartments, commercial buildings — in a new architectural style, with new materials, colors and landscaping, keeping the structure. Costs 1 credit per variation (2 at 4k).
| Parameter | Type | Description |
|---|---|---|
image * | string | Photo of the building (public https:// link or data: URI; the local npx server also accepts a file path). |
building_type | string | Building/space type, e.g. "Modern House Exterior", "Luxury Villa Exterior", "Outdoor Patio" (see luw_list_options kind="exterior_types"). |
engine | string | Luw.ai model: symphony (Symphony-3, the default: the higher quality) or aria (quicker, for everyday work). If the user picked a model earlier in this conversation, use that one. |
enhance_prompt | boolean | Let Luw.ai write the design brief when prompt is empty and there is no style_reference. A written prompt is used as written. |
format | string | Output image format. |
persona_id | integer | Persona whose saved images to use. Its saved styles and room or building type apply unless you send styles or a type. |
precision | integer | How much to change: 80+ subtly, 50-79 moderately (default 50), under 50 dramatically. Applies when prompt is empty, with style_reference, or when furnishing an empty room. |
prompt | string | What you want, in plain language. |
reference_images | array | Up to 6 reference images (furniture, materials, products, mood boards) to draw from. |
resolution | string | Output resolution: 2k (default; free accounts get about 1k) or 4k (2 credits). |
style_reference | string | Style-transfer source: an image whose look to copy (public https:// link or data: URI; the local npx server also accepts a file path), or "persona" to use slot 1 of persona_id. |
styles | array | Design style names, e.g. ["Scandinavian"]; for Japandi use ["Japanese Design", "Scandinavian"]. Case-sensitive; see luw_list_options. |
variations | integer | Number of alternative designs (1-4, default 1); each is billed as a generation. |
luw_sketch_to_render Sketch to render (Sketch AI)
Luw.ai Sketch AI: turn a hand sketch, line drawing, floor-plan perspective or rough draft into a photorealistic render. Costs 1 credit per variation.
| Parameter | Type | Description |
|---|---|---|
image * | string | The sketch or drawing (public https:// link or data: URI; the local npx server also accepts a file path). |
engine | string | Luw.ai model: symphony (Symphony-3, the default: the higher quality) or aria (quicker, for everyday work). If the user picked a model earlier in this conversation, use that one. |
enhance_prompt | boolean | Let Luw.ai's prompt enhancer expand a short prompt. |
format | string | Output image format. |
persona_id | integer | Persona whose saved images to use. Its saved styles and room or building type apply unless you send styles or a type. |
precision | integer | How freely the prompt enhancer writes: 90 = precise, 75 = balanced, 40 = creative. Only used with enhance_prompt. |
prompt | string | What you want, in plain language. |
space_type | string | What the sketch shows, e.g. "Living Room" or "Modern House Exterior". |
style_reference | string | Style-transfer source: an image whose look to copy (public https:// link or data: URI; the local npx server also accepts a file path), or "persona" to use slot 1 of persona_id. |
styles | array | Design style names, e.g. ["Scandinavian"]; for Japandi use ["Japanese Design", "Scandinavian"]. Case-sensitive; see luw_list_options. |
variations | integer | Number of alternative designs (1-4, default 1); each is billed as a generation. |
luw_render Photorealistic render (Render AI)
Luw.ai Render AI: turn a 3D model view, CAD/BIM screenshot, clay render or basic visualization into a photorealistic architectural render. Costs 1 credit per variation (2 at 4k).
| Parameter | Type | Description |
|---|---|---|
image * | string | The 3D view or base render (public https:// link or data: URI; the local npx server also accepts a file path). |
format | string | Output image format. |
precision | integer | How strictly to keep the input's structure: 90 = precise, 75 = balanced, 40 = creative. |
prompt | string | What you want, in plain language. |
reference_images | array | Up to 6 reference images (furniture, materials, products, mood boards) to draw from. |
resolution | string | Output resolution: 2k (default; free accounts get about 1k) or 4k (2 credits). |
variations | integer | Number of alternative designs (1-4, default 1); each is billed as a generation. |
luw_edit_image Edit image with a prompt (Magic Prompt AI)
Luw.ai Magic Prompt AI: edit any image with a plain-language instruction: "make the sofa green velvet", "add a pendant lamp over the table", "turn it into a night scene". Pass products, materials or a mood board as reference_images to place or apply them. For edits restricted to an exact area, use luw_magic_wand. Costs 1 credit per variation (2 at 4k).
| Parameter | Type | Description |
|---|---|---|
image * | string | Image to edit (public https:// link or data: URI; the local npx server also accepts a file path). |
prompt * | string | The edit to make. |
engine | string | Luw.ai model: symphony (Symphony-3, the default: the higher quality) or aria (quicker, for everyday work). If the user picked a model earlier in this conversation, use that one. |
enhance_prompt | boolean | Let Luw.ai's prompt enhancer expand a short prompt. |
format | string | Output image format. |
reference_images | array | Up to 6 reference images (furniture, materials, products, mood boards) to draw from. |
resolution | string | Output resolution: 2k (default; free accounts get about 1k) or 4k (2 credits). |
variations | integer | Number of alternative designs (1-4, default 1); each is billed as a generation. |
luw_magic_wand Masked edit: replace, remove, change material (Magic Wand AI)
Luw.ai Magic Wand AI: change only a masked area of an image. Give a prompt to add/replace what's there, remove=true to erase it, or material_image to re-surface it (e.g. new flooring or wall tiles). The mask is a black-and-white image the same size as the input; white marks the area to change. Get masks from luw_segment. Costs 1 credit.
| Parameter | Type | Description |
|---|---|---|
image * | string | Image to edit (public https:// link or data: URI; the local npx server also accepts a file path). |
mask_image * | string | Black/white mask, white = area to change (public https:// link or data: URI; the local npx server also accepts a file path). |
engine | string | Luw.ai model: symphony (Symphony-3, the default: the higher quality) or aria (quicker, for everyday work). If the user picked a model earlier in this conversation, use that one. |
enhance_prompt | boolean | Let Luw.ai's prompt enhancer expand a short prompt. |
keep_structure | boolean | Preserve the masked area's geometry/lines while changing its look (structure-guided fill). |
material_image | string | Material/texture to apply to the masked area (public https:// link or data: URI; the local npx server also accepts a file path); luw_list_options kind="materials" has a ready-made catalog. |
prompt | string | What to put in the masked area. |
remove | boolean | Remove whatever is in the masked area. |
luw_landscape_design Landscape & garden design (Landscape AI)
Luw.ai Landscape AI: design a garden, yard or outdoor area inside a masked region of a photo, with plants chosen for the location's climate and sun exposure. Costs 1 credit.
| Parameter | Type | Description |
|---|---|---|
image * | string | Photo of the outdoor area (public https:// link or data: URI; the local npx server also accepts a file path). |
mask_image * | string | Black/white mask, white = area to landscape (public https:// link or data: URI; the local npx server also accepts a file path). |
city | string | Location, for climate-appropriate planting, e.g. "Antalya". |
enhance_prompt | boolean | Let Luw.ai's prompt enhancer expand a short prompt. |
prompt | string | What you want, in plain language. |
sun_exposure | string | e.g. "Full sun (6+ hours)", "Partial sun (4 - 6 hours)", "Shade (less than 4 hours)". |
luw_upscale_image Upscale an image
Luw.ai Photo Enhance AI: enhance the quality of an image and enlarge it 2x, 3x or 4x (8x is sent as 4x). Costs 1 credit.
| Parameter | Type | Description |
|---|---|---|
image * | string | Image to upscale (public https:// link or data: URI; the local npx server also accepts a file path). |
precision | integer | How strictly to keep the input's structure: 90 = precise, 75 = balanced, 40 = creative. |
scale | 2, 3 or 4 (default 2). 8 is accepted and gives 4x, the largest size. |
luw_expand_image Expand a cropped photo
Luw.ai Expand AI: outpaint a tightly cropped architectural or interior photo to a wider view. Costs 1 credit.
| Parameter | Type | Description |
|---|---|---|
image * | string | Photo to expand (public https:// link or data: URI; the local npx server also accepts a file path). |
format | string | Output image format. |
precision | integer | How far to extend each side, as a share of the photo's size: 90+ about 10%, 61-89 about 17%, 60 or less about 25% (default). |
luw_remove_furniture Empty a room
Luw.ai Remove Furniture AI: remove the furniture from a room photo, keeping walls, floor and windows. Costs 1 credit.
| Parameter | Type | Description |
|---|---|---|
image * | string | Photo of the furnished room (public https:// link or data: URI; the local npx server also accepts a file path). |
format | string | Output image format. |
precision | integer | How strictly to keep the input's structure: 90 = precise, 75 = balanced, 40 = creative. |
luw_vectorize_image Convert an image to SVG
Luw.ai Vector AI: convert a photo or drawing into a clean SVG vector. Costs 1 credit (aria, the default) or 2 (symphony, which keeps finer lines and small details).
| Parameter | Type | Description |
|---|---|---|
image * | string | Photo or drawing to vectorize (public https:// link or data: URI; the local npx server also accepts a file path). |
engine | string | Luw.ai model: aria (the default, 1 credit) or symphony (2 credits; a larger line drawing and a finer vectorizer, for facades and other detailed subjects). Use symphony when the user chose it in this c… |
luw_background Remove or replace background
Luw.ai Change Background: cut out a product/object from its background (transparent PNG) — or, with a prompt, place it in a new generated scene for marketing shots ("on a marble kitchen counter, morning light"). Omit prompt to just remove the background. Costs 1 credit.
| Parameter | Type | Description |
|---|---|---|
image * | string | Product or object photo (public https:// link or data: URI; the local npx server also accepts a file path). |
engine | string | Luw.ai model: symphony (Symphony-3, the default: the higher quality) or aria (quicker, for everyday work). If the user picked a model earlier in this conversation, use that one. |
enhance_prompt | boolean | Let Luw.ai's prompt enhancer expand a short prompt. |
prompt | string | New background to generate. Leave empty to remove the background. |
luw_segment Segment objects into masks (Segment AI)
Luw.ai Segment AI: detect objects in a photo and return black-and-white masks as image URLs — every object (wall, floor, sofa, …) or only what you describe in prompt. Feed a mask URL into luw_magic_wand or luw_landscape_design to edit exactly that area. Costs 1 credit.
| Parameter | Type | Description |
|---|---|---|
image * | string | Photo to segment (public https:// link or data: URI; the local npx server also accepts a file path). |
labels | array | Keep only masks whose label contains one of these words (e.g. ["floor", "wall"]). |
prompt | string | What to segment, e.g. "walls", "the sofa", "lawn". Omit to segment everything. |
luw_generate_image Text to image (Fluw AI)
Luw.ai Fluw AI: generate a photorealistic image or illustration from a text prompt (optionally guided by an input image) — concept art, interiors, products, marketing visuals. Set format="svg" for a vector illustration (Fluw Vector AI). Costs 2 credits per image.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | What to generate. |
aspect_ratio | string | Picture shape; 3:2 and 2:3 come out as 4:3 and 3:4. |
enhance_prompt | boolean | Let Luw.ai's prompt enhancer expand a short prompt. |
format | string | Output format; svg switches to Fluw Vector AI, which ignores aspect_ratio and seed. |
image | string | Optional guide image (public https:// link or data: URI; the local npx server also accepts a file path). |
seed | integer | Same seed and prompt give the same image. Text-to-image only: ignored with a guide image or svg. |
styles | array | Design style names, e.g. ["Scandinavian"]; for Japandi use ["Japanese Design", "Scandinavian"]. Case-sensitive; see luw_list_options. |
variations | integer | Number of alternative designs (1-4, default 1); each is billed as a generation. |
luw_generate_pattern Seamless pattern / texture (Pattern AI)
Luw.ai Pattern AI: generate a seamless, tileable pattern or texture — tiles, wallpaper, fabric, terrazzo, wood, stone — ready to repeat across a surface. Costs 1 credit.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | The pattern, e.g. "blue and white Moroccan zellige tiles". |
engine | string | Luw.ai model: symphony (Symphony-3, the default: the higher quality) or aria (quicker, for everyday work). If the user picked a model earlier in this conversation, use that one. |
format | string | Output image format. |
image | string | Optional reference image (public https:// link or data: URI; the local npx server also accepts a file path). |
size | integer | 512 for a small tile; leave it out for the full size. aria: 1024 px small, 2048 px full; symphony: 512 px small, 1024 px full. |
luw_generate_video Image to cinematic video (Video AI)
Luw.ai Video AI (Motion): animate a design image into a short cinematic video — fly-throughs, dolly moves, drone shots, reveals. Camera motions: A Forward Dolly, Flythrough Cinematic, Return to Empty Room, Lighting and Color Details, Drone flying to center, Dramatic Zoom Out, Reverse Zoom In, Slow Pull Back, Reveal Zoom, Ground to Sky Tilt, Side Tracking Zoom, Aerial Descent. Pass end_image to make the video end on that frame, e.g. the original photo as image and its redesign as end_image for a before → after transition. Takes a few minutes — expect a processing_url to collect with luw_g…
| Parameter | Type | Description |
|---|---|---|
image * | string | Start frame (a render or photo) (public https:// link or data: URI; the local npx server also accepts a file path). |
camera_motion | string | One of the camera motions listed above, e.g. "Flythrough Cinematic". |
end_image | string | Optional end frame the video moves to; use the start frame's aspect ratio (public https:// link or data: URI; the local npx server also accepts a file path). |
engine | string | Luw.ai model: symphony (Symphony-3, the default: the higher quality) or aria (quicker, for everyday work). If the user picked a model earlier in this conversation, use that one. |
prompt | string | What should happen in the video. |
luw_image_to_3d Image to 3D model (3DGen AI)
Luw.ai 3DGen AI: generate a textured 3D model (GLB) from a photo of an object — furniture, decor, products. Add up to 3 photos from other angles for better accuracy. For text-to-3D, first make an image with luw_generate_image. Costs 3 credits (aria, the default) or 8 (symphony, which adds a high-detail texture pack on paid accounts).
| Parameter | Type | Description |
|---|---|---|
image * | string | Photo of the object (public https:// link or data: URI; the local npx server also accepts a file path). |
engine | string | Luw.ai model: aria (the default, 3 credits) or symphony (8 credits; adds the high-detail texture pack on paid accounts). Use symphony only when the user chose it in this conversation; otherwise ask th… |
extra_angles | array | |
reflections | boolean | Reflective (PBR) materials. Paid accounts only. |
simplify | integer | 1 = lighter mesh (150K triangles instead of 500K). Free accounts always get the lighter mesh. |
texture | integer | High-detail texture pack: 1 = on (the default with symphony), 0 = off. Symphony engine and paid accounts only. |
luw_get_result Get generation result
Collect the result of a Luw.ai generation that was still processing (tools return a processing_url when a job outlasts their wait). Waits for the job to finish (up to the server's wait limit) — call again if it's still running. Free; never re-run a generation instead.
| Parameter | Type | Description |
|---|---|---|
processing_url * | string | The processing_url returned by a generation tool. |
source_image | string | The source returned with that processing_url (the job's input image), so the result is shown before and after. |
wait | boolean | Wait for completion (default true). false = check once and return immediately. |
luw_upload_file Upload a file to Luw.ai
Upload an image, video or 3D file to Luw.ai storage and get a URL usable by every Luw.ai tool. Rarely needed: all tools already accept local paths and data: URIs and upload them automatically. Useful to get a shareable URL, to re-host an image from a site Luw.ai can't reach, or to store a file permanently.
| Parameter | Type | Description |
|---|---|---|
source * | string | Local file path, file:// URL, data: URI, or an https:// URL to copy into Luw.ai storage. |
persistent | boolean | Keep the file in your Luw.ai storage permanently. Default: temporary (not added to your library). |
persona_id | integer | Persona to store a persistent file under (default: your first persona). |
luw_list_options List styles, room types, materials…
Look up valid values for other Luw.ai tools: design_styles (styles param), interior_types (room_type), exterior_types (building_type), video_styles (camera_motion), materials (Magic Wand material_image catalog), professions (persona profession). Free.
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
details | boolean | Include descriptions and preview image URLs (longer output). |
search | string | Case-insensitive filter on names/descriptions. |
luw_run_model Run any Luw.ai model (advanced)
Call POST /generate with raw API parameters, for models or options the dedicated tools don't cover (e.g. persona-slot inputs, webhooks). Models: interior, exterior, sketch, render, magicprompt, magicwand, moodboard, landscape, enhance, expand, vector, removefurniture, segment, segmentprompt, fluw, fluwvector, pattern, changebg, removebg, video, 3dgen. Parameter reference: https://luw-ai.gitbook.io/api. Image fields (image, end_image, mask_image, material_image, style_transfer, extra_image_1…6) also accept local paths and data: URIs. Spends credits like the model's own tool.
| Parameter | Type | Description |
|---|---|---|
model * | string | Model id, e.g. interior or magicprompt. |
params | object | Other /generate parameters, e.g. {"image": "…", "prompt": "…", "precise": 75}. |
luw_archigpt Ask ArchiGPT (architecture & design expert)
Ask Luw.ai's ArchiGPT, an AI architect: design advice, feng shui, space planning, material and color suggestions, technical questions, and estimating square meters from a photo or plan. Attach an image to discuss it. Each call is a standalone question, so put the details it depends on into the message. Costs 1 credit per ~3000 words.
| Parameter | Type | Description |
|---|---|---|
message * | string | Your question or message, with the details it depends on. |
image | string | Image to discuss (public https:// link or data: URI; the local npx server also accepts a file path). |
language | string | Reply language, e.g. "en" or "tr". Auto-detected when omitted. |
persona_id | integer | Persona to file the question under. It doesn't remember earlier calls. |
luw_personas Manage personas & their training images
Personas hold a reusable design identity: style knowledge plus saved images (trainings). Slots 1-6 train the persona's visual style (slot 1 is the style-transfer reference used by style_reference="persona"), slot 7 is the default input image, 8+ are free-form data; add_training without a slot "likes" a design. Pass persona_id to generation tools to use one. Actions: list, get, create, update, delete, list_trainings, add_training, update_training, delete_training, clear_slot.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
extras | string | Extra metadata, e.g. the prompt behind a liked design. |
image | string | Training image (https:// URL, local file path, or data: URI); stored permanently. |
info | string | Description of the training image. |
knows | string | Comma-separated style knowledge, e.g. "Modern,Minimalism" or room/building types. |
limit | integer | list / list_trainings: items per page (default 20). |
name | string | |
page | integer | list / list_trainings: page number (default 1). |
persona_id | integer | |
profession | string | Tool the persona belongs to, e.g. Interior, Exterior, MagicPrompt, MagicWand, Enhance, Video, Render, 3DGen, Fluw, Sketch, Landscape, MoodBoard, ArchiGPT. For list: only that tool's personas (fast). |
search | string | list: filter by name/title/knows. |
slot | integer | |
title | string | Short description of the persona. |
training_id | integer |
luw_projects Manage Luw.ai projects, folders & media
Organize work in Luw.ai projects (called boards in the API), with nested folders and media. Use add_media to save generated results into a project. Actions: list, get, create, rename, delete, list_folders, create_folder, update_folder, delete_folder, add_media, delete_media, move_media.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
control_image | string | add_media: optional source/reference image, e.g. the original photo of a redesign. |
extras | string | add_media: metadata as a JSON string, e.g. {"prompt": "…"}. |
folder_id | integer | Folder to act on, or target folder for add_media/move_media (omit = project root). |
media_id | integer | |
name | string | Project or folder name. |
parent_id | integer | Parent folder for nested folders. |
project_id | integer | |
url | string | add_media: the media (https:// URL, local file path, or data: URI). |