Vmotif Images API

Server-side image utilities: convert, compress, trim.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

POST /images/transforms Transform an 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/vmotif-com:vmotif-com-images-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

vmotif-com-images-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Vmotif Com Images API
  version: 1.0.0
  contact:
    name: vmotif
    url: https://vmotif.com
  description: 'Operations tagged Images across 2 of this provider''s published API definitions: openapi.json, vmotif-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://vmotif.com/api/v1
  description: Production
security:
- BearerAuth: []
tags:
- name: Images
  description: 'Server-side image utilities: convert, compress, trim.'
paths:
  /images/transforms:
    post:
      operationId: transformImage
      summary: Transform an image
      description: Convert, compress, or trim a stored image synchronously. The source must be a workflow-images path or public URL the caller owns (generation results qualify) or a shared `seed/` image. The result is stored under the caller's account and returned as a URL. Transforms are free — they never bill AI usage — but share a dedicated rate limit with the in-app image tools. Requires the `write` scope.
      tags:
      - Images
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImageTransformRequest'
      responses:
        '200':
          description: 'Transform complete. A trim that found nothing to cut returns all-null fields with `trimmed: false` and stores nothing.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImageTransformResult'
        '400':
          $ref: '#/components/responses/InvalidRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/InsufficientScope'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/IdempotencyKeyReused'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
    servers:
    - url: https://vmotif.com/api/v1
      description: Production
components:
  responses:
    ServerError:
      description: 'An unexpected error (500), or a dependency is unavailable (503): the rate limiter or the `Idempotency-Key` lookup. A 503 started nothing; retry with the same key.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    NotFound:
      description: The resource does not exist or is not owned by the caller.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    InsufficientScope:
      description: The key lacks the scope required for this endpoint (write).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    RateLimited:
      description: Rate limit or budget exceeded. `insufficient_quota` and `rate_limited` both use 429; a `retry-after` header is set on rate limits.
      headers:
        retry-after:
          schema:
            type: integer
          description: Seconds until the limit resets.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    IdempotencyKeyReused:
      description: The `Idempotency-Key` already started a different request. Send a new key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Unauthorized:
      description: Missing, malformed, revoked, or unknown API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    InvalidRequest:
      description: The request was malformed or failed validation.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  schemas:
    ImageTransformResult:
      type: object
      required:
      - url
      - path
      - width
      - height
      - bytes
      - format
      - withinTarget
      - trimmed
      properties:
        url:
          type:
          - string
          - 'null'
          description: Public URL of the stored result. Null when a trim found nothing to cut.
        path:
          type:
          - string
          - 'null'
          description: Bucket-relative storage path of the result.
        width:
          type:
          - integer
          - 'null'
          description: Output width in pixels.
        height:
          type:
          - integer
          - 'null'
          description: Output height in pixels.
        bytes:
          type:
          - integer
          - 'null'
          description: Output size in bytes.
        format:
          type:
          - string
          - 'null'
          description: Output format (png, jpeg, webp, or avif).
        withinTarget:
          type:
          - boolean
          - 'null'
          description: '`compress` only: whether `targetBytes` was reached. False means the smallest possible encode was stored instead.'
        trimmed:
          type:
          - boolean
          - 'null'
          description: '`trim` only: false when no uniform edges were found (nothing was stored).'
    ApiError:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - type
          - message
          properties:
            type:
              type: string
              enum:
              - invalid_request
              - unauthorized
              - insufficient_scope
              - rate_limited
              - insufficient_quota
              - payment_required
              - not_found
              - idempotency_key_reused
              - server_error
              description: Stable, machine-readable error category.
            message:
              type: string
              description: Human-readable description.
    ImageTransformRequest:
      type: object
      required:
      - source
      - op
      properties:
        source:
          type: string
          description: A workflow-images storage path or public URL the caller owns — e.g. a completed generation's image URL — or a shared `seed/` image.
        op:
          type: string
          enum:
          - convert
          - compress
          - trim
          description: '`convert` re-encodes to another format; `compress` binary-searches encoder quality to hit `targetBytes`; `trim` cuts uniform edges.'
        options:
          type: object
          properties:
            format:
              type: string
              enum:
              - png
              - jpeg
              - webp
              - avif
              description: Output format. Required for `convert`; `compress` defaults to `webp`; ignored by `trim`.
            quality:
              type: number
              exclusiveMinimum: 0
              maximum: 1
              default: 0.9
              description: Encoder quality for `convert`, between 0 (exclusive) and 1.
            targetBytes:
              type: integer
              minimum: 10240
              maximum: 10485760
              description: Target output size in bytes (10KB–10MB). Required for `compress`.
            maxDimension:
              type: integer
              minimum: 1
              description: Bound the longest output edge in pixels, capped at 8192. Never enlarges.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 'An API key created in Settings → API, sent as `Authorization: Bearer vmk_live_...`.'
x-refined-from:
- openapi.json
- vmotif-com-openapi.yml
x-provenance:
  method: harvested
  publisher: Vmotif
  source: https://vmotif.com/api/v1/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)