Memesio · Capability

Memesio API Contracts — ai

Memesio API Contracts — ai. 2 operations. Lead operation: Load Subtitle Style Presets and Optional Subtitle Preview with Beat-Grid Sync for Kinetic Text. Self-contained Naftiko capability covering one Memesio business surface.

Run with Naftiko Memesioai

What You Can Do

GET
Get — Load Subtitle Style Presets and Optional Subtitle Preview with Beat-Grid Sync for Kinetic Text
/v1/api/video/subtitles
POST
Post — Preview or Apply Generated Subtitles from Script or Audio-Asset Transcript Into Timeline Track with Beat-Synced Kinetic Text
/v1/api/video/subtitles

MCP Tools

load-subtitle-style-presets-and

Load Subtitle Style Presets and Optional Subtitle Preview with Beat-Grid Sync for Kinetic Text

read-only idempotent
preview-apply-generated-subtitles-script

Preview or Apply Generated Subtitles from Script or Audio-Asset Transcript Into Timeline Track with Beat-Synced Kinetic Text

Capability Spec

memesio-ai.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Memesio API Contracts — ai
  description: 'Memesio API Contracts — ai. 2 operations. Lead operation: Load Subtitle Style Presets and Optional Subtitle
    Preview with Beat-Grid Sync for Kinetic Text. Self-contained Naftiko capability covering one Memesio business surface.'
  tags:
  - Memesio
  - ai
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MEMESIO_API_KEY: MEMESIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: memesio-ai
    baseUri: ''
    description: Memesio API Contracts — ai business capability. Self-contained, no shared references.
    resources:
    - name: api-video-subtitles
      path: /api/video/subtitles
      operations:
      - name: get
        method: GET
        description: Load Subtitle Style Presets and Optional Subtitle Preview with Beat-Grid Sync for Kinetic Text
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: transcript
          in: query
          type: string
        - name: tone
          in: query
          type: string
        - name: locale
          in: query
          type: string
        - name: stylePresetId
          in: query
          type: string
        - name: trendKeywords
          in: query
          type: string
        - name: syncToBeatGrid
          in: query
          type: boolean
        - name: bpm
          in: query
          type: integer
        - name: beatOffsetMs
          in: query
          type: integer
      - name: post
        method: POST
        description: Preview or Apply Generated Subtitles from Script or Audio-Asset Transcript Into Timeline Track with Beat-Synced
          Kinetic Text
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: x-developer-api-key
      value: '{{env.MEMESIO_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: memesio-ai-rest
    port: 8080
    description: REST adapter for Memesio API Contracts — ai. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/video/subtitles
      name: api-video-subtitles
      description: REST surface for api-video-subtitles.
      operations:
      - method: GET
        name: get
        description: Load Subtitle Style Presets and Optional Subtitle Preview with Beat-Grid Sync for Kinetic Text
        call: memesio-ai.get
        with:
          transcript: rest.transcript
          tone: rest.tone
          locale: rest.locale
          stylePresetId: rest.stylePresetId
          trendKeywords: rest.trendKeywords
          syncToBeatGrid: rest.syncToBeatGrid
          bpm: rest.bpm
          beatOffsetMs: rest.beatOffsetMs
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Preview or Apply Generated Subtitles from Script or Audio-Asset Transcript Into Timeline Track with Beat-Synced
          Kinetic Text
        call: memesio-ai.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: memesio-ai-mcp
    port: 9090
    transport: http
    description: MCP adapter for Memesio API Contracts — ai. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: load-subtitle-style-presets-and
      description: Load Subtitle Style Presets and Optional Subtitle Preview with Beat-Grid Sync for Kinetic Text
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: memesio-ai.get
      with:
        transcript: tools.transcript
        tone: tools.tone
        locale: tools.locale
        stylePresetId: tools.stylePresetId
        trendKeywords: tools.trendKeywords
        syncToBeatGrid: tools.syncToBeatGrid
        bpm: tools.bpm
        beatOffsetMs: tools.beatOffsetMs
      outputParameters:
      - type: object
        mapping: $.
    - name: preview-apply-generated-subtitles-script
      description: Preview or Apply Generated Subtitles from Script or Audio-Asset Transcript Into Timeline Track with Beat-Synced
        Kinetic Text
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: memesio-ai.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.