Kling AI · Schema
ImageGenerationRequest
Video GenerationAI VideoGenerative AIImage-to-VideoArtificial IntelligenceGenerative VideoLip SyncVirtual Try-OnImage Generation
Properties
| Name | Type | Description |
|---|---|---|
| model_name | string | Image model, e.g. kling-v1, kling-v1-5, kling-v2, kling-v2-1. |
| prompt | string | |
| negative_prompt | string | |
| image | string | Optional reference image URL or base64 string. |
| image_reference | string | How the reference image is used. |
| n | integer | Number of images to generate. |
| aspect_ratio | string | |
| callback_url | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/kling-ai/json-schema/kling-ai-image-generation-request-schema.json",
"title": "ImageGenerationRequest",
"x-generated": "2026-11-26",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/kling-ai-image-generation-api-openapi.yml#/components/schemas/ImageGenerationRequest",
"type": "object",
"required": [
"prompt"
],
"properties": {
"model_name": {
"type": "string",
"description": "Image model, e.g. kling-v1, kling-v1-5, kling-v2, kling-v2-1."
},
"prompt": {
"type": "string"
},
"negative_prompt": {
"type": "string"
},
"image": {
"type": "string",
"description": "Optional reference image URL or base64 string."
},
"image_reference": {
"type": "string",
"enum": [
"subject",
"face"
],
"description": "How the reference image is used."
},
"n": {
"type": "integer",
"description": "Number of images to generate."
},
"aspect_ratio": {
"type": "string",
"enum": [
"16:9",
"9:16",
"1:1",
"4:3",
"3:4"
]
},
"callback_url": {
"type": "string"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/kling-ai-image-generation-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.