Civitai · Arazzo Workflow

Civitai Model Images Explorer

Version 1.0.0

Open a model, browse its community images, and resolve the version behind the top image.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub Artificial IntelligenceImage-GenerationVideo GenerationStable DiffusionSDXLFluxLoRAModel HostingCommunityGenerative AIArazzoWorkflows

Provider

civitai

Workflows

model-images-explorer
Load a model, list its images, and resolve its primary version.
Fetches a model by id, lists community images for that model, and resolves the model's first version for files and AIR.
3 steps inputs: apiKey, imageLimit, modelId, nsfw outputs: air, modelName, primaryVersionId, topImageUrl
1
getModelDetail
Load the target model and capture its first model version id for the follow-up version lookup.
2
listModelImages
Fetch a page of community images filtered to the target model, ordered by most reactions.
3
resolvePrimaryVersion
Resolve the model's primary version to expose files, hashes, and the AIR identifier behind the imagery.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Civitai Model Images Explorer
  summary: Open a model, browse its community images, and resolve the version behind the top image.
  description: >-
    Explores the visual output associated with a single model. The workflow
    loads a model by id, fetches a page of community images filtered to that
    model, and then resolves the specific model version referenced by the model
    so a client can connect generated imagery back to the exact weights used.
    Every step spells out its request inline so the flow can be read and executed
    without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: imagesApi
  url: ../openapi/civitai-images-api-openapi.yml
  type: openapi
- name: modelsApi
  url: ../openapi/civitai-models-api-openapi.yml
  type: openapi
- name: modelversionsApi
  url: ../openapi/civitai-modelversions-api-openapi.yml
  type: openapi
workflows:
- workflowId: model-images-explorer
  summary: Load a model, list its images, and resolve its primary version.
  description: >-
    Fetches a model by id, lists community images for that model, and resolves
    the model's first version for files and AIR.
  inputs:
    type: object
    required:
    - apiKey
    - modelId
    properties:
      apiKey:
        type: string
        description: Civitai personal API token used as a Bearer credential.
      modelId:
        type: integer
        description: The numeric id of the model to explore.
      nsfw:
        type: string
        description: Image NSFW ceiling filter (None, Soft, Mature, X).
      imageLimit:
        type: integer
        description: Maximum number of images to return.
  steps:
  - stepId: getModelDetail
    description: >-
      Load the target model and capture its first model version id for the
      follow-up version lookup.
    operationId: getModel
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiKey
    - name: id
      in: path
      value: $inputs.modelId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      modelName: $response.body#/name
      modelType: $response.body#/type
      primaryVersionId: $response.body#/modelVersions/0/id
  - stepId: listModelImages
    description: >-
      Fetch a page of community images filtered to the target model, ordered by
      most reactions.
    operationId: listImages
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiKey
    - name: modelId
      in: query
      value: $inputs.modelId
    - name: nsfw
      in: query
      value: $inputs.nsfw
    - name: sort
      in: query
      value: Most Reactions
    - name: limit
      in: query
      value: $inputs.imageLimit
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      topImageUrl: $response.body#/items/0/url
      topImageId: $response.body#/items/0/id
      totalImages: $response.body#/metadata/totalItems
  - stepId: resolvePrimaryVersion
    description: >-
      Resolve the model's primary version to expose files, hashes, and the AIR
      identifier behind the imagery.
    operationId: getModelVersion
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiKey
    - name: id
      in: path
      value: $steps.getModelDetail.outputs.primaryVersionId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      versionName: $response.body#/name
      baseModel: $response.body#/baseModel
      air: $response.body#/air
  outputs:
    modelName: $steps.getModelDetail.outputs.modelName
    topImageUrl: $steps.listModelImages.outputs.topImageUrl
    primaryVersionId: $steps.getModelDetail.outputs.primaryVersionId
    air: $steps.resolvePrimaryVersion.outputs.air

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/civitai-model-images-explorer-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.