Kie.ai icon

Kie.ai

Generate images, videos, and music using Kie.ai API

Actions9

Video → Image to Video

AI-generated

Summary

Generate a video from an image using a selected model.

Inputs

  • model (required) — The model to use for generating the video (Kling, Runway, or Veo).
  • prompt (required) — The text prompt describing the desired video content.
  • imageUrl (required) — The URL of the source image to base the video on.
  • duration — Duration in seconds for the generated video.
  • fps — Frames per second for the video.
  • aspectRatio — Aspect ratio of the output video (e.g., 16:9, 9:16, 1:1).
  • cameraMovement — Specifies the camera movement effect.
  • seed — Random seed for reproducible results; -1 uses system default.
  • quality — Quality setting, either 'standard' or 'high'.
  • sound — Whether to include audio in the video.

Output shape

a single record containing the job creation response

Includes the assigned task ID and other metadata; to retrieve the final video you must poll the task status or download the result using the fetch operation.

Examples

Example 1: Create a short promotional video from an image

model=kling, prompt="A futuristic cityscape at sunset", imageUrl=https://example.com/city.jpg, duration=8, quality=high, sound=true

Example 2: Check the status of a previously started video generation task

resource=video, operation=getStatus, taskId="abc123", waitForCompletion=true

Links

Discussion