Video AI

Transform any design into breathtaking videos that bring your vision to life in stunning detail.

POST /v2/generate

Parameters

Name
Type
Description

model

string

Required

Value must be video for Video AI. See other generators. Browse other Generators.

image

string

Optional

URL of the input image. Encode your image url if url have special characters.

prompt

string

Optional

Description of desired video

styles

string

Optional

Comma separated names (case-sensitive) of Video Styles

pid

integer

Optional

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

seed

integer

Optional

For reproducible results

enhance_prompt

string

Optional

If you want to use Prompt Enhance model, use true value. If you want to continue without Prompt Enhancer don't add enhance_prompt parameter to your requests.

luwmodel

integer

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.

processing_url

string

Optional

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

webhook

string

Optional

Get process results with real-time webhooks, alternative to /results endpoint usage.

Curl Example

curl -X POST https://api.luw.ai/v2/generate \
  -H "Authorization: Bearer LUW_API_TOKEN" \
  -d "model=video" \
  -d "prompt=Modern minimalist living room" \
  -d "image=https://example.com/room.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