Civitai · Arazzo Workflow
Civitai Permission-Gated Version Download
Version 1.0.0
Resolve a model version, check the bearer's permissions, and branch on download rights.
View Spec
View on GitHub
AIArtificial IntelligenceImage GenerationVideo GenerationStable DiffusionSDXLFluxLoRAModel HostingCommunityGenerative AIArazzoWorkflows
Provider
Workflows
permission-gated-download
Check permissions on a model version and branch on download rights.
Resolves a model version, checks the bearer's permissions, and either surfaces the download URL or ends without it.
1
resolveVersion
getModelVersion
Resolve the model version so the permission check has a confirmed entity id.
2
checkPermission
checkPermissions
Check the current bearer's permissions against the model version, then branch on the download decision.
3
surfaceDownload
getModelVersion
Reload the model version to surface the download URL once download is permitted.