Sunbird AI · Schema

SpeechRequest

Text-to-speech request for the RunPod Orpheus-3B endpoint.

Artificial IntelligenceNon-ProfitSocial ImpactUgandaMachine Learning

Properties

Name Type Description
text string Text to synthesize.
voice object Speaker name (see GET /tasks/voice/speakers); requires `language`, since names are scoped per language. If omitted, a speaker is chosen for `language` (Luganda by default). Legacy speaker ids (e.g. 's
response_mode object url (signed GCS URL), stream (raw audio bytes from RunPod), or both (raw audio bytes with the signed URL in the X-Audio-Url header).
language object ISO 639-3 code (e.g. 'lug').
temperature object Sampling knob.
top_p object Sampling knob.
repetition_penalty object Sampling knob.
max_tokens object Max tokens per chunk.
seed object Deterministic seed.
View JSON Schema on GitHub

JSON Schema

sunbird-ai-speech-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sunbird-ai/json-schema/sunbird-ai-speech-request-schema.json",
  "title": "SpeechRequest",
  "description": "Text-to-speech request for the RunPod Orpheus-3B endpoint.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/sunbird-ai-api-openapi.json#/components/schemas/SpeechRequest",
  "properties": {
    "text": {
      "type": "string",
      "minLength": 1,
      "title": "Text",
      "description": "Text to synthesize."
    },
    "voice": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Voice",
      "description": "Speaker name (see GET /tasks/voice/speakers); requires `language`, since names are scoped per language. If omitted, a speaker is chosen for `language` (Luganda by default). Legacy speaker ids (e.g. 'salt_lug_0001') are still accepted with a deprecation warning."
    },
    "response_mode": {
      "$ref": "#/$defs/TTSResponseMode",
      "description": "url (signed GCS URL), stream (raw audio bytes from RunPod), or both (raw audio bytes with the signed URL in the X-Audio-Url header).",
      "default": "url"
    },
    "language": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Language",
      "description": "ISO 639-3 code (e.g. 'lug')."
    },
    "temperature": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Temperature",
      "description": "Sampling knob."
    },
    "top_p": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Top P",
      "description": "Sampling knob."
    },
    "repetition_penalty": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Repetition Penalty",
      "description": "Sampling knob."
    },
    "max_tokens": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Tokens",
      "description": "Max tokens per chunk."
    },
    "seed": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Seed",
      "description": "Deterministic seed."
    }
  },
  "type": "object",
  "required": [
    "text"
  ],
  "$defs": {
    "TTSResponseMode": {
      "type": "string",
      "enum": [
        "url",
        "stream",
        "both"
      ],
      "title": "TTSResponseMode",
      "description": "How the TTS endpoint returns audio.\n\n- `url` — return a signed URL once generation completes\n- `stream` — stream audio chunks directly to the client\n- `both` — stream audio chunks and return a signed URL at the end"
    }
  }
}

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/sunbird-ai-speech-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. 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.