Package com.openai.models.videos
Class VideoEditParams.Body
-
- All Implemented Interfaces:
public final class VideoEditParams.BodyParameters for editing an existing generated video.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classVideoEditParams.Body.BuilderA builder for Body.
-
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>_additionalProperties()final VideoEditParams.Body.BuildertoBuilder()final VideoEditParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static VideoEditParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final VideoEditParams.Body.Builder toBuilder()
-
validate
final VideoEditParams.Body validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static VideoEditParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.prompt() .video()
-
-
-
-