Class VideoEditParams
-
- All Implemented Interfaces:
-
com.openai.core.Params
public final class VideoEditParams implements Params
Create a new video generation job by editing a source video or existing generated video.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classVideoEditParams.BuilderA builder for VideoEditParams.
public final classVideoEditParams.BodyParameters for editing an existing generated video.
public final classVideoEditParams.VideoReference to the completed video to edit.
-
Method Summary
Modifier and Type Method Description final Stringprompt()Text prompt that describes how to edit the source video. final VideoEditParams.Videovideo()Reference to the completed video to edit. final MultipartField<String>_prompt()Returns the raw multipart value of prompt. final MultipartField<VideoEditParams.Video>_video()Returns the raw multipart value of video. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final VideoEditParams.BuildertoBuilder()final Map<String, MultipartField<?>>_body()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static VideoEditParams.Builderbuilder()Returns a mutable builder for constructing an instance of VideoEditParams. -
-
Method Detail
-
video
final VideoEditParams.Video video()
Reference to the completed video to edit.
-
_prompt
final MultipartField<String> _prompt()
Returns the raw multipart value of prompt.
Unlike prompt, this method doesn't throw if the multipart field has an unexpected type.
-
_video
final MultipartField<VideoEditParams.Video> _video()
Returns the raw multipart value of video.
Unlike video, this method doesn't throw if the multipart field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final VideoEditParams.Builder toBuilder()
-
_body
final Map<String, MultipartField<?>> _body()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static VideoEditParams.Builder builder()
Returns a mutable builder for constructing an instance of VideoEditParams.
The following fields are required:
.prompt() .video()
-
-
-
-