Skip to content

Kling - V3 Turbo Text to Video ​

Endpoint ​

POST /videos/generations

Full URL: https://modelfold.ai/v1/videos/generations

Authentication: every request must include the Authorization: Bearer <API_KEY> header.

Send model parameters directly in the JSON body. Do not wrap them in input. This request waits for generation to finish and returns data[].url; supported media models also offer async jobs, polling and callbacks. Replace example media URLs with your own publicly accessible files. See API gateway for billing and errors.

Input parameters for the generation task

Request Parameters ​

Body (application/json) ​

ParameterTypeRequiredDescription
modelstringYesThe model name to use for generation. Required field.
- Must be kling/v3-turbo-text-to-video for this endpoint Default:"kling/v3-turbo-text-to-video"。 Allowed values:kling/v3-turbo-text-to-video。 Example:kling/v3-turbo-text-to-video。
promptstringYesPrompt required by the ModelFold gateway; at most 2000 characters. The text description of the video you want to generate (Max length: 2500 characters) maxLength: 2000. Example:Outdoor terrace of a European villa, by a dining table with a blue and white checkered tablecloth, a young white woman in a blue and white striped short-sleeve shirt and khaki shorts, with a brown belt, sits barefoot, opposite a young white man in a white T-shirt.The camera zooms in, the woman swirls the juice in a glass, her eyes looking at the distant woods, and says, "These trees will turn yellow in a month, won't they?"Close-up of the man, he lowers his head and says, "But they'll be green again next summer."Then the woman turns her head, smiles at the man opposite, and says, "Are you always this optimistic? Or just about summer?"Then the man lifts his head, looks at the woman and says, "Only about summers with you."。
durationstringYesRequired. The duration of the generated video in seconds
Optional duration: 3s - 15s ModelFold minimum: 3 seconds; -1 is not supported. Example:5。
aspect_ratiostringYesRequired. The aspect ratio of the generated video frame Allowed values:1:1 / 9:16 / 16:9。 Example:16:9。
resolutionstringYesRequired. Resolution of the generated video (720p or 1080p) Allowed values:720p / 1080p。 Example:720p。

Request Example ​

bash
curl -X POST "https://modelfold.ai/v1/videos/generations" \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "kling/v3-turbo-text-to-video",
  "prompt": "Outdoor terrace of a European villa, by a dining table with a blue and white checkered tablecloth, a young white woman in a blue and white striped short-sleeve shirt and khaki shorts, with a brown belt, sits barefoot, opposite a young white man in a white T-shirt.The camera zooms in, the woman swirls the juice in a glass, her eyes looking at the distant woods, and says, \"These trees will turn yellow in a month, won'\''t they?\"Close-up of the man, he lowers his head and says, \"But they'\''ll be green again next summer.\"Then the woman turns her head, smiles at the man opposite, and says, \"Are you always this optimistic? Or just about summer?\"Then the man lifts his head, looks at the woman and says, \"Only about summers with you.\"",
  "duration": "5",
  "aspect_ratio": "16:9",
  "resolution": "720p"
}'
json
{
  "model": "kling/v3-turbo-text-to-video",
  "prompt": "Outdoor terrace of a European villa, by a dining table with a blue and white checkered tablecloth, a young white woman in a blue and white striped short-sleeve shirt and khaki shorts, with a brown belt, sits barefoot, opposite a young white man in a white T-shirt.The camera zooms in, the woman swirls the juice in a glass, her eyes looking at the distant woods, and says, \"These trees will turn yellow in a month, won't they?\"Close-up of the man, he lowers his head and says, \"But they'll be green again next summer.\"Then the woman turns her head, smiles at the man opposite, and says, \"Are you always this optimistic? Or just about summer?\"Then the man lifts his head, looks at the woman and says, \"Only about summers with you.\"",
  "duration": "5",
  "aspect_ratio": "16:9",
  "resolution": "720p"
}

Response ​

200 — Generation completed. usage contains actual billing details; result URLs are illustrative. ​

json
{
  "ok": true,
  "created": 1792134000,
  "data": [
    {
      "url": "https://modelfold.ai/uploads/outputs/result.mp4"
    }
  ],
  "usage": {}
}

ModelFold — one API for all the best AI models.