VoicePreviewRequest
One bounded voice audition for a TTS or native conversational voice. TTS speaks supplied text; conversational output may rephrase. Empty text uses the platform sample. Preview spend is bound to the authenticated workspace; organization_id is an optional consistency hint and a foreign value is rejected.
Properties
| Name | Type | Description |
|---|---|---|
| agent_id | string | Optional saved hosted agent pin for a managed text-to-speech preview only; every voice refuses one longer than 512 characters after trimming surrounding whitespace. It must belong to the authenticated |
| audio_environment | object | Optional immutable ambience selection. When present, the preview WAV is a deterministic headroom-safe local audition only; this does not claim a receiver-side final mix. Provider voice and explicit la |
| credential_id | string | Optional selected BYOK credential for a text-to-speech voice. It is validated at the provider and then used to render this preview; a platform credential is never a fallback. A conversation-engine voi |
| delivery | string | Optional delivery profile, the same value an agent stores in `voice_polish.delivery`. The preview applies exactly the provider settings a call with that profile would use; for a provider/model without |
| language | string | Any language the selected provider advertises. |
| model | string | |
| organization_id | string | Optional consistency hint; if supplied, it must match the bearer workspace. |
| project_id | string | Must belong to the bearer workspace. |
| provider | string | |
| text | string | Optional audition sentence, at most 200 characters. TTS speaks it; native conversational engines may rephrase. Custom content is not persisted or shared. Empty text uses the platform sample; TTS with |
| voice_id | string | Exact provider voice id. For a text-to-speech voice on a platform credential it must be present in the browsable voice inventory, except an existing saved hosted agent may explicitly re-test its exact |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/skysay-ai/json-schema/skysay-ai-voice-preview-request-schema.json",
"title": "VoicePreviewRequest",
"description": "One bounded voice audition for a TTS or native conversational voice. TTS speaks supplied text; conversational output may rephrase. Empty text uses the platform sample. Preview spend is bound to the authenticated workspace; organization_id is an optional consistency hint and a foreign value is rejected.",
"x-generated": "2026-11-25",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/skysay-ai-openapi.json#/components/schemas/VoicePreviewRequest",
"properties": {
"agent_id": {
"description": "Optional saved hosted agent pin for a managed text-to-speech preview only; every voice refuses one longer than 512 characters after trimming surrounding whitespace. It must belong to the authenticated project and exactly match the requested platform-managed provider, model, voice id, and language. It permits re-testing a stored selection missing from the current provider listing; it does not authorize a new voice choice or any BYOK selection. Text-to-speech only: Eleven Realtime refuses a non-empty value with 400 voice_preview_unsupported, so send only the voice fields; GPT-Live 1.1 and Gemini Live ignore it.",
"type": "string"
},
"audio_environment": {
"$ref": "#/$defs/AudioEnvironmentSelection",
"description": "Optional immutable ambience selection. When present, the preview WAV is a deterministic headroom-safe local audition only; this does not claim a receiver-side final mix. Provider voice and explicit language are unchanged."
},
"credential_id": {
"description": "Optional selected BYOK credential for a text-to-speech voice. It is validated at the provider and then used to render this preview; a platform credential is never a fallback. A conversation-engine voice refuses it with 400 voice_preview_unsupported: Eleven Realtime any non-empty value, GPT-Live 1.1 and Gemini Live a non-blank one. An empty value counts as absent.",
"type": "string"
},
"delivery": {
"description": "Optional delivery profile, the same value an agent stores in `voice_polish.delivery`. The preview applies exactly the provider settings a call with that profile would use; for a provider/model without a truthful control (Fish Audio, Azure) the audio is unchanged and the response reports `delivery_applied: false`. Text-to-speech only: GPT-Live 1.1 and Gemini Live ignore a valid profile, and Eleven Realtime refuses one with 400 voice_preview_unsupported.",
"enum": [
"natural",
"lively",
"calm",
"precise"
],
"type": "string"
},
"language": {
"description": "Any language the selected provider advertises.",
"type": "string"
},
"model": {
"type": "string"
},
"organization_id": {
"description": "Optional consistency hint; if supplied, it must match the bearer workspace.",
"type": "string"
},
"project_id": {
"description": "Must belong to the bearer workspace.",
"type": "string"
},
"provider": {
"type": "string"
},
"text": {
"description": "Optional audition sentence, at most 200 characters. TTS speaks it; native conversational engines may rephrase. Custom content is not persisted or shared. Empty text uses the platform sample; TTS with ambience requires explicit text.",
"maxLength": 200,
"type": "string"
},
"voice_id": {
"description": "Exact provider voice id. For a text-to-speech voice on a platform credential it must be present in the browsable voice inventory, except an existing saved hosted agent may explicitly re-test its exact current selection; with a BYOK credential any id the provider accepts is allowed, so cloned and private voices work. A conversation-engine voice must be one of that engine's own voices.",
"type": "string"
}
},
"required": [
"project_id",
"provider",
"model",
"voice_id",
"language"
],
"type": "object",
"$defs": {
"AudioEnvironmentSelection": {
"additionalProperties": false,
"properties": {
"asset_version": {
"description": "Immutable packaged asset version; it is never inferred.",
"enum": [
"v1"
],
"type": "string"
},
"preset_id": {
"description": "Exact catalogue id. `off` has no asset.",
"type": "string"
},
"volume": {
"description": "Whole-number selection. Off requires 0; enabled presets require 1 through 100.",
"maximum": 100,
"minimum": 0,
"type": "integer"
}
},
"required": [
"preset_id",
"asset_version",
"volume"
],
"type": "object"
}
}
}
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.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/skysay-ai-voice-preview-request"
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.