TTMSMCPCloudImageAIService Enumeration
Image service a component sends its requests to. Selecting a value swaps the implementation that builds the requests and reads the responses, so it also decides which endpoints are called, which model names and extra parameters are meaningful, and which operations are supported at all.
API unit family: TMS.MCP.CloudImageAI
Members
| Name | Description |
|---|---|
isOpenAI |
Sends to the OpenAI image endpoints: prompt-only requests go to the image generation endpoint, and requests that carry reference images go to the image edit endpoint as a multipart upload. Defaults to the dall-e-2 model when no model name is set, and asks a dall-e model for inline base64 data. Extra parameters are merged into the request body or the form. Answers with the finished image, so no polling takes place. Background removal and background replacement are expressed as edit requests with a fixed instruction. |
isGemini |
Sends to the Gemini image endpoints, authenticating with the key in a dedicated request header. Defaults to the gemini-2.5-flash-image model and its content generation endpoint; a model name containing imagen switches to the prediction endpoint instead, which accepts a prompt but no reference images. Extra parameters are merged into the image configuration of the request. Answers with the finished image, so no polling takes place. |
isBFL |
Sends to the Black Forest Labs endpoints, defaulting to the flux-2-flex model, with the key in a dedicated request header and reference images inlined as base64 data. This is the only value that always answers with a job reference: the component then polls the returned address until the job reports that it is ready, downloads the image the response links to, and reports it as base64 data. Because the download runs while the response is handled on the main thread, a large image briefly blocks the user interface. |
isStability |
Sends to the Stability image endpoints as multipart uploads, defaulting to the sd3.5-flash model. Background removal has its own endpoint and answers directly. Background replacement is the one polled operation here: it starts a job and the component asks for its result every ten seconds until the job reports success or a filtered result. Transforming a single supplied image according to a prompt is not offered and raises an exception. |
isReve |
Sends to the Reve endpoints: prompt-only requests go to the create endpoint with the reve-create version by default, and requests carrying reference images go to the remix endpoint, where a configured version naming create is rewritten to its remix counterpart. Reference images are inlined as base64 data. Answers with the finished image, so no polling takes place. |