Mantar Generate API

The Generate API from Mantar — 1 operation(s) for generate.

GitHub OpenAPI

Operations 1

POST /generate Generate Prompt #

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/prompeteer-ai:prompeteer-ai-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

prompeteer-ai-generate-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Prompeteer.ai REST Generate API
  version: 1.0.0
  description: 'Generate, score, and enhance AI prompts for 140+ platforms.

    Generation can use authenticated private Memory with an explicit inherit/on/off request control and returns the effective content-free Memory state and citations.

    REST keys require the explicit `memory:read` scope for Memory retrieval. Keys without it still generate normally and return a privacy-safe skipped Memory state.


    ## Authentication

    Public Beacon check/report operations and Health Check require no key. Other API key operations require a Bearer token:

    ```

    Authorization: Bearer pk_live_YOUR_KEY_HERE

    ```

    Get your free API key at Settings → Integrations.


    ## Quota

    - **Generate** uses your monthly prompt quota (see pricing)

    - **Score** and **Enhance** are free and unlimited'
  contact:
    name: Prompeteer.ai
    email: info@prompeteer.com
    url: https://prompeteer.ai
  license:
    name: Proprietary
    url: https://prompeteer.ai/terms
servers:
- url: https://prompeteer.ai/api/mcp/api-keys
  description: Production
security:
- BearerAuth: []
tags:
- name: Generate
paths:
  /generate:
    post:
      operationId: generatePrompt
      summary: Generate Prompt
      description: 'Create an optimized prompt for any of 140+ AI platforms.

        **Uses monthly quota** — see pricing.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenerateRequest'
      responses:
        '200':
          description: Prompt generated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenerateResponse'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Monthly quota exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Generate
components:
  schemas:
    GenerateResponse:
      type: object
      properties:
        success:
          type: boolean
          example: true
        prompt:
          type: string
          description: The generated prompt text
          example: You are an expert environmental journalist...
        generatedPrompt:
          type: string
          description: Same as prompt (alias)
        promptId:
          type: string
          description: Marketplace vault prompt ID (if savedToVault)
          example: abc123
        promptDriveId:
          type:
          - string
          - 'null'
          description: PromptDrive prompt ID (if savedToDrive)
          example: def456
        savedToVault:
          type: boolean
          description: Whether saved to marketplace vault
        savedToDrive:
          type: boolean
          description: Whether saved to PromptDrive
        tileStatus:
          type: string
          description: Tile image generation status
          example: generating
        metadata:
          type: object
          properties:
            title:
              type: string
              example: Sustainable Energy Blog Post
            category:
              type: string
              example: Content Creation & Writing
        promptIQ:
          type: object
          properties:
            overallScore:
              type: integer
              minimum: 0
              maximum: 100
              description: Overall Prompt Score (0-100)
              example: 85
        performance:
          type: object
          properties:
            totalTime:
              type: integer
              description: Response time in milliseconds
              example: 1250
            source:
              type: string
              example: api
        memory:
          type: object
          description: Content-free effective Memory decision and citations for passages used during generation.
          properties:
            status:
              type: string
              enum:
              - applied
              - skipped
            reason:
              type:
              - string
              - 'null'
            surface:
              type: string
              enum:
              - web
              - mcp
              - api
              - chrome_extension
            decision:
              type: object
              additionalProperties: true
            citations:
              type: array
              items:
                type: object
                required:
                - pageId
                - title
                properties:
                  pageId:
                    type: string
                  title:
                    type: string
        quota:
          type: object
          properties:
            used:
              type: integer
              example: 3
            limit:
              type: integer
              example: 10
            remaining:
              type: integer
              example: 7
            resetDate:
              type: string
              format: date-time
            isPro:
              type: boolean
              example: false
    ErrorResponse:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: Human-readable error message
          example: AUTH_REQUIRED
        code:
          type: string
          description: Machine-readable error code
          example: AUTH_REQUIRED
        message:
          type: string
          description: Detailed error description
          example: API key is required. Pass as Bearer token in Authorization header.
        success:
          type: boolean
          description: Always false on error (included in some responses)
          example: false
    GenerateRequest:
      type: object
      required:
      - promptIdea
      properties:
        promptIdea:
          type: string
          description: Your prompt idea or description
          example: Write a blog post about sustainable energy
        platformId:
          type: string
          description: Target AI platform (chatgpt, claude, gemini, midjourney, etc.)
          default: chatgpt
          example: chatgpt
        modelId:
          type: string
          description: Specific model version (agnostic, gpt-4o, claude-3.5-sonnet, etc.)
          default: agnostic
          example: agnostic
        temperature:
          type: number
          minimum: 0
          maximum: 2
          default: 0.7
          description: Generation temperature (0.0-2.0)
          example: 0.7
        saveToVault:
          type: boolean
          default: true
          description: Save to marketplace vault
        saveToDrive:
          type: boolean
          default: true
          description: Save to PromptDrive (personal prompt library). Auto-saved by default.
        memory:
          type: string
          enum:
          - inherit
          - 'on'
          - 'off'
          default: inherit
          description: Per-request Memory control. Requires an API key with memory:read; otherwise generation proceeds without Memory. Enterprise required or disabled policy takes precedence after authorization.
  securitySchemes:
    BeaconSession:
      type: apiKey
      in: cookie
      name: connect.sid
      description: Signed-in Beacon workspace session.
    BearerAuth:
      type: http
      scheme: bearer
      description: 'API key from Settings → Integrations (format: pk_live_...)'