curl --request GET \
--url https://cloud.comfy.org/api/experiment/models/preview/{folder}/{path_index}/{filename}"<string>"Returns a preview image for the specified model. The image is returned in WebP format for optimal performance.
curl --request GET \
--url https://cloud.comfy.org/api/experiment/models/preview/{folder}/{path_index}/{filename}"<string>"The folder name containing the model
"checkpoints"
The path index (usually 0 for cloud service)
0
The model filename (with or without .webp extension)
"model.safetensors"
Success - Model preview image
The response is of type file.
Was this page helpful?