kling-v1-6
The kling-v1-6 profile generates video from a written scene description. Plan a short shot with a clear subject, action and camera direction, using the documented five- or ten-second duration options. Generation is asynchronous: keep the returned task identity and retrieve the completed video after the original task succeeds.
About the model
This description covers the model’s capabilities. Available in Ailoot inputs, outputs and options are listed for the selected method below.
The exact kling-v1-6 selector identifies the Kling text-to-video profile. Submit JSON to POST /v1/videos/generations with model set to kling-v1-6 and the written scene in prompt. POST /v1/videos also accepts the same generation request. A clear request describes what is visible, what happens during the shot and how the camera observes it. The minimal scene request supplies the model selector and prompt, leaving additional shot controls unspecified.
For a product shot, describe the object, surface, lighting and one visible action, such as a slow turn or a change in camera position. For a scene concept, identify the setting, principal subject and movement through the frame. Keep the action readable within the requested clip. A prompt might describe a small boat crossing a still lake, a wide view from the bank, early morning light and a steady camera following the boat’s direction.
The prompt limit is 500 characters. The optional negative_prompt can contain up to 200 characters and describes unwanted elements. The documented duration choices for this profile are 5 and 10 seconds. The mode values are std and pro. cfg_scale is a number from 0 to 1; the documentation describes higher values as stronger adherence to the text. Choose controls for the exact shot and preserve the submitted values with the result.
The documented camera_control object lists simple, down_back, forward_up, right_turn_forward and left_turn_forward camera types. Its simple configuration names horizontal, vertical, pan, tilt, roll and zoom controls. The minimal text example provides a useful starting point when a scene can be described without a separate camera-control object. Give camera movement a clear purpose in the prompt, such as revealing the subject or following its motion.
Submission starts an asynchronous task. Keep the returned id, X-Ailoot-Task-Id header and polling_url, then use GET on that polling_url with the same Ailoot API key to read the original task. The task state is in data.task_status: submitted and processing are pending, succeed is successful, and failed is unsuccessful. A submission acknowledgement is therefore an intermediate result. On success, retrieve every URL in data.task_result.videos[].url; these are Ailoot-managed result file links. GET /v1/videos/{id}/content retrieves the first output, and its index query parameter selects a returned output by its zero-based index. Keep the status response with the selected clip. If a timeout or result_pending_check response occurs, preserve the original returned identity and check that operation rather than submitting the shot again.
Review the completed footage across its full duration: the intended action, subject appearance, framing and motion all belong to the shot brief. This exact profile provides the text-to-video workflow described here. A returned task that still needs a status check should be followed using its original identity, including when a client request times out; preserve that task information before considering a new generation request.
Ailoot Ultra · Video POST /v1/videos kling-v1-6
kling-v1-6Overview
The kling-v1-6 profile generates video from a written scene description. Plan a short shot with a clear subject, action and camera direction, using the documented five- or ten-second duration options. Generation is asynchronous: keep the returned task identity and retrieve the completed video after the original task succeeds.
- Accepted inputs
- Text
- Results
- Video
Available in Ailoot · inputs & methods
Ailoot Ultra · Video POST /v1/videos
- Input types
text- Output types
video
| Field | Type | Requirement | Values & limits | Default |
|---|---|---|---|---|
Fieldmodel | Typestring | RequirementRequired | Values & limits kling-v1-6 | Default— |
Fieldprompt | Typestring | RequirementRequired | Values & limits | Default— |
Fieldmode | Typestring | RequirementRequired | Values & limits std, pro | Default— |
Fieldmodel_name | Typestring | RequirementOptional | Values & limits kling-v1-6 | Default— |
Fieldcfg_scale | Typenumber | RequirementOptional | Values & limits Minimum: 0 Maximum: 1 | Default— |
Fieldaspect_ratio | Typestring | RequirementOptional | Values & limits | Default— |
Fieldnegative_prompt | Typestring | RequirementOptional | Values & limits | Default— |
Fieldduration | Typeinteger | RequirementOptional | Values & limits 5, 10 | Default— |
Method parameters and lifecycle
| Parameter | Contract |
|---|---|
Parametercontent_type | Contractapplication/json |
Parameterrequired | Contractmodel, prompt, mode |
Parameteroptional | Contractmodel_name, cfg_scale, aspect_ratio, negative_prompt, duration |
Parametermaterial_types | Contracttext |
Parameterconditions | Contractmodel selects this model. An omitted model_name uses the selected model; an explicit native model_name override is preserved. |
Method aliases: /v1/videos/generations
Lifecycle: submit_once_poll_original
GET /v1/videos/{request_id}
GET /v1/videos/generations/{request_id}
GET /v1/videos/{request_id}/content
GET /v1/media/assets
GET /v1/media/assets/{asset_id}
Pricing
How the final charge is calculated
The displayed rates estimate the cost before generation. The final charge is calculated from the cost recorded for the original generation. Measured output duration and forecast quantities are not the final billable quantity.
Tariff references do not add request options. Supported parameters are listed for the selected method.
- Fast mode
- Not specified When fast mode is selected
- Flex mode
- Not specified When flex mode is selected
- Maximum reasoning effort
- Not specified When maximum reasoning effort uses the default adjustment
Estimated rates for comparison
Prices by configuration
Match each charge to the conditions shown. Use one rate for each set of alternative configurations.
| Configuration | Rate schedule | Forecast quantity | Charge |
|---|---|---|---|
| ConfigurationBase token rates | Rate scheduleBase rate | Forecast quantity— | Charge Input · Input tokens · Estimate for comparison only — / 1K tokens Output · Output tokens · Estimate for comparison only — / 1K tokens Input · Cache read · Estimate for comparison only — / 1K tokens Input · Cache write · Estimate for comparison only — / 1K tokens Input · Cache write, 1 hour · Estimate for comparison only — / 1K tokens |
| ConfigurationEstimated generation cost | Rate schedule— | Forecast quantityone generation estimate | Charge Input · Estimated generation cost · Estimate for comparison only $6 estimate before generation This estimate is not an additional charge or a fixed rate for the completed generation. |
Ailoot reserves an estimated amount before a request. After the result, it settles the final charge from measured usage. Streaming settlement uses the final usage record. How reservation and settlement work →
Example requests
Ailoot Ultra · Video
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
export AILOOT_API_KEY
python3 - <<'PY_REQUEST'
import json,os
from pathlib import Path
p=json.loads('{"model": "kling-v1-6", "prompt": "A happy holiday scene at the beach.", "mode": "pro"}')
Path("request.json").write_text(json.dumps(p,ensure_ascii=False))
PY_REQUEST
curl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/videos \
-H "Authorization: Bearer $AILOOT_API_KEY" -H 'Content-Type: application/json' \
--data-binary @request.json -D response-headers.txt -o result.json
# Submit once. Retain the complete result, original identifiers and every response header.
Receive and save results
Ailoot Ultra · Video
GET /v1/videos/{request_id}GET /v1/videos/generations/{request_id}GET /v1/videos/{request_id}/contentGET /v1/media/assetsGET /v1/media/assets/{asset_id}
Keep all completed results
Save every completed video or returned file; retrieve every actual returned asset URL.
Retain the complete response, all actual results, original identifiers, usage and response headers.
If the original response needs checking
Keep the returned public task or operation id and all headers. Read only the original task; unknown or result_pending_check does not authorize another creation.
Response fields
| Field | Type |
|---|---|
Fielddata.task_result.videos[].url | Typestring or array, as returned |
Aliases
Model aliases
Ailoot Ultra kling-v1-6
Method path aliases
/v1/videos/generations
Related caller IDs
FAQ · kling-v1-6
- What inputs and results are available?
POST /v1/videos·kling-v1-6:text→video- Which fields does the request use?
POST /v1/videos·kling-v1-6:model,prompt,mode,model_name,cfg_scale,aspect_ratio,negative_prompt,duration- What limits apply?
POST /v1/videos·kling-v1-6:cfg_scale.minimum:0;cfg_scale.maximum:1