Expand description
Video generation (feature video): generate_video supports the
synchronous flow (do_generate) and the asynchronous flow
(do_start/do_status, with polling or a webhook).
Design: docs/01-architecture/11-other-modalities.md §6.
Structs§
- Frame
Image - An input image anchored to a frame.
- Generate
Video - Builder returned by
generate_video;.awaitruns the calls. - Generate
Video Result - Result of
generate_video. - Generated
Video - A generated video.
- Poll
Config - Polling configuration of the asynchronous flow.
- Video
File - An input file for video generation: inline bytes or a URL.
- Webhook
Handle - A prepared webhook: the URL to hand to the provider and a future that resolves when the callback arrives.
- Webhook
Payload - Payload delivered to a webhook.
Enums§
- Frame
Type - Which frame an input image anchors.
- Video
Aspect Ratio - Aspect ratio for video: a fixed ratio or provider-chosen (
adaptive).
Functions§
- generate_
video - Generates videos from a text prompt.
Type Aliases§
- Webhook
Factory - Creates webhooks; implemented by the application (the SDK runs no server).