Luw.ai API
  • Luw.ai API Documentation
    • Introduction
      • Getting Started
      • API Reference
      • Authentication
      • Error Handling
      • Rate Limit and Quotas
      • Get Process Results
      • Uploading Files
    • Generators
      • Interior AI
      • Exterior AI
      • Sketch AI
      • Magic Prompt AI
      • Mood Board AI
      • Magic Wand AI
      • Enhance AI
      • Remove Furniture AI
      • Segment AI
      • ArchiGPT
      • Motion AI
      • Video AI
      • Fluw AI
      • Fluw Vector AI
      • 3DGen AI
      • Pattern AI
      • Change Background AI
    • Knowledge
      • Design Styles
      • Video Styles
      • Interior Types
      • Exterior Types
      • Mood Board Types
      • Magic Wand Materials
      • What is Mask Image?
      • Precision Levels
    • Personas
      • Persona Endpoints
      • Training Endpoints
      • Like a Design
      • Persona Slots
    • Projects API
Powered by GitBook
On this page
  • ✨ Get results using the /results endpoint.
  • Special Parameters
  • Fill Empty Room
  • Style Transfer
  1. Luw.ai API Documentation
  2. Generators

Interior AI

Redesign places by taking a picture or uploading a reference photo for redesigned AI generations.

PreviousGeneratorsNextExterior AI

Last updated 1 month ago

Note: Also, please check out for and parameters.

POST /v2/generate

Parameters

Name
Type
Description

model

string

Required

image

string

Optional

URL of the input image. Encode your image url if url have special characters.

prompt

string

Optional

Description of desired interior design

styles

string

Optional

knows

string

style_transfer

string

Optional

fill_room

string

Optional

For converting a room to another type, or decorate from scratch, use true value.

pid

integer

Optional

seed

integer

Optional

For reproducible results

precise

integer

Optional

enhance_prompt

string

Optional

If you want to use Prompt Enhance model, use true value. If you want to continue without Prompt Enhancer don't add enhance_prompt parameter to your requests.

luwmodel

string

Optional

If you want to use Luw 3 Symphony model, use symphony-3 value. If you want to continue using Luw 2.5 Aria model don't add luwmodel parameter to your requests.

format

string

Optional

Output format values: jpg, png or webp

processing_url

string

Optional

Curl Example

curl -X POST https://api.luw.ai/v2/generate \
  -H "Authorization: Bearer LUW_API_TOKEN" \
  -d "model=interior" \
  -d "prompt=Modern minimalist living room" \
  -d "image=https://example.com/room.jpg"

Response Example

{
  "status": true,
  "progress": {
    "started_at": "2024-01-04T12:00:00Z",
    "state": "processing",
    "percent": 45
  },
  "processing": true,
  "processing_url": "pred_123..."
}

Alternative legacy method: Add &processing_url={url} to your request.

Special Parameters

Fill Empty Room

For converting a room to another type, or decorate from scratch you can use this special parameter to run different sub-model.

To switch Fill Empty Room mode, you can simply add fill_room parameter with true value like this example:

?fill_room=true

Curl Example

curl -X POST https://api.luw.ai/v2/generate \
  -H "Authorization: Bearer LUW_API_TOKEN" \
  -d "model=interior" \
  -d "image=https://example.com/room.jpg" \
  -d "prompt=Modern minimalist living room" \
  -d "fill_room=true"

Style Transfer

To switch Style Transfer mode, you can simply add style_transfer parameter with the url of image like this example:

Value must be interior for Interior AI. See other generators. Browse other .

Comma separated names (case-sensitive) of

Optional New comma-separated style knowledge. List of types for

You can use style reference image for your generations to inspire from another designs. Use image url on this field, or use persona value to use .

Persona ID to use if you want to use for images.

Higher numbers results more realistic results, lower numbers generates more creative.

Get process results with same endpoint, alternative to endpoint usage.

✨ Get results using the endpoint.

You can use prompt area to do special actions like Style Transfer with style_transfer parameter, it will change image style at generations. Use image url on this field, or use persona value to use .

?style_transfer=https://example.com/style.jpg - or, if you want use use , use "persona" value - ?style_transfer=persona

/results
Persona's Image Slots
Persona Slot: 1
Fill Empty Room
Style Transfer
Generators
Design Styles
interior
Persona's Image Slots
Persona Slots
Learn more
/results