{"openapi":"3.0.2","info":{"title":"elevenlabs/eleven_multilingual_v2","description":"The request body Comfy Router accepts for the model \"elevenlabs/eleven_multilingual_v2\", and the response body it returns. The INPUT schema is the same schema the server validates a call against before it reaches the provider, so what is published and what is enforced cannot differ. `x-comfy-router-input-modalities` records the media kinds the model is documented to accept; the request schema is shared across sibling models and may admit media kinds this model ignores. The OUTPUT schema describes the provider's native result document exactly as Router returns it: Router does not validate, narrow or re-envelope the response, so the output schema is descriptive rather than enforced, and Comfy owns no output shape of its own.","version":"9734cc5b9c94"},"paths":{"/v2/models/elevenlabs/eleven_multilingual_v2":{"post":{"operationId":"runRouterModel","summary":"Run elevenlabs/eleven_multilingual_v2 synchronously.","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ElevenLabsTTSRequest"},{"properties":{"voice_id":{"description":"ID of the voice to use, letters and digits only. Router places it in the ElevenLabs request path.","maxLength":64,"minLength":1,"pattern":"^[A-Za-z0-9]+$","type":"string"}},"required":["voice_id"],"type":"object"}],"description":"Request body for ElevenLabs Text to Speech through Comfy Router. It is the v1 `POST /proxy/elevenlabs/v1/text-to-speech/{voice_id}` body plus a top-level `voice_id`: Router moves that value into the partner request path and removes it from the forwarded body. The `example` below omits `model_id`, which Router fills from the `{model}` path segment.","example":{"text":"Hello from Comfy Router.","voice_id":"21m00Tcm4TlvDq8ikWAM"}}}}},"responses":{"200":{"description":"OK - the model's native `*/*` output, returned unchanged; the schema describes the provider's terminal result document as Router returns it.","content":{"*/*":{"schema":{"description":"Raw audio bytes. The Content-Type and encoding follow the requested output_format and are forwarded from ElevenLabs. The example is a placeholder for the binary body, not JSON or base64.","example":"(binary audio bytes)","format":"binary","type":"string"}}}}}}}},"components":{"schemas":{"ElevenLabsPronunciationDictionaryLocator":{"description":"Locator for a pronunciation dictionary","properties":{"pronunciation_dictionary_id":{"description":"The ID of the pronunciation dictionary","type":"string"},"version_id":{"description":"The version ID of the pronunciation dictionary","type":"string"}},"required":["pronunciation_dictionary_id","version_id"],"type":"object"},"ElevenLabsTTSRequest":{"description":"Request body for ElevenLabs Text to Speech","properties":{"apply_language_text_normalization":{"default":false,"description":"Controls language-specific text normalization. Can heavily increase latency. Currently only supported for Japanese.","type":"boolean"},"apply_text_normalization":{"default":"auto","description":"Controls text normalization. 'auto' lets the system decide, 'on' always applies normalization,\n'off' skips normalization.\n","enum":["auto","on","off"],"type":"string"},"language_code":{"description":"Language code (ISO 639-1) to enforce for the model. If unsupported, an error is returned.","nullable":true,"type":"string"},"model_id":{"default":"eleven_multilingual_v2","description":"Identifier of the model to use. Query /v1/models to list available models.","nullable":true,"type":"string"},"next_request_ids":{"description":"Request IDs of next generations for continuity. Maximum 3.","items":{"type":"string"},"maxItems":3,"nullable":true,"type":"array"},"next_text":{"description":"Text that comes after this request, used to improve speech continuity.","nullable":true,"type":"string"},"previous_request_ids":{"description":"Request IDs of previous generations for continuity. Maximum 3.","items":{"type":"string"},"maxItems":3,"nullable":true,"type":"array"},"previous_text":{"description":"Text that came before this request, used to improve speech continuity.","nullable":true,"type":"string"},"pronunciation_dictionary_locators":{"description":"List of pronunciation dictionary locators (id, version_id). Maximum 3 per request.","items":{"$ref":"#/components/schemas/ElevenLabsPronunciationDictionaryLocator"},"maxItems":3,"nullable":true,"type":"array"},"seed":{"description":"Seed for deterministic generation. Must be between 0 and 4294967295.","maximum":4294967295,"minimum":0,"nullable":true,"type":"integer"},"text":{"description":"The text that will be converted into speech.","type":"string"},"use_pvc_as_ivc":{"default":false,"description":"Deprecated. If true, uses IVC version of voice instead of PVC.","type":"boolean"},"voice_settings":{"$ref":"#/components/schemas/ElevenLabsVoiceSettings"}},"required":["text"],"type":"object"},"ElevenLabsVoiceSettings":{"description":"Voice settings configuration","nullable":true,"properties":{"similarity_boost":{"default":0.75,"description":"How closely the AI adheres to the original voice when replicating it.","format":"double","maximum":1,"minimum":0,"nullable":true,"type":"number"},"speed":{"default":1,"description":"Speed adjustment. 1.0 is default, values below slow down, values above speed up.","format":"double","maximum":1.2,"minimum":0.7,"nullable":true,"type":"number"},"stability":{"default":0.5,"description":"Stability of the voice. Lower values introduce broader emotional range.","format":"double","maximum":1,"minimum":0,"nullable":true,"type":"number"},"style":{"default":0,"description":"Style exaggeration. Amplifies the style of the original speaker.","format":"double","maximum":1,"minimum":0,"nullable":true,"type":"number"},"use_speaker_boost":{"default":true,"description":"Boosts similarity to the original speaker. Requires higher computational load.","nullable":true,"type":"boolean"}},"type":"object"}},"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key"},"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"x-comfy-router-model-id":"elevenlabs/eleven_multilingual_v2","x-comfy-input-schema-authored":true,"x-comfy-output-schema-authored":true,"x-comfy-router-input-modalities":["text"],"x-comfy-router-output-modalities":["audio"]}
