Actions2
Text-to-Video
AI-generatedSummary
Generate a video from a text prompt using the Hailuo 02 Pro model.
Inputs
- prompt (required) — Detailed text description for video generation. Supports complex cinematic descriptions with camera movements, environments, and visual effects.
- promptOptimizer — Whether to automatically enhance and refine the prompt before processing.
- callBackUrl — Optional webhook URL to receive completion notification.
Output shape
main
Execution metadata array returned per input item, containing the Hailuo API task creation response parsed by constructExecutionMetaData.
Examples
Example 1: Create a video from a cinematic prompt
prompt: 'Cinematic wide shot: A colossal starship drifts silently above the rings of Saturn...', promptOptimizer: true, callBackUrl: ''