Insert object into video
视频 (Veo)
在视频中插入物体
Add an object to the video.
- With imageMask: insert at the masked area (white = insertion zone)
- Without imageMask: AI automatically determines placement based on prompt
POST
Insert object into video
概述
在之前生成的视频中添加物体。您可以使用可选的图像蒙版控制放置位置。两种模式
| 模式 | 描述 |
|---|---|
有 imageMask | 在蒙版区域插入(白色像素 = 插入区域) |
无 imageMask | AI 根据提示词自动确定最佳放置位置 |
授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
请求体
application/json
Video ID (mediaId) from a previously generated video
示例:
"CAUSJD..."
Prompt describing what to insert
示例:
"add a flying pig with black wings"
Base64 encoded JPEG image mask (optional). White areas indicate where to insert the object. If not provided, AI auto-determines placement.
示例:
"/9j/4AAQSkZJRg..."
响应
201 - application/json
task id, used to get task result later