Masko AI Styles API

The Styles API from Masko AI — 2 operation(s) for styles.

GitHub OpenAPI

Operations 2

GET /v1/logo-styles List logo style presets #
GET /v1/styles List available style presets #

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/masko-ai:masko-ai-styles-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

masko-ai-styles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Masko Styles API
  version: '2026-09-26'
  description: 'API for generating and managing AI mascots, animations, and logos. The current API version is the date in `info.version`; send it as the Masko-API-Version header, and every response echoes the version it used plus a Request-Id. JSON resource responses use {data, meta?} / {error: {code, message, param?, details?, doc_url, request_id}} envelopes. Standard authenticated resource POSTs accept Idempotency-Key for safe retries (auth and admin routes excluded), and lists return meta.pagination.next_cursor. Resources carry an object field naming their type; docs and OpenAPI are served directly and 204 responses have no body. Generation endpoints return 202 with endpoint-specific receipts: individual jobs use job_id and poll_url, developer orchestration uses run_id, and batch operations list their jobs. See each operation for its polling contract. Protected requests accept API keys or scoped CLI session access tokens. Amounts are in credits, and one credit is $0.125: every credit amount in a response comes with the same amount in US dollars, named like it plus _usd (estimated_cost_usd beside estimated_cost).'
servers:
- url: https://api.masko.ai
  description: Production
- url: http://localhost:3000/api
  description: Local development
security:
- BearerAuth: []
tags:
- name: Styles
paths:
  /v1/logo-styles:
    get:
      operationId: listLogoStyles
      tags:
      - Styles
      summary: List logo style presets
      description: Nine logo treatments shared with the dashboard, including preview URLs and full instructions. Use id as logo_style_id when generating a logo. No credit cost.
      security:
      - BearerAuth: []
      responses:
        '200':
          description: Logo styles
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          enum:
                          - graphic-app-icon
                          - cut-paper
                          - soft-depth
                          - geometric
                          - abstract-symbol
                          - monoline-symbol
                          - negative-space
                          - retro-emblem
                          - hand-drawn
                        name:
                          type: string
                        description:
                          type: string
                        instruction:
                          type: string
                        preview_url:
                          type: string
                      required:
                      - id
                      - name
                      - description
                      - instruction
                      - preview_url
                required:
                - data
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: API version used to build this response.
              schema:
                type: string
                example: '2026-09-26'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: API version used to build this response.
              schema:
                type: string
                example: '2026-09-26'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: API version used to build this response.
              schema:
                type: string
                example: '2026-09-26'
        '402':
          description: Insufficient credits
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: API version used to build this response.
              schema:
                type: string
                example: '2026-09-26'
        '403':
          description: Write access required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: API version used to build this response.
              schema:
                type: string
                example: '2026-09-26'
        '404':
          description: Source or collection not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: API version used to build this response.
              schema:
                type: string
                example: '2026-09-26'
        '409':
          description: Request ID conflict or variant not approved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: API version used to build this response.
              schema:
                type: string
                example: '2026-09-26'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: API version used to build this response.
              schema:
                type: string
                example: '2026-09-26'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: API version used to build this response.
              schema:
                type: string
                example: '2026-09-26'
        '503':
          description: Generation unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: API version used to build this response.
              schema:
                type: string
                example: '2026-09-26'
  /v1/styles:
    get:
      tags:
      - Styles
      summary: List available style presets
      description: 'Returns all built-in style presets (cartoon, flat, pixel, kawaii, etc.) with preview URLs where available. Use `id` in generation prompts or as a style hint. No credit cost.


        Select Masko-API-Version: 2026-09-26 (or api_version=2026-09-26) for the canonical mascot contract shown first. Existing unversioned clients keep legacy collection fields. A mascot_id query filter also selects the canonical contract. Mixing identifier names returns 400.'
      security:
      - BearerAuth: []
      responses:
        '200':
          description: Available style presets
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StylesResponse'
              example:
                data:
                - id: cartoon
                  name: Cartoon
                  description: Fun, colorful with bold outlines
                  category: classic
                  preview_url: https://assets.masko.ai/7fced6/budget-buddy-2702/think-2bb9ff25.png
                - id: flat
                  name: Flat
                  description: Clean, minimal, geometric
                  category: classic
                  preview_url: https://assets.masko.ai/7fced6/turbo-9bb8/encourage-0791d248.png
                - id: pixel
                  name: Pixel Art
                  description: Retro 8-bit video game style
                  category: retro
                  preview_url: https://assets.masko.ai/7fced6/pixel-runner-f1fb/flex-06183f7f.png
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
      operationId: listStyles
      parameters:
      - in: header
        name: Masko-API-Version
        required: false
        schema:
          type: string
          enum:
          - '2026-09-26'
          - legacy
        description: Use 2026-09-26 for mascot_id resource fields. Unversioned shared routes retain the legacy contract.
      - in: query
        name: api_version
        required: false
        schema:
          type: string
          enum:
          - '2026-09-26'
          - legacy
        description: Equivalent to the version header, for polling URLs and clients that accept only relative paths. Header and query must agree.
components:
  schemas:
    ApiError:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          - doc_url
          - request_id
          properties:
            code:
              type: string
              description: Stable machine-readable code. Switch on this.
            message:
              type: string
              description: Human-readable explanation.
            param:
              type: string
              description: The request field that caused the error, when there is one.
            details:
              type: object
              additionalProperties: true
              description: Extra context, for example issues for validation errors, or required and balance for credits with their required_usd and balance_usd.
            doc_url:
              type: string
              format: uri
              description: Documentation for this error code.
            request_id:
              type: string
              description: Same value as the Request-Id header. Include it when contacting support.
    StylesResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/StylePreset'
      required:
      - data
    StylePreset:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        description:
          type: string
        thumbnail_url:
          type: string
          format: uri
      required:
      - id
      - name
      additionalProperties: {}
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: API key (masko_<key>) or short-lived CLI session access token (masko_at_<token>). Send as Bearer. Projects, mascots and their assets, independent canvases and jobs are scoped to the credential workspace. Cross-workspace resource IDs return 404; select another workspace with browser login or use a key issued for that workspace. Collection routes remain legacy aliases; the separate character registry is retired.
    AppKeyInLink:
      type: apiKey
      in: query
      name: key
      description: 'An app key (masko_app_<key>) inside the canvas link, so one link is all an app needs: https://api.masko.ai/v1/canvases/{canvasId}/delivery?key=masko_app_... Only the canvas delivery and bundle endpoints read it, and only app keys: an API key is never read from a link. When an Authorization header also holds a key, the header wins.'
x-tagGroups:
- name: Mascot
  tags:
  - Mascots
  - Collections
  - Items
  - Assets
  - References
  - Voice
  - Sounds
  - Settings
- name: Creating content
  tags:
  - Generate
  - Canvases
- name: Platform
  tags:
  - Projects
  - Jobs
  - Webhooks
  - Credits
  - Styles
  - Upload
  - Analyze
  - Feedback