Image to Video
AI-generatedSummary
Generate a video from a single input image URL using the Runway Gen4 models via the Kie.ai API.
Inputs
- Model — Select the Runway Gen4 model variant to use ('Gen4 Turbo' or 'Gen4'). Defaults to 'Gen4 Turbo'.
- Prompt (required) — A text prompt to guide the video generation, adding context or desired features to the resulting video.
- Image URL (required) — URL of the source image to generate the video from.
- End Frame URL — Optional URL of an image to be used as the last frame of the generated video.
- Quality (required) — Video output quality, selectable between 720p and 1080p.
- Aspect Ratio — Aspect ratio of the generated video, options include '16:9', '9:16', or '1:1'. Defaults to '16:9'.
- Duration (Seconds) — Duration of the generated video in seconds, either 5 or 10 seconds. Defaults to 5 seconds.
- Seed — Numerical seed for reproducibility of results; 0 means a random seed.
- Reply URL — Optional webhook URL to receive a callback when the video generation task completes.
- Reply Ref — Custom reference string to be passed back in the webhook callback.
- Captcha Token — reCAPTCHA token if the API requires verification.
- Wait for Completion — Whether to synchronously wait for the generation task to complete before returning (polls every 3 seconds, with a 5-minute timeout). Defaults to true.
Output shape
a JSON object containing the video generation task response and upon completion the detailed task result including URLs to the generated video frames or file
If 'Wait for Completion' is enabled, the node will poll the Runway API until the task succeeds or fails, returning the final result. Otherwise, it returns the immediate API response indicating the task has started. The output includes parsed fields like 'resultUrls' and 'videoUrls' for easy access to generated media URLs.
Examples
Example 1: Generate a short 5-second 720p video from an input image URL using the Gen4 Turbo model, with a prompt describing the desired video style, then wait until the video is fully generated before continuing the workflow.
Set 'Model' to 'Gen4 Turbo', provide a descriptive 'Prompt', supply a valid 'Image URL', select 'Quality' as '720p', set 'Duration (Seconds)' to 5, optionally specify 'Aspect Ratio' (defaults to 16:9), and enable 'Wait for Completion'. The output will include the URLs to the generated video upon successful completion.