Colour Memory Image API

The Image API from Colour Memory — 5 operation(s) for image.

GitHub OpenAPI

Operations 5

POST /image/palette Analyse Image Palette #
POST /image/personal Personal Colour Analysis #
POST /image/ingest Image Ingest Endpoint #
POST /image/brief Image Brief #
POST /image/upload Image Upload #

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-image-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

colourmemory-com-image-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Colourmemory Com Image API
  version: 2.3.4
  description: 'Operations tagged Image 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: Image
paths:
  /image/palette:
    post:
      summary: Analyse Image Palette
      description: Extract dominant colours from a base64 image or URL and match to archive.
      operationId: analyse_image_palette_image_palette_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImagePaletteRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Image
  /image/personal:
    post:
      summary: Personal Colour Analysis
      description: 'Full personal colour analysis from a portrait photo (public entry point).


        AUTH: requires the normal API key mechanism, checked BEFORE any image

        decoding, Claude Vision call, or other model invocation. This endpoint

        was previously reachable with no credential at all -- see the

        fix/llm-route-auth branch note. It now authenticates once here and

        delegates to the shared, unauthenticated core.'
      operationId: personal_colour_analysis_image_personal_post
      parameters:
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PersonalColourRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Image
  /image/ingest:
    post:
      summary: Image Ingest Endpoint
      description: Ingest image via multipart or source_url. Returns image_id valid 5 min.
      operationId: image_ingest_endpoint_image_ingest_post
      parameters:
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_image_ingest_endpoint_image_ingest_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Image
  /image/brief:
    post:
      summary: Image Brief
      operationId: image_brief_image_brief_post
      parameters:
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImageBriefRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Image
  /image/upload:
    post:
      summary: Image Upload
      description: Binary in, opaque reference out. No image bytes in JSON.
      operationId: image_upload_image_upload_post
      parameters:
      - name: session_id
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Session Id
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_image_upload_image_upload_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Image
components:
  schemas:
    ImageBriefRequest:
      properties:
        image_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Image Url
        image_base64:
          anyOf:
          - type: string
          - type: 'null'
          title: Image Base64
        k:
          type: integer
          title: K
          default: 6
        grey_card_hex:
          anyOf:
          - type: string
          - type: 'null'
          title: Grey Card Hex
        style_context:
          anyOf:
          - type: string
          - type: 'null'
          title: Style Context
        archive:
          anyOf:
          - type: string
          - type: 'null'
          title: Archive
        product_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Product Type
        model:
          type: string
          title: Model
          default: midjourney
      type: object
      title: ImageBriefRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Body_image_ingest_endpoint_image_ingest_post:
      properties:
        file:
          anyOf:
          - type: string
            format: binary
          - type: 'null'
          title: File
      type: object
      title: Body_image_ingest_endpoint_image_ingest_post
    ImagePaletteRequest:
      properties:
        image_base64:
          type: string
          title: Image Base64
          default: ''
        image:
          type: string
          title: Image
          default: ''
        base64:
          type: string
          title: Base64
          default: ''
        image_url:
          type: string
          title: Image Url
          default: ''
        media_type:
          type: string
          title: Media Type
          default: image/jpeg
        n_colours:
          type: integer
          title: N Colours
          default: 5
        n_colors:
          type: integer
          title: N Colors
          default: 0
        archive:
          type: string
          title: Archive
          default: ''
      type: object
      title: ImagePaletteRequest
    Body_image_upload_image_upload_post:
      properties:
        file:
          type: string
          format: binary
          title: File
      type: object
      required:
      - file
      title: Body_image_upload_image_upload_post
    PersonalColourRequest:
      properties:
        image_base64:
          type: string
          title: Image Base64
          default: ''
        image_url:
          type: string
          title: Image Url
          default: ''
        media_type:
          type: string
          title: Media Type
          default: image/jpeg
        name:
          type: string
          title: Name
          default: ''
      type: object
      title: PersonalColourRequest
    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
x-refined-from:
- colourmemory-com-openapi.json
- colourmemory-com-openapi.yml