All models

Kling V2.6

kwaivgi/kling-v2.6

Quick start

# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/infer \
  -H "content-type: application/json" \
  -d '{
    "model": "kwaivgi/kling-v2.6",
    "prompt": "<your prompt>"
  }'

# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/infer \
  -J '{"model": "kwaivgi/kling-v2.6", "prompt": "<your prompt>"}'

Examples

Parameters

Input
prompt string required

Text prompt for video generation

aspect_ratio string optional default: "16:9"

Output aspect ratio

duration string optional default: "5"

Video duration in seconds

mode string optional default: "pro"

Generation quality mode

negative_prompt string optional

Things to exclude from the video

sound string optional default: "on"

Generate synchronized audio

Output