Civitai · Schema

Civitai Orchestration Workflow

An orchestration workflow submitted to the Civitai Orchestration API.

Artificial IntelligenceImage-GenerationVideo GenerationStable DiffusionSDXLFluxLoRAModel HostingCommunityGenerative AI

Properties

Name Type Description
id string
status string
tags array
callbackUrl string
callbackEvents array
createdAt string
startedAt string
completedAt string
cost object
steps array
View JSON Schema on GitHub

JSON Schema

civitai-workflow-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/civitai/main/json-schema/civitai-workflow-schema.json",
  "title": "Civitai Orchestration Workflow",
  "description": "An orchestration workflow submitted to the Civitai Orchestration API.",
  "type": "object",
  "required": ["id", "status"],
  "properties": {
    "id": { "type": "string" },
    "status": {
      "type": "string",
      "enum": ["unassigned", "preparing", "processing", "succeeded", "failed", "expired", "canceled"]
    },
    "tags": { "type": "array", "items": { "type": "string" } },
    "callbackUrl": { "type": "string", "format": "uri" },
    "callbackEvents": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": ["workflow:*", "workflow:succeeded", "workflow:failed", "workflow:processing", "workflow:expired", "workflow:canceled", "step:*", "job:*"]
      }
    },
    "createdAt": { "type": "string", "format": "date-time" },
    "startedAt": { "type": "string", "format": "date-time" },
    "completedAt": { "type": "string", "format": "date-time" },
    "cost": {
      "type": "object",
      "properties": {
        "base": { "type": "integer", "description": "Buzz cost." },
        "total": { "type": "integer" },
        "currency": { "type": "string", "enum": ["BUZZ"] }
      }
    },
    "steps": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "$type": {
            "type": "string",
            "enum": ["imageGen", "videoGen", "audioGen", "textGen", "transcribe", "tts", "music", "upscale", "interpolate", "training", "comfy", "moderation"]
          },
          "name": { "type": "string" },
          "status": { "type": "string" },
          "input": {
            "type": "object",
            "properties": {
              "engine": { "type": "string" },
              "model": { "type": "string", "description": "AIR identifier." },
              "prompt": { "type": "string" },
              "negativePrompt": { "type": "string" },
              "width": { "type": "integer" },
              "height": { "type": "integer" },
              "aspectRatio": { "type": "string" },
              "steps": { "type": "integer" },
              "cfgScale": { "type": "number" },
              "sampler": { "type": "string" },
              "seed": { "type": "integer" },
              "quantity": { "type": "integer" },
              "additionalNetworks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "air": { "type": "string" },
                    "strength": { "type": "number" }
                  }
                }
              }
            },
            "additionalProperties": true
          },
          "jobs": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": { "type": "string" },
                "status": { "type": "string" },
                "result": {
                  "type": "object",
                  "properties": {
                    "blobs": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "blobId": { "type": "string" },
                          "url": { "type": "string", "format": "uri" },
                          "mimeType": { "type": "string" },
                          "width": { "type": "integer" },
                          "height": { "type": "integer" },
                          "durationMs": { "type": "integer" },
                          "nsfwLevel": { "type": "integer" }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/civitai-workflow"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

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

Get an API key

Free tier, no email required.

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