Sunbird AI · Schema

SpeechResponse

Normalized response for response_mode='url' across all providers.

Artificial IntelligenceNon-ProfitSocial ImpactUgandaMachine Learning

Properties

Name Type Description
audio_url string Signed URL to the generated audio.
model string Model used.
platform string Platform used.
voice string Speaker name actually served.
audio_url_expires_at object
language object
sample_rate object
duration_seconds object
gcs_object object
request_id object
timings_ms object
usage object Usage for this synthesis (characters, bytes, seconds).
warnings object Deprecation notices for this request (e.g. a legacy speaker id was passed as `voice`). Absent when there is nothing to warn about.
View JSON Schema on GitHub

JSON Schema

sunbird-ai-speech-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sunbird-ai/json-schema/sunbird-ai-speech-response-schema.json",
  "title": "SpeechResponse",
  "description": "Normalized response for response_mode='url' across all providers.",
  "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/SpeechResponse",
  "properties": {
    "audio_url": {
      "type": "string",
      "title": "Audio Url",
      "description": "Signed URL to the generated audio."
    },
    "model": {
      "type": "string",
      "title": "Model",
      "description": "Model used."
    },
    "platform": {
      "type": "string",
      "title": "Platform",
      "description": "Platform used."
    },
    "voice": {
      "type": "string",
      "title": "Voice",
      "description": "Speaker name actually served."
    },
    "audio_url_expires_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Audio Url Expires At"
    },
    "language": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Language"
    },
    "sample_rate": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sample Rate"
    },
    "duration_seconds": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Duration Seconds"
    },
    "gcs_object": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Gcs Object"
    },
    "request_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Request Id"
    },
    "timings_ms": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Timings Ms"
    },
    "usage": {
      "anyOf": [
        {
          "$ref": "#/$defs/SpeechUsage"
        },
        {
          "type": "null"
        }
      ],
      "description": "Usage for this synthesis (characters, bytes, seconds)."
    },
    "warnings": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Warnings",
      "description": "Deprecation notices for this request (e.g. a legacy speaker id was passed as `voice`). Absent when there is nothing to warn about."
    }
  },
  "type": "object",
  "required": [
    "audio_url",
    "model",
    "platform",
    "voice"
  ],
  "$defs": {
    "SpeechUsage": {
      "properties": {
        "input_characters": {
          "type": "integer",
          "title": "Input Characters",
          "description": "Number of characters in the synthesized text"
        },
        "output_audio_bytes": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Output Audio Bytes",
          "description": "Size of the generated audio in bytes"
        },
        "duration_seconds": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Duration Seconds",
          "description": "Duration of the generated audio in seconds"
        }
      },
      "type": "object",
      "required": [
        "input_characters"
      ],
      "title": "SpeechUsage",
      "description": "Usage for text-to-speech requests (character-count convention)."
    }
  }
}

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-response"
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.