Colour Memory Visual API

The Visual API from Colour Memory — 2 operation(s) for visual.

GitHub OpenAPI

Operations 2

POST /visual/house-specify Visual House Specify #
GET /visual/export/{result_id}/{fmt} Visual Export #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/colourmemory-com:colourmemory-com-visual-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

colourmemory-com-visual-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Colourmemory Com Visual API
  version: 2.3.4
  description: 'Operations tagged Visual across 2 of this provider''s published API definitions: colourmemory-com-openapi.json, colourmemory-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.colourmemory.com
  description: Host serving this spec; also named as mcp_endpoint host in https://api.colourmemory.com/mcp discovery document (vendor PR Eye Ltd).
tags:
- name: Visual
paths:
  /visual/house-specify:
    post:
      summary: Visual House Specify
      description: 'house_specify, plus the rendered visual result and its download links.


        The prose answer is unchanged and still comes from the model; this adds the

        colour the payload always contained but never showed.'
      operationId: visual_house_specify_visual_house_specify_post
      parameters:
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: origin
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Origin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HouseSpecifyRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Visual
  /visual/export/{result_id}/{fmt}:
    get:
      summary: Visual Export
      description: 'Download one export of a displayed result.


        `result_id` is matched against a strict pattern and then used only as a

        dict key; `fmt` is matched against a fixed allowlist. Neither ever becomes

        a path, so no user input can address a server-side file.'
      operationId: visual_export_visual_export__result_id___fmt__get
      parameters:
      - name: result_id
        in: path
        required: true
        schema:
          type: string
          title: Result Id
      - name: fmt
        in: path
        required: true
        schema:
          type: string
          title: Fmt
      - name: t
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: T
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Visual
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    HouseRoomSpec:
      properties:
        label:
          type: string
          title: Label
        room_type:
          type: string
          title: Room Type
          default: living
        orientation:
          anyOf:
          - type: string
          - type: 'null'
          title: Orientation
          default: ''
        function:
          anyOf:
          - type: string
          - type: 'null'
          title: Function
          default: ''
        requested_character:
          anyOf:
          - type: string
          - type: 'null'
          title: Requested Character
          default: ''
        surface_targets:
          items:
            $ref: '#/components/schemas/HouseSurfaceTarget'
          type: array
          title: Surface Targets
          default: []
        surfaces:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Surfaces
          default: []
      type: object
      required:
      - label
      title: HouseRoomSpec
    HouseSpecifyRequest:
      properties:
        concept:
          type: string
          title: Concept
        output_format:
          type: string
          enum:
          - standard
          - scene_brief
          title: Output Format
          default: standard
        archive:
          type: string
          title: Archive
        rooms:
          items:
            $ref: '#/components/schemas/HouseRoomSpec'
          type: array
          title: Rooms
        colours_per_room:
          type: integer
          title: Colours Per Room
          default: 5
        shared_house_colours:
          type: integer
          title: Shared House Colours
          default: 2
        minimum_claim_strength:
          type: string
          title: Minimum Claim Strength
          default: B
        guidance_level:
          type: string
          enum:
          - client
          - decorator
          title: Guidance Level
          default: client
        avoid:
          items:
            type: string
          type: array
          title: Avoid
          default: []
        narrative_mode:
          type: string
          title: Narrative Mode
          default: evidence_only
        strict_semantic_colour:
          type: boolean
          title: Strict Semantic Colour
          default: true
        colour_direction:
          type: string
          enum:
          - balanced
          - distinctive
          title: Colour Direction
          description: Experimental -- opt-in only, not part of the stable API surface. Colour direction for this scheme. balanced (default) preserves the existing evidence-led specification. distinctive pushes this scheme toward a clearer, more committed colour identity where the documented archive supports it. How far it can go depends on the surviving evidence; the response reports what was achieved.
          default: balanced
        save:
          type: boolean
          title: Save
          default: false
      type: object
      required:
      - concept
      - archive
      - rooms
      title: HouseSpecifyRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HouseSurfaceTarget:
      properties:
        surface_role:
          type: string
          title: Surface Role
        target_hex:
          type: string
          title: Target Hex
          default: ''
        intent:
          type: string
          title: Intent
          default: ''
        allow_contrast:
          type: boolean
          title: Allow Contrast
          default: false
      type: object
      required:
      - surface_role
      title: HouseSurfaceTarget
      description: 'The colour the MODEL is aiming at for one surface in one room.


        A house draws its colours from one provenance-grouped pool and hands them

        out by list position -- dominant, secondary, joinery, textile, accent -- so

        nothing ever asked whether the colour landing on the walls was the colour

        the room was described as needing. A warm sitting room kept a lilac textile

        because no part of the pipeline knew what warm meant here.


        target_hex is a DESIGN TARGET, not a claim. It is not a measured historical

        colour, not an archive source and not evidence; it never appears as

        provenance, and it never relaxes an evidence floor or a guidance hold. It

        exists so retrieval can be held to the colour family the model actually

        meant, and the colour that ends up on the wall is still a real, sourced

        archive record carrying its own provenance.'
x-refined-from:
- colourmemory-com-openapi.json
- colourmemory-com-openapi.yml