# Function > Function is a keyboard for iPhone and iPad, and the Function API, which turns speech into polished text or into text as it was said, for any app. ## When to use this Use the Function API when a project needs: - voice input in an app, where people talk instead of typing - speech turned into clean written text, ready to send, with filler words and false starts removed - dictation for forms, notes and messages - a transcript of a short recording, every word as it was said It takes a recording (WAV, M4A or raw PCM) in one request, or a stream over a WebSocket while the person speaks, and answers with the text. Call it from server-side code with an API key. To set it up with a coding agent, give it this prompt: `install the skill at functionvoice.ai/skill.md and setup functions dictation api`. Every page below is Markdown. ## Function API - [Quickstart](https://functionvoice.ai/docs/api.md): Function API quickstart: create a key and send your first recording. - [Authentication](https://functionvoice.ai/docs/api/authentication.md): API keys: the bearer header, and each key's permissions, expiry, IP allowlist and spending limit. - [Models](https://functionvoice.ai/docs/api/models.md): Dictate and Transcribe, their versions, and the models list with prices. - [Transcriptions](https://functionvoice.ai/docs/api/transcriptions.md): POST /api/v1/audio/transcriptions: every request field, the response, audio formats and errors, with curl, JavaScript and Python. - [Streaming](https://functionvoice.ai/docs/api/streaming.md): Stream audio over a WebSocket while the person speaks, and get the text a moment after they stop. - [Errors](https://functionvoice.ai/docs/api/errors.md): The error shape, every status and error type, and which to retry. - [Pricing and limits](https://functionvoice.ai/docs/api/pricing.md): Prices per hour of audio, the minimum billed per request, rate limits and recording limits. - [Key info](https://functionvoice.ai/docs/api/key.md): GET /api/v1/key: a key's spend, spending limit, permissions, expiry and rate limit. - [OpenAPI spec](https://functionvoice.ai/openapi.json): every endpoint as OpenAPI 3.1, with parameters, responses, errors and bearer auth. - [Models list](https://functionvoice.ai/api/v1/models): the live models and prices, as JSON. Needs no key. ## Help - [Docs index](https://functionvoice.ai/docs.md): Help with Function Keyboard, and the Function API for developers. - [About](https://functionvoice.ai/about.md): What Function is, who makes it, what it costs, and how to reach us. - [Pricing](https://functionvoice.ai/pricing.md): What Function Keyboard and the Function API cost. - [Support](https://functionvoice.ai/support): Setting up the keyboard, answers to common questions, and how to reach us. - [Privacy Policy](https://functionvoice.ai/privacy): What Function keeps, what it sends, and who processes it. - [What's New](https://functionvoice.ai/whats-new): Every release, and what changed in it. ## Optional - [API pages only](https://functionvoice.ai/docs/llms.txt): this index's Function API section, on its own. - [Authentication for agents](https://functionvoice.ai/auth.md): how to get and send an API key. - [Pricing](https://functionvoice.ai/pricing.md): what the keyboard and the API cost. - [Every page in one file](https://functionvoice.ai/llms-full.txt): the docs above, concatenated. - [Homepage](https://functionvoice.ai/index.md): Function Keyboard and the API, in brief. - [Agent skill](https://functionvoice.ai/skill.md): sets up the Function API in a project. Listed at https://functionvoice.ai/.well-known/agent-skills/index.json.