Skip to main content
Video models

Kling 3.0 — Standard · Text to video API

Standard · Text to video with Kling 3.0: request parameters, examples and response handling.

← Kling 3.0

Endpoint: POST https://api.higgsfield.ai/kling-video/v3.0/std/text-to-video

Endpoint ID: kling-video/v3.0/std/text-to-video

▶Open API PlaygroundKling 3.0 · Standard · Text to video↗

#Usage notes

  • Always include a non-empty top-level prompt, including when using multi_prompt. Keep it within 2,500 characters; longer prompts are truncated.
  • For custom shots, set multi_shots to true and provide 1–6 multi_prompt objects. Each object needs prompt (at most 512 characters) and duration (a positive integer from 1 to 15 seconds).
  • Custom-shot durations are summed for generation and billing; the top-level duration does not override that sum. With multi_shots enabled and no custom shots, the top-level duration is retained.
  • Native audio uses sound: on or off and defaults to on.
  • elements contains Kling element IDs as decimal strings. Each ID must belong to the account making the request; arbitrary provider IDs are rejected.

#Quick start

cURL
curl --request POST \
  --url https://api.higgsfield.ai/kling-video/v3.0/std/text-to-video \
  --header "Authorization: Key ${HF_API_KEY_ID}:${HF_API_KEY_SECRET}" \
  --header "Content-Type: application/json" \
  --header "Idempotency-Key: ${IDEMPOTENCY_KEY}" \
  --data '{
  "prompt": "A slow cinematic tracking shot along a sunlit coastal road."
}'

#Input schema

sound string (default: on)

Enable sound for the output video. Allowed values: "on", "off".

prompt string

Write your prompt here

duration integer (default: 5)

Requested output duration in seconds. Minimum: 3. Maximum: 15.

elements array

Each item: string.

cfg_scale number (default: 0.5)

Minimum: 0. Maximum: 1. Multiple of: 0.01.

multi_shots boolean (default: false)

See the complete JSON schema below.

aspect_ratio string (default: 16:9)

Output width-to-height ratio. Allowed values: "16:9", "9:16", "1:1".

multi_prompt array

Minimum items: 1. Maximum items: 6.

Nested fields

multi_prompt[].prompt string

Text instructions for the generation or edit. Maximum characters: 512.

multi_prompt[].duration integer

Requested output duration in seconds. Minimum: 1. Maximum: 15.

Complete JSON schema
json
{
  "type": "object",
  "title": "Kling 3.0 Playground",
  "properties": {
    "sound": {
      "enum": [
        "on",
        "off"
      ],
      "type": "string",
      "title": "Generate sound",
      "default": "on"
    },
    "prompt": {
      "type": "string",
      "title": "Prompt",
      "description": "Write your prompt here"
    },
    "duration": {
      "type": "integer",
      "title": "Duration",
      "default": 5,
      "maximum": 15,
      "minimum": 3
    },
    "elements": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "cfg_scale": {
      "type": "number",
      "title": "CFG Scale",
      "default": 0.5,
      "maximum": 1,
      "minimum": 0,
      "multipleOf": 0.01
    },
    "multi_shots": {
      "type": "boolean",
      "default": false
    },
    "aspect_ratio": {
      "enum": [
        "16:9",
        "9:16",
        "1:1"
      ],
      "type": "string",
      "title": "Aspect ratio",
      "default": "16:9"
    },
    "multi_prompt": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "prompt": {
            "type": "string",
            "maxLength": 512
          },
          "duration": {
            "type": "integer",
            "maximum": 15,
            "minimum": 1
          }
        }
      },
      "maxItems": 6,
      "minItems": 1
    }
  }
}

#Response

Submission returns a request handle. Poll status_url until status is completed, or use webhooks.

Accepted
{
  "status": "queued",
  "request_id": "REQUEST_ID",
  "status_url": "https://api.higgsfield.ai/requests/REQUEST_ID/status",
  "cancel_url": "https://api.higgsfield.ai/requests/REQUEST_ID/cancel"
}

A completed response includes the following output fields:

json
{
  "status": "completed",
  "request_id": "REQUEST_ID",
  "video": {
    "url": "https://example.com/output.mp4"
  }
}

See idempotent requests, polling, request errors and authentication for shared request handling.

Was this page helpful?
Navigation