Kling API parameters: every accepted value and what it costs
Every parameter the Kling 2.0 Standard API accepts, taken from the schema that validates your request.
| Parameter | Accepted values | Notes |
|---|---|---|
prompt | any non-empty string | required |
duration_sec | 5 or 10 | billed accordingly |
aspect_ratio | 16:9, 9:16, 1:1 | does not affect price |
resolution | 1080p only | no cheaper tier |
image_inputs | array of URLs | only the first entry is used, as the start frame |
seed | integer | optional, for reproducibility |
negative_prompt | string | optional; support varies upstream |
The constraint worth knowing first
The one that surprises people: duration_sec accepts only 5 or 10. Ask for anything in between and the request fails before it leaves your process.
A minimal call
curl -X POST https://genace.ai/api/v1/video/generations \
-H "Authorization: Bearer $GENACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"kling-2.0-standard","prompt":"..."}'
Omitted parameters take their defaults. The default call costs 35 credits ($0.35–$0.48 depending on which pack you bought).
Naming
Request bodies accept snake_case or camelCase — duration_sec and
durationSec both work. Validation errors report the camelCase name, so a
complaint about durationSec refers to the duration_sec you sent. See
INVALID_PARAM.
What this page does not claim
These are the parameters Genace accepts and the prices Genace charges. The
upstream vendor may expose more; anything not listed here is passed through
extra untouched and is not validated on our side.
Continue with models and parameters
Models covered on this page
Where these facts come from
- codebase: src/ai/providers/kling.ts — pricing() and paramsSchema
- codebase: src/config/website.tsx — credit pack pricing