mapToArliAiRequest

Converts text-to-image settings into an ArliAI SDNext payload.

Sampling steps are clamped to the ArliAI-supported range and ADetailer fields are sent only when the feature is enabled.

Return

provider request payload ready for JSON serialization.

Author

Dmitriy Moroz

Parameters

model

checkpoint name sent as sd_model_checkpoint.


Converts image-to-image settings into an ArliAI SDNext payload.

Sampling steps are clamped to the ArliAI-supported range, the optional mask is omitted when blank, and ADetailer fields are sent only when the feature is enabled.

Return

provider request payload ready for JSON serialization.

Author

Dmitriy Moroz

Parameters

model

checkpoint name sent as sd_model_checkpoint.