model
Get model preview image
Returns a preview image for the specified model. The image is returned in WebP format for optimal performance.
get/api/experiment/models/preview/{folder}/{path_index}/{filename}
Request
- Base URLhttps://api.comfy.org
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
folderstring required
Example:checkpoints
The folder name containing the model
path_indexinteger required
The path index (usually 0 for cloud service)
filenamestring required
Example:model.safetensors
The model filename (with or without .webp extension)
Response
Success - Model preview image
Changes
No recorded changes to this operation across all 1 revision of this API.