POST
/
generation
/
luma
/
luma-ray-2-0
curl --request POST \
  --url https://pollo.ai/api/platform/generation/luma/luma-ray-2-0 \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "input": {
    "prompt": "<string>",
    "resolution": "540p",
    "length": 5,
    "aspectRatio": "16:9",
    "imageTail": "<string>",
    "image": "<string>"
  }
}'
{
  "taskId": "<string>",
  "status": "waiting"
}

Check out Luma Ray 2.0 API pricing here, cheaper than Fal AI and Replicate.

Authorizations

x-api-key
string
header
required

API key to authorize requests

Body

application/json

Response

200
application/json

Successful response

The response is of type object.