ImagePromptParts
Namespace: Vercel.AI.Operations
public sealed class ImagePromptPartsNormalized image prompt fields.
Inheritance: object
Constructors
Section titled “Constructors”ImagePromptParts(string?, IReadOnlyList<ImageModelFile>?, ImageModelFile?)
Section titled “ImagePromptParts(string?, IReadOnlyList<ImageModelFile>?, ImageModelFile?)”public ImagePromptParts(string? prompt, IReadOnlyList<ImageModelFile>? files, ImageModelFile? mask)Creates normalized prompt fields.
Parameters
| Name | Type | Description |
|---|---|---|
prompt |
string | |
files |
IReadOnlyList<ImageModelFile> | |
mask |
ImageModelFile |
Properties
Section titled “Properties”public IReadOnlyList<ImageModelFile>? Files { get; }Reference files.
Value: IReadOnlyList<ImageModelFile>
public ImageModelFile? Mask { get; }Mask file.
Value: ImageModelFile
Prompt
Section titled “Prompt”public string? Prompt { get; }Prompt text.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product