Genace

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.

ParameterAccepted valuesNotes
promptany non-empty stringrequired
duration_sec5 or 10billed accordingly
aspect_ratio16:9, 9:16, 1:1does not affect price
resolution1080p onlyno cheaper tier
image_inputsarray of URLsonly the first entry is used, as the start frame
seedintegeroptional, for reproducibility
negative_promptstringoptional; 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