Civitai · Capability

Civitai Orchestration — Image Generation

Civitai Orchestration — Image Generation. Composition over the workflows submit endpoint with a shaped tool surface for Flux 1/2, SDXL, SD1, Z-Image, Qwen, Seedream, and Grok image generators. Self-contained Naftiko capability.

Civitai Orchestration — Image Generation is a Naftiko capability published by Civitai, one of 13 capabilities the APIs.io network indexes for this provider. It bundles 1 operation across the POST method rooted at /v2/consumer/workflows/image.

The capability includes 1 state-changing operation. Lead operation: Generate an image with a Civitai-hosted engine (Flux, SDXL, SD1, Z-Image, Qwen, Seedream, Grok). Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Civitai, Orchestration, Image Generation, Flux, and SDXL.

Run with Naftiko CivitaiOrchestrationImage GenerationFluxSDXLWorkflows

What You Can Do

POST
Submitimagegen — Submit an image generation workflow.
/v2/consumer/workflows/image

MCP Tools

civitai-generate-image

Generate an image with a Civitai-hosted engine (Flux, SDXL, SD1, Z-Image, Qwen, Seedream, Grok).

Capability Spec

orchestration-image-generation.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Civitai Orchestration — Image Generation
  description: 'Civitai Orchestration — Image Generation. Composition over the workflows submit endpoint with
    a shaped tool surface for Flux 1/2, SDXL, SD1, Z-Image, Qwen, Seedream, and Grok image generators.
    Self-contained Naftiko capability.'
  tags:
  - Civitai
  - Orchestration
  - Image Generation
  - Flux
  - SDXL
  - Workflows
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    CIVITAI_API_KEY: CIVITAI_API_KEY
capability:
  consumes:
  - type: http
    namespace: orchestration-imagegen
    baseUri: https://orchestration.civitai.com
    description: Civitai Orchestration — Image Generation.
    resources:
    - name: workflows
      path: /v2/consumer/workflows
      operations:
      - name: submitimagegen
        method: POST
        description: Submit an image generation workflow.
        outputRawFormat: json
        outputParameters:
        - { name: result, type: object, value: $. }
        inputParameters:
        - { name: body, in: body, type: object, required: true }
      - name: queryimagegens
        method: GET
        description: Query image-generation workflows.
        outputRawFormat: json
        outputParameters:
        - { name: result, type: object, value: $. }
        inputParameters:
        - { name: take, in: query, type: integer }
        - { name: cursor, in: query, type: string }
        - { name: tags, in: query, type: array }
    authentication:
      type: apikey
      key: Authorization
      value: 'Bearer {{env.CIVITAI_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: orchestration-imagegen-rest
    port: 8080
    description: REST adapter for Image Generation workflows.
    resources:
    - path: /v2/consumer/workflows/image
      name: image-workflows
      operations:
      - method: POST
        name: submitimagegen
        description: Submit an image generation workflow.
        call: orchestration-imagegen.submitimagegen
        with: { body: rest.body }
        outputParameters: [{ type: object, mapping: $. }]
  - type: mcp
    namespace: orchestration-imagegen-mcp
    port: 9090
    transport: http
    description: MCP adapter for Image Generation.
    tools:
    - name: civitai-generate-image
      description: Generate an image with a Civitai-hosted engine (Flux, SDXL, SD1, Z-Image, Qwen, Seedream, Grok).
      hints: { readOnly: false, destructive: false, idempotent: false }
      call: orchestration-imagegen.submitimagegen
      with:
        body: tools.body
      outputParameters: [{ type: object, mapping: $. }]