capabilities.work

Tag-Driven Model Discovery

A 3-step recipe with Civitai. We can help you get access.

Recipe · 3 steps

Tag-Driven Model Discovery

with Civitai

Resolve a tag, list its models, and open the top-ranked model.

  1. Search the tag catalog and capture the first matching tag name.
  2. List models carrying the resolved tag, ordered by the requested sort, and capture the top model id.
  3. Open the highest-ranked tagged model for full detail including versions and creator.
What you'll need to have ready
  • apiKey: Civitai personal API token used as a Bearer credential.
  • tagQuery: Search term used to find a tag in the catalog taxonomy.
  • sort: Model sort order, one of 'Highest Rated', 'Most Downloaded', 'Newest'.
For your developer

Arazzo workflow civitai:tag-models-discovery, 3 operations: listTags → listModels → getModel. Specs on APIs.io.