Actions9
- Image Actions
- 4o Image (GPT-Image-1) Actions
- Video Actions
- Music Actions
- Task Actions
- Fetch Actions
Video → Image to Video
AI-generatedSummary
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