Generate Video (Jimeng Video 3.0)
jimeng_generate_videoGenerate a 720P video from a first-frame image and text prompt, with 5s or 10s duration, returning a task ID for result retrieval.
Instructions
Submit a video generation task using Jimeng Video 3.0 (即梦视频3.0).
This is an image-to-video (first frame) model. You provide:
A first-frame image (URL or base64) as the starting visual
A text prompt describing the desired motion/action
Output: 720P video, either 5 seconds (121 frames) or 10 seconds (241 frames).
Args:
prompt (string, required): Text description of desired video motion/content. Chinese or English. Max ~800 chars.
image_url (string, optional): URL of the first-frame image. JPEG/PNG, max 4.7MB, max 4096x4096, min short side 320px, aspect ratio within 3:1.
image_base64 (string, optional): Base64-encoded first-frame image. Same constraints as image_url.
frames (number, optional): Total frames. 121 = 5 seconds, 241 = 10 seconds. Default: 121 (5s).
seed (number, optional): Random seed for reproducibility. Default: -1 (random).
Note: Either image_url or image_base64 must be provided (one of the two).
Returns: task_id for querying results with jimeng_query_video_task.
Examples:
prompt="镜头缓缓拉远,花瓣随风飘落" + image_url="https://..." -> 5s video
prompt="The camera slowly zooms out as petals fall" + image_url="https://..." + frames=241 -> 10s video
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Random seed. -1 for random. Same seed + same params = same result. | |
| frames | No | Total frames: 121 for 5s video, 241 for 10s video. Default: 121. | |
| prompt | Yes | Video generation prompt. Chinese or English. Max 800 chars. | |
| image_url | No | First-frame image URL. JPEG/PNG, max 4.7MB, max 4096x4096. | |
| image_base64 | No | First-frame image as base64 string. Alternative to image_url. |