SocialBu Content Generation API

Generate content using AI

GitHub OpenAPI

Operations 3

POST /generated_content Generate AI content #
POST /generated_content/generate_by_post Generate content by post #
POST /generated_content/autocomplete_post Autocomplete post content #

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/socialbu-com:socialbu-com-content-generation-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

socialbu-com-content-generation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'This is documentation for SocialBu API

    http://socialbu.com.'
  version: 1.0.0
  title: SocialBu Content Generation API
  termsOfService: https://socialbu.com/about/terms
  contact:
    email: support@socialbu.com
servers:
- description: SocialBu API
  url: https://socialbu.com/api/v1
security:
- bearerAuth: []
tags:
- name: Content Generation
  description: Generate content using AI
paths:
  /generated_content:
    post:
      tags:
      - Content Generation
      summary: Generate AI content
      operationId: generateContent
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - type
              - topic
              - acccount_id
              properties:
                type:
                  type: string
                  enum:
                  - tweet
                  - linkedin_post
                  - instagram_caption
                  - generic
                  default: generic
                topic:
                  type: string
                  description: Any topic name for which you want to generate the content. e.g, Mother's day.
                team_id:
                  nullable: true
                  type: integer
                  description: Team id.
                account_id:
                  type: integer
                  description: Social account id.
      responses:
        '200':
          description: Content generated
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: integer
                    description: Content ID.
                  type:
                    type: string
                    description: Type of content.
                  content:
                    type: string
                    description: The actual generated content text.
                  keyword:
                    type: string
                    description: The keyword or prompt used to generate the content.
                  user_id:
                    type: integer
                    description: Your SocialBu account id.
                  team_id:
                    type: integer
                    description: Your team id.
                  account_id:
                    type: integer
                    description: Social account id.
                  is_bad:
                    type: boolean
                  created_at:
                    type: string
                    example: '2025-04-14 15:30:00'
                  model:
                    type: string
                    description: The model used to generate the content (e.g., gpt-3, gpt-neo, gpt-j).
        '403':
          description: Don't have permission.
        '422':
          description: The given data was invalid.
  /generated_content/generate_by_post:
    post:
      tags:
      - Content Generation
      summary: Generate content by post
      operationId: generateContentByPost
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - post_id
              properties:
                post_id:
                  type: integer
                  description: ID of the post for which you want to generate similar content.
      responses:
        '200':
          description: Content generated
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: integer
                    description: Content ID.
                  type:
                    type: string
                    description: Type of content.
                  content:
                    type: string
                    description: The actual generated content text.
                  keyword:
                    type: string
                    description: The keyword or prompt used to generate the content.
                  user_id:
                    type: integer
                    description: Your SocialBu account id.
                  team_id:
                    type: integer
                    description: Your team id.
                  account_id:
                    type: integer
                    description: Social account id.
                  is_bad:
                    type: boolean
                  created_at:
                    type: string
                    example: '2025-04-14 15:30:00'
                  model:
                    type: string
                    description: The model used to generate the content (e.g., gpt-3, gpt-neo, gpt-j).
        '403':
          description: Don't have permission.
        '422':
          description: The given data was invalid.
  /generated_content/autocomplete_post:
    post:
      tags:
      - Content Generation
      summary: Autocomplete post content
      operationId: autocompletePost
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - account_id
              properties:
                content:
                  type: string
                  nullable: true
                  description: Content that you want to autocomplete.
                account_id:
                  type: integer
                  description: Social account id.
                team_id:
                  type: integer
                  nullable: true
                  description: Your team id.
      responses:
        '200':
          description: Content generated
          content:
            application/json:
              schema:
                type: object
                properties:
                  content:
                    type: string
                    description: The autocompleted version of the input content.
        '403':
          description: Don't have permission.
        '422':
          description: The given data was invalid.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT