DSL Outputs¶
Mark workflow outputs with the $output.name marker to easily reference generated media.
Basic Output Marking¶
{
"9": {
"class_type": "SaveImage",
"_meta": {
"title": "$output.cover"
},
"inputs": {
"filename_prefix": "book_cover",
"images": ["8", 0]
}
}
}
Access by name:
Multiple Outputs¶
{
"9": {
"class_type": "SaveImage",
"_meta": {
"title": "$output.cover"
}
},
"15": {
"class_type": "SaveImage",
"_meta": {
"title": "$output.thumbnail"
}
}
}
Access each:
Auto-detection¶
Without $output markers, ComfyKit auto-detects outputs by node ID:
Next Steps¶
- Read Best Practices