Remove object from video
Gemini Video (Veo 2/3/3.1)
Remove Object from Video
Remove an object from a specific area of the video using a mask. White areas in the mask indicate the object to remove. imageMask is required for removal operations.
POST
Remove object from video
Overview
Remove an object from a specific area of a previously generated video using a mask image.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Video ID (mediaId) from a previously generated video
Example:
"CAUSJD..."
Base64 encoded JPEG image mask (required). White areas indicate the object to remove.
Example:
"/9j/4AAQSkZJRg..."
Prompt describing what to remove (can be empty string)
Example:
"remove the white cloud"
Response
201 - application/json
task id, used to get task result later