Class VideoExtendParams
-
- All Implemented Interfaces:
-
com.openai.core.Params
public final class VideoExtendParams implements Params
Create an extension of a completed video.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classVideoExtendParams.BuilderA builder for VideoExtendParams.
public final classVideoExtendParams.BodyMultipart parameters for extending an existing generated video.
public final classVideoExtendParams.VideoReference to the completed video to extend.
-
Method Summary
Modifier and Type Method Description final Stringprompt()Updated text prompt that directs the extension generation. final VideoSecondsseconds()Length of the newly generated extension segment in seconds (allowed values: 4, 8, 12, 16, 20). final VideoExtendParams.Videovideo()Reference to the completed video to extend. final MultipartField<String>_prompt()Returns the raw multipart value of prompt. final MultipartField<VideoSeconds>_seconds()Returns the raw multipart value of seconds. final MultipartField<VideoExtendParams.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 VideoExtendParams.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 VideoExtendParams.Builderbuilder()Returns a mutable builder for constructing an instance of VideoExtendParams. -
-
Method Detail
-
seconds
final VideoSeconds seconds()
Length of the newly generated extension segment in seconds (allowed values: 4, 8, 12, 16, 20).
-
video
final VideoExtendParams.Video video()
Reference to the completed video to extend.
-
_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.
-
_seconds
final MultipartField<VideoSeconds> _seconds()
Returns the raw multipart value of seconds.
Unlike seconds, this method doesn't throw if the multipart field has an unexpected type.
-
_video
final MultipartField<VideoExtendParams.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 VideoExtendParams.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 VideoExtendParams.Builder builder()
Returns a mutable builder for constructing an instance of VideoExtendParams.
The following fields are required:
.prompt() .seconds() .video()
-
-
-
-