ArchiGPT
Chat with architecture AI. Get advice on feng shui, architectural usability, personalized design recommendations, and more.
POST /v2/generateParameters
Name
Type
Description
prompt
string
Optional A message from you.
image
string
Optional Input image to attach ArchiGPT.
pid
string
Optional
Persona Id to save knowledge.
lang
string
Optional Language for conversation, leave empty for auto-detect.
Curl Example
curl -X POST https://api.luw.ai/v2/generate \
-H "Authorization: Bearer LUW_API_TOKEN" \
-d "model=archigpt" \
-d "prompt=Hello, can you design my room like Pinterest designs?" \
-d "images=https://example.com/room.jpg"Response Example
{
"status":true,
"message":"Hello from ArchiGPT!",
"usage":321,
"left":3997
}✨ This endpoint returns answers directly, so you don't need processing_url for ArchiGPT.
processing_url for ArchiGPT.Message History
You can send your message history in this format to ArchiGPT, so you can make continuous talking session.
Note: id parameter can be any id as long as unique, like:
Also, role parameter can be user or assistant values only.
Last updated