<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > SD - Stable Diffusion AI > SDO. Stable Diffusion Online > SDO. Stable Diffusion Online |
MiniRobotLanguage (MRL)
SDO.Set Image to Image Endpoint
Set or reset the endpoint for the image-to-image generation in Stable Diffusion Online (SDO).
Intention
The "SDO.Set Image to Image Endpoint" command allows users to specify a custom endpoint for the image-to-image generation process in Stable Diffusion Online (SDO). This enables flexibility in selecting different models or versions within the SDO framework. If the endpoint is not specified or set to an empty string, the command will use the currently selected SDO model as the endpoint.
A typical endpoint for SDO that could be specified as a parameter (the endpoint in SDO always contains the model) is:
https://api.stability.ai/v1/generation/stable-diffusion-xl-beta-v2-2-2/image-to-image
Syntax
SDO.Set Image to Image Endpoint[|P1]
Parameter Explanation
P1: (Optional) The full endpoint URL for the image-to-image generation in SDO. If omitted or set to an empty string, the command will use the current SDO. model to construct the endpoint.
Example
'***********************************
' SDO.-Sample
'***********************************
' Set a specific endpoint for image-to-image generation
SDO.Set image to Image Endpoint|https://api.stability.ai/v1/generation/stable-diffusion-xl-beta-v2-2-2/image-to-image
' Reset to use the current SDO model as the endpoint
SDO.Set Image to Image Endpoint|
Remarks
-
Limitations:
-
See also:
•