models

Kling v1.5

Markdown · JSON

Kling v1.5

Kling v1.5 is a video model with a documented image-to-video workflow. Start from a prepared still and describe the movement, viewpoint and final composition for a short character, object or environment shot.

About the model

This description covers the model’s capabilities. Available in Ailoot inputs, outputs and options are listed for the selected method below.

Kling v1.5 is a Kling video-generation edition with image-to-video capability in the documented model catalogue. A supplied still provides the visual starting point, while the written brief describes how the scene should move. Use it to develop a character gesture, a moving object or a changing environment from an image whose composition already fits the shot.

Prepare the image around the subject’s important details. A character needs a readable face, pose and clothing; an object needs a clear outline and visible material features. Leave space in the composition for the intended movement. Keep the original still with the finished sequence so changes in appearance can be assessed directly.

Write the action as an observable event. For example, describe a seated person turning toward a window or a fabric ribbon moving in a gentle breeze. State the direction and the intended ending. When several objects appear, identify which one acts and which ones stay in place.

Explain the camera’s role. A fixed viewpoint can make a small gesture easy to inspect, while a moving viewpoint can reveal a new side of the scene. Describe that movement in relation to the subject. A request to approach the subject and a request for the subject to approach the camera produce different visual intentions.

The documented image-to-video entry lists five- and ten-second duration choices, std and pro modes, and landscape, portrait and square framing. Choose the settings offered for the selected workflow before evaluating the result. Keep the actual mode, duration and frame shape with the source image and prompt when comparing candidate shots.

For an object presentation, define the visual feature that the movement should reveal. It may be a reflective surface, the fold of a material or the shape of a handle. Keep the action focused enough that the important feature remains visible. Evaluate the object throughout the motion and at the final view used in the edit.

For a character scene, describe one meaningful gesture and the character’s relationship to nearby objects. Review the face, hands, clothing and body proportions over time. Check whether the gesture reaches its intended end and whether the scene keeps a coherent arrangement of foreground and background elements.

Retain the complete generated clip and its source materials. Review the opening, the central action and the ending as one sequence, then make revisions around a concrete mismatch. A note such as “the character turns away from the window” gives the next brief a specific correction while preserving the rest of the scene.

Ailoot Ultra · Video POST /v1/videos kling-v1-5

kling-v1-5

Kling /kling-v1-5

Overview

Kling v1.5 is a video model with a documented image-to-video workflow. Start from a prepared still and describe the movement, viewpoint and final composition for a short character, object or environment shot.

Accepted inputs
Text · Images
Results
Video

Available in Ailoot · inputs & methods

Ailoot Ultra · Video POST /v1/videos
Input types
text, image
Output types
video
FieldTypeRequirementValues & limitsDefault
FieldmodelTypestringRequirementRequiredValues & limits
kling-v1-5
Conditions: Use this exact Ailoot routing selector.
Default—
FieldmodeTypestringRequirementOptionalValues & limits
std, pro
Conditions: Use the selected-model documented field and listed choices; omit an unspecified optional value.
Defaultstd
Fieldaspect_ratioTypestringRequirementOptionalValues & limits
16:9, 9:16, 1:1
Conditions: Use the selected-model documented field and listed choices; omit an unspecified optional value.
Default—
FielddurationTypeintegerRequirementOptionalValues & limits
5, 10
Conditions: Use the selected-model documented field and listed choices; omit an unspecified optional value.
Default—
Fieldend_imageTypestringRequirementOptionalValues & limits
Conditions: Use the selected-model documented field and listed choices; omit an unspecified optional value.
Default—
FieldimageTypestring or array<string>RequirementRequiredValues & limits
Conditions: Supply your actual reachable image URL. A list is accepted only where the parameter schema lists an array.
Default—
Fieldnegative_promptTypestringRequirementOptionalValues & limits
Conditions: Use the selected-model documented field and listed choices; omit an unspecified optional value.
Default—
FieldpromptTypestringRequirementRequiredValues & limits
Conditions: Use the selected-model documented field and listed choices; omit an unspecified optional value.
Default—
Method parameters and lifecycle
ParameterContract
Parametercontent_typeContractapplication/json
ParameterrequiredContractmodel, prompt, image
ParameteroptionalContractmode, aspect_ratio, duration, end_image, negative_prompt
Parametermaterial_typesContracttext, image
ParameterconditionsContractUse this exact Ailoot routing selector., Use the selected-model documented field and listed choices; omit an unspecified optional value., Use the selected-model documented field and listed choices; omit an unspecified optional value., Use the selected-model documented field and listed choices; omit an unspecified optional value., Use the selected-model documented field and listed choices; omit an unspecified optional value., Supply your actual reachable image URL. A list is accepted only where the parameter schema lists an array., Use the selected-model documented field and listed choices; omit an unspecified optional value., Use the selected-model documented field and listed choices; omit an unspecified optional value.

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.

ConfigurationRate scheduleForecast quantityCharge
ConfigurationBase token ratesRate scheduleBase rateForecast 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 costRate schedule—Forecast quantityone generation estimateCharge
Output · 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

curl · create once and retain the complete resultRead the original taskSave every completed owned asset
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
export AILOOT_API_KEY
: "${AILOOT_IMAGE_URL:?Set an actual customer material or documented value}"
export AILOOT_IMAGE_URL
python3 - <<'PY_REQUEST'
import json,os
from pathlib import Path
p=json.loads('{"model": "kling-v1-5", "prompt": "A cat is walking on grass.", "image": "YOUR_ACCESSIBLE_IMAGE_URL"}')
p['image']=os.environ['AILOOT_IMAGE_URL']
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.
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
export AILOOT_API_KEY
python3 - <<'PY_STATUS'
import json,os,subprocess
from pathlib import Path
from urllib.parse import urljoin,urlsplit
r=json.loads(Path("result.json").read_text())
u=urljoin("https://api.ailoot.ai",r["polling_url"])
p=urlsplit(u)
if p.scheme!="https" or p.netloc!="api.ailoot.ai" or p.username or p.password:
    raise SystemExit("Unexpected returned polling URL; preserve the response")
subprocess.run(["curl","--fail-with-body","--silent","--show-error",u,"-H","Authorization: Bearer "+os.environ["AILOOT_API_KEY"],"-D","status-headers.txt","-o","status.json"],check=True)
# Read this same original polling_url again while pending.
# Preserve unknown/result_pending_check; do not repeat creation.
PY_STATUS
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
export AILOOT_API_KEY
python3 - <<'PY_ASSETS'
import json,os,subprocess
from pathlib import Path
from urllib.parse import urljoin,urlsplit
r=json.loads(Path("status.json").read_text())
roles={}
def visit(v,path=""):
    if isinstance(v,dict):
        for k,x in v.items(): visit(x,path+"/"+k)
    elif isinstance(v,list):
        for i,x in enumerate(v): visit(x,path+"/"+str(i))
    elif isinstance(v,str):
        u=urljoin("https://api.ailoot.ai",v); p=urlsplit(u)
        if p.scheme=="https" and p.netloc=="api.ailoot.ai" and not p.username and not p.password and p.path.startswith("/v1/media/assets/") and p.path.endswith("/content"):
            roles.setdefault(u,[]).append(path)
visit(r)
if not roles: raise SystemExit("No completed owned assets; retain the original status")
manifest=[]
for i,(u,paths) in enumerate(roles.items()):
    target=Path(f"asset-{i}.bin")
    subprocess.run(["curl","--fail-with-body","--silent","--show-error",u,"-H","Authorization: Bearer "+os.environ["AILOOT_API_KEY"],"-o",str(target)],check=True)
    raw=target.read_bytes()
    if not raw: raise SystemExit("Empty asset; retain original status and metadata")
    ext="glb" if raw[:4]==b"glTF" else "png" if raw[:8]==b"\x89PNG\r\n\x1a\n" else "jpg" if raw[:3]==b"\xff\xd8\xff" else "webp" if raw[:4]==b"RIFF" and raw[8:12]==b"WEBP" else "mp4" if raw[4:8]==b"ftyp" else "bin"
    name=f"asset-{i}.{ext}"
    if target.name!=name: target.rename(name)
    manifest.append({"file":name,"response_paths":paths,"bytes":len(raw)})
Path("asset-manifest.json").write_text(json.dumps(manifest,indent=2))
print("Saved",len(manifest),"unique owned assets; every response role retained")
PY_ASSETS

Receive and save results

Ailoot Ultra · Video

  • 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}
Keep all completed results

Save every completed video or returned file; retrieve every actual returned asset URL.

Retain the complete response and headers, original identifiers, every actual output and all usage/accounting fields. Save each unique owned asset and retain every role pointing to it.

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
FieldType
FieldidTypestring
Fieldpolling_urlTypestring
Fieldprovider_task_idTypestring
Fieldtask_idTypestring
FieldstatusTypestring
Fieldvideo_urlTypestring
Errors and next steps
ResponseConditionNext step
Response400 · invalid_request_errorConditionA required field, model selector, type or input representation is invalid.Next stepInspect the returned validation detail before preparing a separate request.
ResponseConditionThe original request or result is unknown or requires a check.Next stepKeep original identifiers and headers; read only supported status/library records. Do not submit creation again.

Aliases

Model aliases

Ailoot Ultra kling-v1-5

Method path aliases

/v1/videos/generations

Related caller IDs

kling-v1-5

FAQ · Kling v1.5
What inputs and results are available?

POST /v1/videos · kling-v1-5: text, image → video

Which fields does the request use?

POST /v1/videos · kling-v1-5: model, mode, aspect_ratio, duration, end_image, image, negative_prompt, prompt

More details

Connect Ailoot to Claude Code, OpenCode, Hermes or your own app.

The company and its project portfolio

The company and its project portfolio: millions of customers; monthly sales in the billions.

Buy tokens at a discount.

Subscription discounts for regular use. Promo codes offer up to 50% off token purchases.

Subscription
Choose a discounted plan for your regular requests.
Promo code: up to 50% off
Enter your code at checkout. The price updates to reflect the current promotion.
Spending in your history
The model, tokens and amount are recorded for each request.

Choose a subscription · View model prices

Connect the API to a product you sell.

Use Ailoot in SaaS, apps and bots under its official service offer and licence agreement. Request a reseller licence for resale.

Commercial application
Add text, image, video and audio generation to paid features in your service.
Reseller licence
Send a description of your project and how you provide access. Request written terms for use and resale.
Documents on the website
The service offer, licence agreement and data processing policy are available before you connect.

Request a reseller licence · Service offer and licence agreement