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
  1. Luw.ai API Documentation
  2. Introduction

Authentication

All API endpoints require authentication. You can authenticate using either:

  1. Bearer token in the Authorization header

  2. API token as a query parameter

Authentication Methods

Bearer Token

curl -H "Authorization: Bearer LUW_API_TOKEN"

Response Example

{
  "status": true,
  "materials": [
    {
      "id": 1,
      "prompt_type": "Material",
      "title": "Marble",
      "extra": "White marble with grey veins",
      "image": "https://cdn.luw.ai/materials/marble.jpg"
    }
  ]
}
PreviousAPI ReferenceNextError Handling

Last updated 5 months ago