Mocapless Generate API

The generate API from Mocapless — 5 operation(s) for generate.

GitHub OpenAPI

Operations 5

GET /v1/motions Motions #
POST /v1/plan Plan #
GET /v1/generate/blank/price Blank Price #
POST /v1/generate/blank Blank #
POST /v1/generate Generate #

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/mocapless-com:mocapless-com-generate-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

mocapless-com-generate-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mocapless Generate API
  description: 'Generate character animation from a text prompt, retargeted onto your own

    rigged FBX.


    Authenticate with a bearer token from `/v1/auth/login`, or with an API key in

    the `X-API-Key` header. The usual flow is:


    1. `POST /v1/assets` - upload a rigged character (FBX, GLB, GLTF or DAE)

    2. `POST /v1/plan` - see what a prompt will produce, and what it will cost

    3. `POST /v1/generate` - spend the credits and queue the render

    4. `GET /v1/jobs/{id}/events` - stream progress, then download the outputs'
  version: 1.0.0
tags:
- name: Generate
paths:
  /v1/motions:
    get:
      tags:
      - Generate
      summary: Motions
      description: 'The vocabulary and the engines behind it.


        The primitive list is what the timeline editor and the prompt hints show;

        `engines` tells the UI whether open-vocabulary generation is available on

        this deployment, and what it costs relative to the free path.'
      operationId: motions_v1_motions_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Motions V1 Motions Get
  /v1/plan:
    post:
      tags:
      - Generate
      summary: Plan
      description: 'Turn a prompt into an editable plan, and price it. Costs nothing.


        Separating planning from generation is what lets the app show the user what

        it is about to make - and what it will cost - before any credit is spent.'
      operationId: plan_v1_plan_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - 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/PlanRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlanResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/generate/blank/price:
    get:
      tags:
      - Generate
      summary: Blank Price
      description: What a hand-posed clip costs, per second, for the studio to show before it is started.
      operationId: blank_price_v1_generate_blank_price_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Blank Price V1 Generate Blank Price Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/generate/blank:
    post:
      tags:
      - Generate
      summary: Blank
      description: 'A base clip to animate by hand: the character at rest for a few

        seconds, on which poses are then keyed. Priced by its length

        (``blank_cost``); the poses keyed on it afterwards are free.'
      operationId: blank_v1_generate_blank_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - 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/BlankRequest'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/generate:
    post:
      tags:
      - Generate
      summary: Generate
      operationId: generate_v1_generate_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - 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/GenerateRequest'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    BlankRequest:
      properties:
        assetId:
          anyOf:
          - type: string
          - type: 'null'
          title: Assetid
        seconds:
          type: number
          maximum: 30.0
          minimum: 1.0
          title: Seconds
          default: 4.0
        formats:
          items:
            type: string
          type: array
          title: Formats
          default:
          - glb
          - fbx
      type: object
      title: BlankRequest
      description: 'A quiet base clip to pose by hand: the character standing (or, for an

        animal, resting) for a few seconds. Priced by its length.'
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    GenerateRequest:
      properties:
        prompt:
          type: string
          maxLength: 2000
          title: Prompt
          default: ''
        assetId:
          anyOf:
          - type: string
          - type: 'null'
          title: Assetid
        fps:
          type: integer
          title: Fps
          default: 30
        loop:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Loop
        formats:
          items:
            type: string
          type: array
          title: Formats
          default:
          - glb
          - fbx
        seed:
          type: integer
          title: Seed
          default: 0
        useLlm:
          type: boolean
          title: Usellm
          default: true
        engine:
          type: string
          title: Engine
          default: auto
        samples:
          type: integer
          maximum: 4.0
          minimum: 1.0
          title: Samples
          default: 1
        beats:
          anyOf:
          - items:
              $ref: '#/components/schemas/BeatModel'
            type: array
            maxItems: 4
          - type: 'null'
          title: Beats
        script:
          anyOf:
          - $ref: '#/components/schemas/ScriptModel'
          - type: 'null'
      type: object
      title: GenerateRequest
    SegmentModel:
      properties:
        primitive:
          type: string
          title: Primitive
        seconds:
          type: number
          title: Seconds
          default: 2.0
        speed:
          type: number
          title: Speed
          default: 1.0
        amplitude:
          type: number
          title: Amplitude
          default: 1.0
        style:
          type: string
          title: Style
          default: neutral
        repeats:
          type: integer
          title: Repeats
          default: 1
        mirror:
          type: boolean
          title: Mirror
          default: false
        turn:
          type: number
          title: Turn
          default: 0.0
        params:
          additionalProperties: true
          type: object
          title: Params
          default: {}
      type: object
      required:
      - primitive
      title: SegmentModel
    PlanResponse:
      properties:
        script:
          $ref: '#/components/schemas/ScriptModel'
        cost:
          type: integer
          title: Cost
        balance:
          type: integer
          title: Balance
        affordable:
          type: boolean
          title: Affordable
        engine:
          type: string
          title: Engine
          default: procedural
        neuralAvailable:
          type: boolean
          title: Neuralavailable
          default: false
        notes:
          items:
            type: string
          type: array
          title: Notes
          default: []
      type: object
      required:
      - script
      - cost
      - balance
      - affordable
      title: PlanResponse
    BeatModel:
      properties:
        text:
          type: string
          maxLength: 240
          minLength: 3
          title: Text
        seconds:
          type: number
          maximum: 10.0
          minimum: 1.0
          title: Seconds
      type: object
      required:
      - text
      - seconds
      title: BeatModel
    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
    ScriptModel:
      properties:
        segments:
          items:
            $ref: '#/components/schemas/SegmentModel'
          type: array
          title: Segments
        fps:
          type: integer
          title: Fps
          default: 30
        loop:
          type: boolean
          title: Loop
          default: false
        source:
          type: string
          title: Source
          default: local
        confidence:
          type: number
          title: Confidence
          default: 0.5
        notes:
          items:
            type: string
          type: array
          title: Notes
          default: []
        prompt:
          type: string
          title: Prompt
          default: ''
        duration:
          type: number
          title: Duration
          default: 0.0
        beats:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Beats
          default: []
        family:
          type: string
          title: Family
          default: humanoid
      type: object
      required:
      - segments
      title: ScriptModel
    PlanRequest:
      properties:
        prompt:
          type: string
          maxLength: 2000
          title: Prompt
        fps:
          type: integer
          title: Fps
          default: 30
        useLlm:
          type: boolean
          title: Usellm
          default: true
        assetId:
          anyOf:
          - type: string
          - type: 'null'
          title: Assetid
        engine:
          type: string
          title: Engine
          default: auto
      type: object
      required:
      - prompt
      title: PlanRequest
    JobResponse:
      properties:
        id:
          type: string
          title: Id
        status:
          type: string
          title: Status
        stage:
          type: string
          title: Stage
        progress:
          type: number
          title: Progress
        prompt:
          type: string
          title: Prompt
        error:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
        creditsCost:
          type: integer
          title: Creditscost
        creditsRefunded:
          type: boolean
          title: Creditsrefunded
        frames:
          type: integer
          title: Frames
        durationSeconds:
          type: number
          title: Durationseconds
        assetId:
          anyOf:
          - type: string
          - type: 'null'
          title: Assetid
        createdAt:
          type: string
          format: date-time
          title: Createdat
        finishedAt:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Finishedat
        script:
          anyOf:
          - $ref: '#/components/schemas/ScriptModel'
          - type: 'null'
        outputs:
          items:
            $ref: '#/components/schemas/JobOutput'
          type: array
          title: Outputs
          default: []
        rating:
          anyOf:
          - type: integer
          - type: 'null'
          title: Rating
        ratingStars:
          anyOf:
          - type: integer
          - type: 'null'
          title: Ratingstars
        engine:
          type: string
          title: Engine
          default: procedural
        fallbackFrom:
          anyOf:
          - type: string
          - type: 'null'
          title: Fallbackfrom
        variant:
          type: string
          title: Variant
          default: generated
      type: object
      required:
      - id
      - status
      - stage
      - progress
      - prompt
      - error
      - creditsCost
      - creditsRefunded
      - frames
      - durationSeconds
      - assetId
      - createdAt
      - finishedAt
      title: JobResponse
    JobOutput:
      properties:
        kind:
          type: string
          title: Kind
        url:
          type: string
          title: Url
        locked:
          type: boolean
          title: Locked
          default: false
      type: object
      required:
      - kind
      - url
      title: JobOutput