Mason Create Image API

The Create Image API from Mason — 1 operation(s) for create image.

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/mason-create-image-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

mason-create-image-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Mason Apps Create Image API
  version: 0.1.0
  description: Mason (getmason.io / ModeMagic) apps API — harvested verbatim from the provider's ReadMe-hosted OpenAPI definition at getmason.dev.
servers:
- url: https://api.getmason.io
tags:
- name: Create Image
paths:
  /api/images:
    post:
      tags:
      - Create Image
      summary: Generation
      description: Post generation task. It processes it asynchronously and returns task id to track status
      operationId: Generation_api_v1_genie_images_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenerationModel'
        required: true
      responses:
        '200':
          description: Generation task response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenerationResponse'
              examples:
                response:
                  value:
                    status: <IN_PROCESS>
                    task_path: <TASK_PATH>
        '400':
          description: Unauthorized call to the API
          content:
            application/json:
              examples:
                response:
                  value:
                    status: error
                    message: Invalid data
        '401':
          description: Unauthorized call to the API
          content:
            application/json:
              examples:
                response:
                  value:
                    message: Authentication check failed. Please check the Authorization header
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - OAuth2PasswordBearer: []
components:
  schemas:
    GenerationResponse:
      properties:
        status:
          type: string
          title: Status
        uid:
          type: string
          title: Uid
        message:
          type: string
          title: Message
      type: object
      title: GenerationResponse
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    GenerationModel:
      properties:
        base:
          type: string
          title: 'template: Template'
          description: Template ID for generating
        patch:
          type: object
          title: 'patch: Patch'
          description: Patch in JSON format containing parameters to be used in template for generation
      type: object
      required:
      - base
      - patch
      title: GenerationModel
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: token