Kognitrix AI Generate API

The Generate API from Kognitrix AI — 8 operation(s) for generate.

GitHub OpenAPI

Operations 8

POST /generate/content Generate content (5 credits) #
POST /generate/code Code assistance (8 credits) #
POST /generate/document Analyze documents (6 credits) #
POST /generate/image Generate images (10 credits) #
POST /generate/extract Extract structured data (4 credits) #
POST /generate/translate Translate text (3 credits) #
POST /generate/seo SEO optimization (7 credits) #
POST /generate/email Write emails (5 credits) #

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/kognitrix-com:kognitrix-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

kognitrix-com-generate-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Kognitrix AI Generate API
  description: AI-powered services platform for humans and AI agents. Content generation, code assistance, image creation, document analysis, data extraction, translation, SEO optimization, and email writing. Pay-per-use with credit system. Supports card and cryptocurrency payments.
  version: 1.0.0
  contact:
    name: Kognitrix AI
    url: https://kognitrix.com
    email: support@kognitrix.com
  termsOfService: https://kognitrix.com/terms
servers:
- url: https://kognitrix.com/api/v1
  description: Production
security:
- BearerAuth: []
tags:
- name: Generate
paths:
  /generate/content:
    post:
      operationId: generateContent
      summary: Generate content (5 credits)
      description: Generate blog posts, articles, social media content, marketing copy using GPT-4o.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - prompt
              properties:
                prompt:
                  type: string
                  maxLength: 10000
                  description: The content prompt or topic
                type:
                  type: string
                  enum:
                  - blog_post
                  - article
                  - social_media
                  - marketing_copy
                  - general
                  description: Type of content to generate
                tone:
                  type: string
                  enum:
                  - professional
                  - casual
                  - formal
                  - friendly
                  - persuasive
                  description: Desired tone of the content
      responses:
        '200':
          $ref: '#/components/responses/GenerateResponse'
      tags:
      - Generate
  /generate/code:
    post:
      operationId: generateCode
      summary: Code assistance (8 credits)
      description: Generate code, debug issues, refactor, or review code in any programming language.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - prompt
              properties:
                prompt:
                  type: string
                  maxLength: 10000
                  description: Code prompt, question, or code to review
                language:
                  type: string
                  description: Programming language (e.g. python, javascript, rust)
                action:
                  type: string
                  enum:
                  - generate
                  - debug
                  - refactor
                  - review
                  - explain
                  description: Type of code assistance
      responses:
        '200':
          $ref: '#/components/responses/GenerateResponse'
      tags:
      - Generate
  /generate/document:
    post:
      operationId: analyzeDocument
      summary: Analyze documents (6 credits)
      description: Summarize documents, extract key information, analyze contracts and text.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - prompt
              properties:
                prompt:
                  type: string
                  maxLength: 50000
                  description: Document text or analysis request
                action:
                  type: string
                  enum:
                  - summarize
                  - extract
                  - analyze
                  - review
                  description: Type of document analysis
      responses:
        '200':
          $ref: '#/components/responses/GenerateResponse'
      tags:
      - Generate
  /generate/image:
    post:
      operationId: generateImage
      summary: Generate images (10 credits)
      description: Create images using DALL-E 3 for marketing, design, and social media.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - prompt
              properties:
                prompt:
                  type: string
                  maxLength: 4000
                  description: Image description prompt
                size:
                  type: string
                  enum:
                  - 1024x1024
                  - 1792x1024
                  - 1024x1792
                  description: Image dimensions
                quality:
                  type: string
                  enum:
                  - standard
                  - hd
                  description: Image quality
      responses:
        '200':
          $ref: '#/components/responses/GenerateResponse'
      tags:
      - Generate
  /generate/extract:
    post:
      operationId: extractData
      summary: Extract structured data (4 credits)
      description: Transform unstructured text into clean, structured JSON data.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - prompt
              properties:
                prompt:
                  type: string
                  maxLength: 10000
                  description: Unstructured text to extract data from
                schema:
                  type: object
                  description: Optional JSON schema for the desired output structure
      responses:
        '200':
          $ref: '#/components/responses/GenerateResponse'
      tags:
      - Generate
  /generate/translate:
    post:
      operationId: translateText
      summary: Translate text (3 credits)
      description: Translate text between 50+ languages with context awareness.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - prompt
              - target_language
              properties:
                prompt:
                  type: string
                  maxLength: 10000
                  description: Text to translate
                target_language:
                  type: string
                  description: Target language (e.g. Spanish, French, Japanese)
                source_language:
                  type: string
                  description: Source language (auto-detected if omitted)
      responses:
        '200':
          $ref: '#/components/responses/GenerateResponse'
      tags:
      - Generate
  /generate/seo:
    post:
      operationId: optimizeSEO
      summary: SEO optimization (7 credits)
      description: Analyze content for SEO. Get keyword suggestions, meta tags, readability scores.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - prompt
              properties:
                prompt:
                  type: string
                  maxLength: 10000
                  description: Content or URL to analyze for SEO
                target_keyword:
                  type: string
                  description: Primary keyword to optimize for
      responses:
        '200':
          $ref: '#/components/responses/GenerateResponse'
      tags:
      - Generate
  /generate/email:
    post:
      operationId: writeEmail
      summary: Write emails (5 credits)
      description: Generate professional emails for sales, outreach, follow-ups, and campaigns.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - prompt
              properties:
                prompt:
                  type: string
                  maxLength: 10000
                  description: Email brief or context
                type:
                  type: string
                  enum:
                  - cold_email
                  - follow_up
                  - sales
                  - marketing
                  - general
                  description: Type of email
                tone:
                  type: string
                  enum:
                  - professional
                  - casual
                  - formal
                  - friendly
                  description: Email tone
      responses:
        '200':
          $ref: '#/components/responses/GenerateResponse'
      tags:
      - Generate
components:
  responses:
    GenerateResponse:
      description: Successful generation
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: boolean
              data:
                type: object
                properties:
                  result:
                    type: string
                    description: Generated content
              credits_used:
                type: integer
              credits_remaining:
                type: integer
              request_id:
                type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: API key from https://kognitrix.com/dashboard/api-keys