Table of Contents

ITMSMCPCustomCloudImageAI.BuildTextToImageRequest Method

Fills a request with the service call that creates an image from a prompt.

API unit family: TMS.MCP.CloudImageAI Declaring type: ITMSMCPCustomCloudImageAI

Syntax

procedure BuildTextToImageRequest(ARequest: TTMSMCPCloudBaseRequest; APrompt: string);

Remarks

When the settings view carries reference images, the implementation builds an editing call that passes them alongside the prompt instead of a plain text-only call.

Parameters

Name Description
ARequest Request to populate. It has already been cleared, and its method, address, headers and body are set here.
APrompt Instruction describing the image to create.