Cadencz · Schema

TextGenerationRequest

Artificial IntelligenceSocial MediaAutomationContent GenerationScheduling

Properties

Name Type Description
input string Source material or instructions the model should turn into social copy.
platforms array One or more platform prompt templates to apply.
provider object Text model provider. Defaults to TEXT_MODEL_PROVIDER.
model object Provider model id. Defaults to OPENAI_MODEL for the OpenAI provider.
brain_id object Optional Brain id/slug used to ground the generation in saved product knowledge.
conversation_id object Optional durable Brain conversation to continue. Requires brain_id; when omitted, a new conversation is created for Brain-backed generation.
conversation_message object User-visible conversation turn to persist. Defaults to input when omitted, allowing clients to keep generation-only prompt instructions out of conversation history.
brain_context object Optional client-provided Brain context fallback when the Brain is not yet saved server-side.
temperature number
max_tokens object
count object How many distinct post concepts to create. When omitted, Compose infers an explicit count from requests such as 'write two posts'.
content_guidance object Selected content mode, kept separate from the user's requested subject.
View JSON Schema on GitHub

JSON Schema

cadencz-com-text-generation-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cadencz-com/json-schema/cadencz-com-text-generation-request-schema.json",
  "title": "TextGenerationRequest",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cadencz-com-openapi.json#/components/schemas/TextGenerationRequest",
  "properties": {
    "input": {
      "type": "string",
      "maxLength": 8000,
      "minLength": 1,
      "title": "Input",
      "description": "Source material or instructions the model should turn into social copy."
    },
    "platforms": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 5,
      "minItems": 1,
      "title": "Platforms",
      "description": "One or more platform prompt templates to apply."
    },
    "provider": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Provider",
      "description": "Text model provider. Defaults to TEXT_MODEL_PROVIDER."
    },
    "model": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Model",
      "description": "Provider model id. Defaults to OPENAI_MODEL for the OpenAI provider."
    },
    "brain_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Brain Id",
      "description": "Optional Brain id/slug used to ground the generation in saved product knowledge."
    },
    "conversation_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 36
        },
        {
          "type": "null"
        }
      ],
      "title": "Conversation Id",
      "description": "Optional durable Brain conversation to continue. Requires brain_id; when omitted, a new conversation is created for Brain-backed generation."
    },
    "conversation_message": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 8000,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Conversation Message",
      "description": "User-visible conversation turn to persist. Defaults to input when omitted, allowing clients to keep generation-only prompt instructions out of conversation history."
    },
    "brain_context": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 12000
        },
        {
          "type": "null"
        }
      ],
      "title": "Brain Context",
      "description": "Optional client-provided Brain context fallback when the Brain is not yet saved server-side."
    },
    "temperature": {
      "type": "number",
      "maximum": 2.0,
      "minimum": 0.0,
      "title": "Temperature",
      "default": 0.7
    },
    "max_tokens": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 2000.0,
          "minimum": 64.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Tokens"
    },
    "count": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 5.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Count",
      "description": "How many distinct post concepts to create. When omitted, Compose infers an explicit count from requests such as 'write two posts'."
    },
    "content_guidance": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500
        },
        {
          "type": "null"
        }
      ],
      "title": "Content Guidance",
      "description": "Selected content mode, kept separate from the user's requested subject."
    }
  },
  "type": "object",
  "required": [
    "input"
  ]
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/cadencz-com-text-generation-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.