VideoPrompt
Namespace: Vercel.AI.Operations
public sealed class VideoPromptText prompt or a prompt with a start image.
Inheritance: object
Constructors
Section titled “Constructors”VideoPrompt(string?)
Section titled “VideoPrompt(string?)”public VideoPrompt(string? text)Creates a text prompt.
Parameters
| Name | Type | Description |
|---|---|---|
text |
string |
VideoPrompt(string?, object?)
Section titled “VideoPrompt(string?, object?)”public VideoPrompt(string? text, object? image)Creates a prompt with an image.
Parameters
| Name | Type | Description |
|---|---|---|
text |
string | |
image |
object |
Properties
Section titled “Properties”HasImage
Section titled “HasImage”public bool HasImage { get; }True when the object form was used.
Value: bool
public object? Image { get; }Start image.
Value: object
public string? Text { get; }Prompt text.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product