Pattern AI

Generate tileable images using AI. Receive seamless patterns and textures perfect for various applications.

POST /v2/generate

Parameters

Name
Type
Description

model

string

Required

Value must be pattern for Enhance AI. Browse other Generators.

prompt

string

Required

Description of desired pattern design

image

string

Optional

URL of the input image to style inspiration for patterns

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=pattern" \
  -d "query=flowers"

Response Example

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

✨ Get results using the /results endpoint.

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

Last updated