Skip to main content
The postprocess endpoint sends a text string through the AI enhancement pipeline configured in FluidVoice and returns polished output. This is the same enhancement step that runs automatically after dictation — you can call it independently to build multi-step pipelines where transcription and enhancement happen separately. FluidVoice uses whichever AI provider you have configured in Settings → AI Enhancement: Fluid Intelligence (fully local), OpenAI, Groq, a custom provider, or none. If no AI provider is enabled, the endpoint returns an error.

Request

The endpoint accepts either a JSON body or a plain text body.

JSON body

string
required
The raw transcription text to enhance. This is typically the unedited output from a speech model — informal, unpunctuated, or with filler words — that you want the AI provider to clean up.

Plain text body

If you prefer, send the text directly as a plain UTF-8 string with Content-Type: text/plain:

Response

string
required
The enhanced, post-processed text returned by the AI provider.
string
required
An identifier for the AI provider that processed the text (e.g. "fluid-intelligence", "openai", "groq").
string
required
The specific model used by the provider (e.g. "fluid-1", "gpt-4o", "llama-3.3-70b-versatile").

Error responses

If you have AI enhancement disabled in FluidVoice settings, this endpoint will return an error. Enable an AI provider in Settings → AI Enhancement before calling /v1/postprocess.
You can chain /v1/transcribe and /v1/postprocess to build a two-step pipeline: transcribe an audio file first, then post-process the resulting text. This is useful when you want to inspect the raw transcript before enhancement, or when you want to apply enhancement to text from a different source.