Veo Objects API
POSThttps://api.acedata.cloud/veo/objects
Request Headers
acceptstring
The format of the response returned by the specified server should be set to `application/json`.
Please select
authorizationstring
Bearer token
Request Body
actionstringRequired parameter
`insert` indicates adding an object to the video; `remove` indicates deleting an object from the specified area. When using `insert`, `prompt` is a required field, and `image_mask` is optional (if not provided, the AI will automatically determine the placement); when using `remove`, `image_mask` is a required field.
video_idstringRequired parameter
The ID of the generated video task has been created. Videos generated through `/veo/extend` cannot be used as source videos.
promptstring
When `action=insert`, it is a required field used to describe the content to be added; when `action=remove`, it is an optional field used to describe the content to be removed (mainly for logging purposes, the actual operation area is determined by the mask image).
image_maskstring
Mask image, where white pixels indicate the area to be operated on. Supports publicly accessible HTTP(S) URLs or base64 encoded JPEG images (with or without the `data:image/jpeg;base64,` prefix). Required when `action=remove`; optional when `action=insert`.
callback_urlstring
The callback URL that will be called after the operation is completed.
asyncboolean
Whether to process in asynchronous mode. When set to `true`, the interface immediately returns `task_id`, without the need to provide `callback_url`, and then the result can be obtained by polling the corresponding task query interface; if `callback_url` is also provided, the result will be pushed to that callback address.
Please select
Response
Veo Video Generation
Allow Use General Balance
When 'Allow General Balance' is enabled, the general balance is used automatically if an app's balance is insufficient.
Kind reminder: For streaming requests, the above code may not be fully applicable. Please refer to the integration documentation for changes.
