4Z API

image-to-video

Endpoint: POST https://4zapi.com/kling/image-to-video/kling-3.0-turbo

Request body (application/json)

  • contents (array, required): Content array, required. Rules: (1) ≥1 type=first_frame with url; (2) optional type=prompt (text ≤2500); (3) type only prompt/first_frame else 400.
  • options (object): Task control parameters, all optional.
  • settings (object): Generation params, all optional. Warning: I2V body pass-through; missing settings are not defaulted—set explicitly.

Request example

{
  "contents": [
    {
      "type": "first_frame",
      "url": "https://example.com/first-frame.jpg"
    }
  ],
  "settings": {
    "aspect_ratio": "16:9",
    "duration": 5,
    "resolution": "720p"
  }
}