image To Video
Convert an image to a video.
Use effectsBlock to customize the effects for the final video.
Return
A Flow that emits TransformerStatus.
Parameters
The input image to transform.
The output file to write to.
The duration of the final video.
The frame rate of the final video.
The delay between polling for progress.
A block to customize the effects for the final video.
Convert an image to a video in a coroutine.
Use effectsBlock to customize the effects for the final video.
Return
A TransformerStatus.Finished status.
Parameters
The input image to transform.
The output file to write to.
The duration of the final video.
The frame rate of the final video.
The delay between polling for progress.
A block to customize the effects for the final video.
The callback to use for progress updates.
Deprecated
Using TransformerRequest has been deprecated
Replace with
imageToVideo(input, output, durationMs, frameRate, progressPollDelayMs, effectsBlock)
Convert an image to a video.
Use effectsBlock to customize the effects for the final video.
Return
A Flow that emits TransformerStatus.
Parameters
The input image to transform.
The output file to write to.
The TransformationRequest to use.
The duration of the final video.
The frame rate of the final video.
The delay between polling for progress.
A block to customize the effects for the final video.
Deprecated
Using TransformerRequest has been deprecated
Replace with
imageToVideo(input, output, durationMs, frameRate, progressPollDelayMs, effectsBlock, onProgress)
Convert an image to a video in a coroutine.
Use effectsBlock to customize the effects for the final video.
Return
A TransformerStatus.Finished status.
Parameters
The input image to transform.
The output file to write to.
The TransformationRequest to use.
The duration of the final video.
The frame rate of the final video.
The delay between polling for progress.
A block to customize the effects for the final video.
The callback to use for progress updates.
Deprecated
Using TransformerRequest has been deprecated
Replace with
start(input, output, progressPollDelayMs, onProgress)
Convert an image to a video in a coroutine.
Use effectsBlock to customize the effects for the final video.
Return
A TransformerStatus.Finished status.
Parameters
The input image to transform.
The output file to write to.
The TransformationRequest to use.
The duration of the final video.
The frame rate of the final video.
The delay between polling for progress.
A block to customize the effects for the final video.
The callback to use for progress updates.