Przegląd
Specyfikacja modelu Maksymalne wyjścieBrak danych
Tokenizer Other
Granica wiedzy Brak danych
Moderowany Nie OPENROUTER
Pełny cennik Stawki zsynchronizowane z OpenRouter, za milion tokenów.
Znaki $15 za milion znaków API
Konfiguracja modelu Obsługiwane głosy cs-CZ-Grant:MAI-Voice-2.1-Flash cs-CZ-Harper:MAI-Voice-2.1-Flash da-DK-Grant:MAI-Voice-2.1-Flash da-DK-Harper:MAI-Voice-2.1-Flash de-DE-Grant:MAI-Voice-2.1-Flash de-DE-Harper:MAI-Voice-2.1-Flash de-DE-Klaus:MAI-Voice-2.1-Flash de-DE-Mia:MAI-Voice-2.1-Flash en-AU-Isla:MAI-Voice-2.1-Flash en-GB-Emily:MAI-Voice-2.1-Flash en-GB-Harry:MAI-Voice-2.1-Flash en-IN-Dhruv:MAI-Voice-2.1-Flash en-IN-Priya:MAI-Voice-2.1-Flash en-US-Ethan:MAI-Voice-2.1-Flash en-US-Grant:MAI-Voice-2.1-Flash en-US-Harper:MAI-Voice-2.1-Flash en-US-Iris:MAI-Voice-2.1-Flash en-US-Jasper:MAI-Voice-2.1-Flash en-US-Olivia:MAI-Voice-2.1-Flash en-US-Sage:MAI-Voice-2.1-Flash es-ES-Marta:MAI-Voice-2.1-Flash es-MX-Alejo:MAI-Voice-2.1-Flash es-MX-Grant:MAI-Voice-2.1-Flash es-MX-Harper:MAI-Voice-2.1-Flash es-MX-Valeria:MAI-Voice-2.1-Flash fi-FI-Grant:MAI-Voice-2.1-Flash fi-FI-Harper:MAI-Voice-2.1-Flash fr-FR-Grant:MAI-Voice-2.1-Flash fr-FR-Harper:MAI-Voice-2.1-Flash fr-FR-Marc:MAI-Voice-2.1-Flash fr-FR-Soleil:MAI-Voice-2.1-Flash hi-IN-Arjun:MAI-Voice-2.1-Flash hi-IN-Dhruv:MAI-Voice-2.1-Flash hi-IN-Grant:MAI-Voice-2.1-Flash hi-IN-Harper:MAI-Voice-2.1-Flash hi-IN-Kavya:MAI-Voice-2.1-Flash hi-IN-Priya:MAI-Voice-2.1-Flash hu-HU-Bence:MAI-Voice-2.1-Flash hu-HU-Grant:MAI-Voice-2.1-Flash hu-HU-Harper:MAI-Voice-2.1-Flash hu-HU-Levente:MAI-Voice-2.1-Flash hu-HU-Lilla:MAI-Voice-2.1-Flash hu-HU-Reka:MAI-Voice-2.1-Flash id-ID-Grant:MAI-Voice-2.1-Flash id-ID-Harper:MAI-Voice-2.1-Flash it-IT-Grant:MAI-Voice-2.1-Flash it-IT-Harper:MAI-Voice-2.1-Flash it-IT-Luca:MAI-Voice-2.1-Flash it-IT-Rosa:MAI-Voice-2.1-Flash ko-KR-Grant:MAI-Voice-2.1-Flash ko-KR-Haena:MAI-Voice-2.1-Flash ko-KR-Harper:MAI-Voice-2.1-Flash ko-KR-Junho:MAI-Voice-2.1-Flash nb-NO-Grant:MAI-Voice-2.1-Flash nb-NO-Harper:MAI-Voice-2.1-Flash nl-NL-Grant:MAI-Voice-2.1-Flash nl-NL-Harper:MAI-Voice-2.1-Flash nl-NL-Sander:MAI-Voice-2.1-Flash pl-PL-Grant:MAI-Voice-2.1-Flash pl-PL-Harper:MAI-Voice-2.1-Flash pt-BR-Caio:MAI-Voice-2.1-Flash pt-BR-Grant:MAI-Voice-2.1-Flash pt-BR-Harper:MAI-Voice-2.1-Flash pt-BR-Luana:MAI-Voice-2.1-Flash pt-BR-Pedro:MAI-Voice-2.1-Flash pt-BR-Rafael:MAI-Voice-2.1-Flash pt-PT-Grant:MAI-Voice-2.1-Flash pt-PT-Harper:MAI-Voice-2.1-Flash pt-PT-Rui:MAI-Voice-2.1-Flash ro-RO-Andrei:MAI-Voice-2.1-Flash ro-RO-Elena:MAI-Voice-2.1-Flash ro-RO-Grant:MAI-Voice-2.1-Flash ro-RO-Harper:MAI-Voice-2.1-Flash ro-RO-Ioana:MAI-Voice-2.1-Flash ro-RO-Radu:MAI-Voice-2.1-Flash ru-RU-Grant:MAI-Voice-2.1-Flash ru-RU-Harper:MAI-Voice-2.1-Flash ru-RU-Lev:MAI-Voice-2.1-Flash ru-RU-Masha:MAI-Voice-2.1-Flash sv-SE-Grant:MAI-Voice-2.1-Flash sv-SE-Harper:MAI-Voice-2.1-Flash th-TH-Grant:MAI-Voice-2.1-Flash th-TH-Harper:MAI-Voice-2.1-Flash th-TH-Krit:MAI-Voice-2.1-Flash th-TH-Nattapong:MAI-Voice-2.1-Flash tr-TR-Aydin:MAI-Voice-2.1-Flash tr-TR-Elif:MAI-Voice-2.1-Flash tr-TR-Grant:MAI-Voice-2.1-Flash tr-TR-Harper:MAI-Voice-2.1-Flash vi-VN-Grant:MAI-Voice-2.1-Flash vi-VN-Harper:MAI-Voice-2.1-Flash zh-CN-Bo:MAI-Voice-2.1-Flash zh-CN-Grant:MAI-Voice-2.1-Flash zh-CN-Harper:MAI-Voice-2.1-Flash zh-CN-Lan:MAI-Voice-2.1-Flash zh-CN-Mei:MAI-Voice-2.1-Flash zh-CN-Wei:MAI-Voice-2.1-Flash
API
Szybki start Ustaw lokalnie OPENROUTER_API_KEY. Python wymaga requests, a JavaScript działa w Node.js. Klucz przechowuj na serwerze.
Wybierz obsługiwany głos. Zastąp YOUR_VOICE_ID, jeśli nie podano głosu.
Dokumentacja API
cURL Python JavaScript
Kopiuj kod curl --fail-with-body https://openrouter.ai/api/v1/audio/speech \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"microsoft/mai-voice-2.1-flash","input":"Hello!","voice":"cs-CZ-Grant:MAI-Voice-2.1-Flash","response_format":"mp3"}' \
--output speech.mp3Możliwości i modalności
Wejście → Wyjście API
Obsługiwane parametry API
Dostępni dostawcy
1 Dostawca Sprawdzono: 2 października 2026
Dostawcy na żywo w OpenRouter Dostępność, opóźnienie, przepustowość i routing stale się zmieniają. Aktualne dane są na stronie źródłowej.
OpenRouter
Azure Brak danych
Kontekst Brak danych
Maksymalne wyjście Brak danych