TTMSMCPCloudAIImages Class
Collection of reference images that are sent together with the prompt when generating an image.
API unit family: TMS.MCP.CloudImageAI
Inherits from: TOwnedCollection
Syntax
TTMSMCPCloudAIImages = class(TOwnedCollection)
Remarks
The collection is owned by the component that exposes it and is freed with that component. While the collection is not empty, a prompt-only generate call is sent as an image editing request that passes every item as a reference image instead of as a plain text-to-image request. How many reference images a service accepts, and how it interprets their order, depends on the selected service.
Properties
| Name | Description |
|---|---|
| Items | Provides indexed access to the reference images in the collection. |
Methods
| Name | Description |
|---|---|
| Add | Appends a new empty image item to the collection. |
| Insert | Inserts a new empty image item at the given position in the collection. |