Generate Video and Wait (Jimeng Video 3.0)
jimeng_generate_video_and_waitGenerate a 5s or 10s video from a text prompt and first-frame image, then poll until completion and return the video URL.
Instructions
Generate a video using Jimeng Video 3.0 and automatically poll until complete.
Convenience tool that combines jimeng_generate_video + jimeng_query_video_task. Submits the task and polls for the result, returning the video URL when done.
All parameters are the same as jimeng_generate_video. Timeout: ~5 minutes (video generation is slower than image generation). Polling interval: 10 seconds.
Args:
prompt (string, required): Video motion/content description (Chinese or English, max 800 chars)
image_url (string, optional): First-frame image URL (JPEG/PNG)
image_base64 (string, optional): First-frame image as base64
frames (number, optional): 121 for 5s, 241 for 10s. Default: 121
seed (number, optional): Random seed. Default: -1
Note: Either image_url or image_base64 is required.
Returns: Video URL (valid 1 hour) or error message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Random seed | |
| frames | No | 121 for 5s, 241 for 10s | |
| prompt | Yes | Video generation prompt | |
| image_url | No | First-frame image URL | |
| image_base64 | No | First-frame image base64 |