MiniMax · Capability

MiniMax API — Text Generation

MiniMax API — Text Generation. 1 operations. Lead operation: Text Generation V2. Self-contained Naftiko capability covering one Minimax Ai business surface.

Run with Naftiko Minimax AiText Generation

What You Can Do

POST
Chatcompletionv2 — Text Generation V2
/v1/v1/text/chatcompletion-v2

MCP Tools

text-generation-v2

Text Generation V2

Capability Spec

minimax-ai-text-generation.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: MiniMax API — Text Generation
  description: 'MiniMax API — Text Generation. 1 operations. Lead operation: Text Generation V2. Self-contained Naftiko capability
    covering one Minimax Ai business surface.'
  tags:
  - Minimax Ai
  - Text Generation
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MINIMAX_AI_API_KEY: MINIMAX_AI_API_KEY
capability:
  consumes:
  - type: http
    namespace: minimax-ai-text-generation
    baseUri: https://api.minimax.io
    description: MiniMax API — Text Generation business capability. Self-contained, no shared references.
    resources:
    - name: v1-text-chatcompletion_v2
      path: /v1/text/chatcompletion_v2
      operations:
      - name: chatcompletionv2
        method: POST
        description: Text Generation V2
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.MINIMAX_AI_API_KEY}}'
  exposes:
  - type: rest
    namespace: minimax-ai-text-generation-rest
    port: 8080
    description: REST adapter for MiniMax API — Text Generation. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v1/text/chatcompletion-v2
      name: v1-text-chatcompletion-v2
      description: REST surface for v1-text-chatcompletion_v2.
      operations:
      - method: POST
        name: chatcompletionv2
        description: Text Generation V2
        call: minimax-ai-text-generation.chatcompletionv2
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: minimax-ai-text-generation-mcp
    port: 9090
    transport: http
    description: MCP adapter for MiniMax API — Text Generation. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: text-generation-v2
      description: Text Generation V2
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: minimax-ai-text-generation.chatcompletionv2
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.