Actions2
Image-to-Video
AI-generatedSummary
Generate video from images using a text prompt, mode, and duration
Inputs
- prompt (required) — Text description of desired video motion (max 5000 characters, English). Include movement, action sequences, camera work, and timing.
- imageUrls — Comma-separated list of external image URLs to transform into video. Cannot be used together with Task ID.
- mode — Video generation style and motion intensity
- duration — Video length in seconds
- taskId — Task ID from a previously generated Grok image. Cannot be used together with Image URLs. Use with Index to select a specific image.
- index — Selects which generated image to use when working with Task ID (0-5). Ignored if Image URLs is provided.
- callBackUrl — Optional webhook URL to receive completion notification. Note: Generated video URLs are valid for 24 hours.
Output shape
Execution metadata from Kie API response, wrapped via n8n's constructExecutionMetaData. Generated video URLs are valid for 24 hours.
If continueOnFail is enabled, validation errors are returned as JSON with an 'error' key instead of halting the workflow.