3DGen AI

Generate 3d models with image. See your generated 3D model in seconds, and export as 3d file.

Note: To generate 3d models with only prompt (Text-to-3D), we suggest you to use Fluw AI and get the image from this endpoint to use with 3DGen AI endpoint.

POST /v2/generate

Parameters

Name
Type
Description

model

string

Required

Value must be 3dgen for Interior AI. See other generators. Browse other Generators.

image

string

Optional

URL of the input image to get 3d model of image file

seed

integer

Optional

For reproducible results

processing_url

string

Optional

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

Curl Example

curl -X POST https://api.luw.ai/v2/generate \
  -H "Authorization: Bearer LUW_API_TOKEN" \
  -d "model=3dgen" \
  -d "image=https://example.com/sofa.jpg"

Response Example

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

✨ Get results using the /results endpoint.

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

Last updated