Kling AI · JSON-LD Context

Kling Ai Context

JSON-LD context defining the semantic vocabulary for Kling Ai from Kling AI.

13 Classes 26 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
kling: https://klingai.com/schema#

Classes

AccountCostsResponse ImageTaskResponse ImageGenerationRequest TaskCreatedResponse MultiImageToVideoRequest Error ImageToVideoRequest VideoTaskResponse LipSyncRequest TextToVideoRequest VideoEffectsRequest VideoExtendRequest VirtualTryOnRequest

Properties

Property Type Container
code integer
message string
data
request_id string
model_name string
prompt string
negative_prompt string
image string
image_reference string
n integer
aspect_ratio string
callback_url string
image_list list
mode string
duration string
image_tail string
cfg_scale decimal
video_id string
video_url string
text string
voice_id string
audio_url string
effect_scene string
images list
human_image string
cloth_image string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://klingai.com/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "kling": "https://klingai.com/schema#",
    "AccountCostsResponse": "kling:AccountCostsResponse",
    "code": {
      "@id": "kling:code",
      "@type": "xsd:integer"
    },
    "message": {
      "@id": "kling:message",
      "@type": "xsd:string"
    },
    "data": {
      "@id": "kling:data"
    },
    "ImageTaskResponse": "kling:ImageTaskResponse",
    "request_id": {
      "@id": "kling:request_id",
      "@type": "xsd:string"
    },
    "ImageGenerationRequest": "kling:ImageGenerationRequest",
    "model_name": {
      "@id": "kling:model_name",
      "@type": "xsd:string"
    },
    "prompt": {
      "@id": "kling:prompt",
      "@type": "xsd:string"
    },
    "negative_prompt": {
      "@id": "kling:negative_prompt",
      "@type": "xsd:string"
    },
    "image": {
      "@id": "kling:image",
      "@type": "xsd:string"
    },
    "image_reference": {
      "@id": "kling:image_reference",
      "@type": "xsd:string"
    },
    "n": {
      "@id": "kling:n",
      "@type": "xsd:integer"
    },
    "aspect_ratio": {
      "@id": "kling:aspect_ratio",
      "@type": "xsd:string"
    },
    "callback_url": {
      "@id": "kling:callback_url",
      "@type": "xsd:string"
    },
    "TaskCreatedResponse": "kling:TaskCreatedResponse",
    "MultiImageToVideoRequest": "kling:MultiImageToVideoRequest",
    "image_list": {
      "@id": "kling:image_list",
      "@container": "@list"
    },
    "mode": {
      "@id": "kling:mode",
      "@type": "xsd:string"
    },
    "duration": {
      "@id": "kling:duration",
      "@type": "xsd:string"
    },
    "Error": "kling:Error",
    "ImageToVideoRequest": "kling:ImageToVideoRequest",
    "image_tail": {
      "@id": "kling:image_tail",
      "@type": "xsd:string"
    },
    "cfg_scale": {
      "@id": "kling:cfg_scale",
      "@type": "xsd:decimal"
    },
    "VideoTaskResponse": "kling:VideoTaskResponse",
    "LipSyncRequest": "kling:LipSyncRequest",
    "video_id": {
      "@id": "kling:video_id",
      "@type": "xsd:string"
    },
    "video_url": {
      "@id": "kling:video_url",
      "@type": "xsd:string"
    },
    "text": {
      "@id": "kling:text",
      "@type": "xsd:string"
    },
    "voice_id": {
      "@id": "kling:voice_id",
      "@type": "xsd:string"
    },
    "audio_url": {
      "@id": "kling:audio_url",
      "@type": "xsd:string"
    },
    "TextToVideoRequest": "kling:TextToVideoRequest",
    "VideoEffectsRequest": "kling:VideoEffectsRequest",
    "effect_scene": {
      "@id": "kling:effect_scene",
      "@type": "xsd:string"
    },
    "images": {
      "@id": "kling:images",
      "@container": "@list"
    },
    "VideoExtendRequest": "kling:VideoExtendRequest",
    "VirtualTryOnRequest": "kling:VirtualTryOnRequest",
    "human_image": {
      "@id": "kling:human_image",
      "@type": "xsd:string"
    },
    "cloth_image": {
      "@id": "kling:cloth_image",
      "@type": "xsd:string"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "Kling AI API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Kling AI's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-26) from openapi/kling-ai-account-api-openapi.yml, openapi/kling-ai-image-generation-api-openapi.yml, openapi/kling-ai-image-to-video-api-openapi.yml.",
  "dcterms:created": "2026-11-26",
  "dcterms:source": [
    "openapi/kling-ai-account-api-openapi.yml",
    "openapi/kling-ai-image-generation-api-openapi.yml",
    "openapi/kling-ai-image-to-video-api-openapi.yml",
    "openapi/kling-ai-lip-sync-api-openapi.yml",
    "openapi/kling-ai-text-to-video-api-openapi.yml"
  ]
}