Short answer: Drop the "PiAPI → PiAPI Kling Generate Video" action anywhere in your workflow, map the inputs from upstream nodes, and publish.
Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.
| Field | Type | Required | Description |
|---|---|---|---|
Prompt prompt | string | Required | Prompt (required) |
Duration duration | options | Optional | Duration. Options: 5s, 10s |
Model model_name | options | Optional | Model. Options: Kling V2.1, Kling V1.6 |
Aspect Ratio aspect_ratio | options | Optional | Aspect Ratio. Options: 16:9, 9:16, 1:1 |
{"prompt": "{{trigger.prompt}}","duration": "{{trigger.duration}}","model_name": "{{trigger.model_name}}","aspect_ratio": "{{trigger.aspect_ratio}}"}
{"code": 200,"data": {"status": "pending","task_id": "task_abc"}}
Use these fields in downstream nodes for routing, logging, or error handling.
Any of these apps can fire this action as part of a workflow.
Triggered by anything in the catalog. Free tier available. No credit card.