aisplice

Kling V3

KlingVideo generationper-requestTiered pricingsave 20% vs official

Kling v3 asynchronous video generation. Text-to-video, image-to-video and first/last-frame generation at std 720P, pro 1080P or 4K, 3-15 second duration, optional audio, up to 3 reference subjects for character consistency (element_list, @name in the prompt) and multi-shot generation of 1-6 shots in one call.

Price

$0.0672/s

Endpoint

/videos

Delivery pattern

Async task lifecycle

Availability

Available now

API documentation

Build and copy the request

Choose the options this model accepts. The code below updates as you choose.

Step-by-step in the docs
POSThttps://www.aisplice.store/v1/videosBearer API keyAsync task

OptionsOnly options published for this model are shown.

# Requires curl and jq
API_KEY="${API_KEY:-YOUR_API_KEY}"

# 1. Submit once
SUBMITTED=$(curl --fail-with-body -sS https://www.aisplice.store/v1/videos \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: model-docs-$(date +%s)-$$" \\
  -d '{
  "model": "Kling V3",
  "prompt": "A cinematic scene with careful composition",
  "mode": "std",
  "duration": 5,
  "size": "16:9",
  "metadata": {
    "generate_audio": false,
    "watermark": false
  },
  "nsfw_check": false
}')
TASK_ID=$(printf '%s' "$SUBMITTED" | jq -r '.task_id // .id // empty')
if [ -z "$TASK_ID" ]; then
  printf '%s\n' "$SUBMITTED" >&2
  exit 1
fi
echo "task_id=$TASK_ID"

# 2. Poll until terminal
while true; do
  STATUS_JSON=$(curl --fail-with-body -sS \
    "https://www.aisplice.store/v1/videos/$TASK_ID" \
    -H "Authorization: Bearer $API_KEY")
  STATUS=$(printf '%s' "$STATUS_JSON" | jq -r '.status // empty' | tr '[:upper:]' '[:lower:]')
  echo "status=$STATUS"
  case "$STATUS" in
    completed|succeeded|success) break ;;
    failed|failure|cancelled|canceled)
      printf '%s\n' "$STATUS_JSON" | jq .
      exit 1
      ;;
  esac
  sleep 5
done

# 3. Fetch the final result
curl --fail-with-body -sS \
  "https://www.aisplice.store/v1/videos/$TASK_ID/content" \
  -H "Authorization: Bearer $API_KEY" | jq .
  1. 1Submit the task
  2. 2Poll the status
  3. 3Fetch the content

This model requires public media URLs. Upload a local file first, then put public_url into the model request. Avoid large Base64 bodies.

Read the upload guide

Parameter reference

model
stringrequired

Exact model identifier for this request.

kling-v3
prompt
stringrequired

Instruction describing the desired result.

duration
integeroptional

Output seconds from 3 to 15.

size
stringoptional

Sent to the model as its aspect ratio.

16:99:161:1
images
string[]optional

One public URL is the first frame; two public URLs are first and last frames.

Response lifecycle

Task status, terminal states, and result response examples.

Submit
{
  "id": "task_xxx",
  "task_id": "task_xxx",
  "object": "video",
  "model": "Kling V3",
  "status": "queued"
}

Waiting

queued · submitted · in_progress · processing

Success

completed · succeeded · success

Failure

failed · failure · cancelled · canceled

Errors and production

Retry rules, idempotency, and the minimum production checklist.

400 / 422

Fix the request fields or unsupported option; do not retry unchanged.

401

Check that the API key is present, active, and sent as a Bearer token.

402

The account balance is insufficient.

409

The Idempotency-Key is processing or was reused with another body.

429

Back off according to Retry-After before retrying.

5xx

Retry with exponential backoff and keep the original Idempotency-Key.

  • Keep API keys on your server for public mobile and browser applications.
  • Set a unique Idempotency-Key for every billable async operation.
  • Persist task_id so polling can resume after a restart.
  • Use a timeout for every HTTP request and surface the request ID in support reports.
  • Read live model metadata instead of hard-coding prices and supported options.

Price and tiers

save 20% vs official

Request price

$0.0672/s

$0.084

Tiered pricing

Base price $0.0672/s

Tier pricing — the final price depends on the options you request. Unlisted tiers bill at the base price. Billed per second of generated output.

SizePrice
  • 16:9×1$0.0672/s
  • 1:1×1$0.0672/s
  • 9:16×1$0.0672/s
Mode / audioPrice
  • std:false×1$0.0672/s
  • pro:false×1.333333333333$0.0896/s
  • std:true×1.333333333333$0.0896/s
  • pro:true×1.666666666667$0.112/s
  • 4k:false×6.377380952381$0.42856/s
  • 4k:true×6.377380952381$0.42856/s
DurationPrice
  • 3×3$0.2016
  • 4×4$0.2688
  • 5×5$0.336
  • 6×6$0.4032
  • 7×7$0.4704
  • 8×8$0.5376
  • 9×9$0.6048
  • 10×10$0.672
  • 11×11$0.7392
  • 12×12$0.8064
  • 13×13$0.8736
  • 14×14$0.9408
  • 15×15$1.008

The price shown here is exactly what you are billed — failed calls are refunded automatically.

Related models