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
  • If you want to use additional images to generate 3D model better, also add extra images: Visual training slots from 1 to 3 or use extra_image_1 extra_image_2 and extra_image_3 parameters
  • ✨ Get results using the /results endpoint.
  1. Luw.ai API Documentation
  2. Generators

3DGen AI

Generate 3d models with image (Image-to-3D). See your generated 3D model in seconds, and export as 3d file.

PreviousFluw Vector AINextPattern AI

Last updated 1 month ago

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

POST /v2/generate

Parameters

Name
Type
Description

model

string

Required

image

string

Optional

URL of the input image to get 3d model of image file. Encode your image url if url have special characters.

extra_image_1

string

Optional

URL of the extra input image 1 to get 3d model. Side photos & angles

extra_image_2

string

Optional

URL of the extra input image 2 to get 3d model. Side photos & angles

extra_image_3

string

Optional

URL of the extra input image 3 to get 3d model. Side photos & angles

seed

integer

Optional

For reproducible results

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.

pid

integer

Optional

processing_url

string

Optional

If you want to use additional images to generate 3D model better, also add extra images: or use extra_image_1 extra_image_2 and extra_image_3 parameters

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..."
}

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

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

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

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

✨ Get results using the endpoint.

Fluw AI
Visual training slots from 1 to 3
/results
Generators
Persona Slots
/results