> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runflow.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Transcribe audio to text using Whisper



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/runtime/v1/transcribe
openapi: 3.0.0
info:
  title: Runflow Runtime API
  description: >-
    Programmatic surface for the Runflow platform — used by the SDK, the CLI,
    the execution engine, and any server-to-server caller. Authenticate with an
    `x-api-key` header (or `Authorization: Bearer ...`).
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.runflow.ai
    description: Production
  - url: http://localhost:3000
    description: Local development
security: []
tags: []
paths:
  /api/v1/runtime/v1/transcribe:
    post:
      tags:
        - Runtime API - Core
      summary: Transcribe audio to text using Whisper
      operationId: RuntimeController_transcribe
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TranscribeDto'
      responses:
        '201':
          description: 'Transcription result: { text, language?, duration?, provider? }.'
        '400':
          description: Invalid transcribe payload.
      security:
        - bearer: []
components:
  schemas:
    TranscribeDto:
      type: object
      properties:
        audioUrl:
          type: string
          description: URL of the audio file to transcribe
        language:
          type: string
          description: Language code (e.g., pt, en, es). Auto-detect if not provided.
        provider:
          type: string
          description: Transcription provider
          enum:
            - openai
            - deepgram
            - assemblyai
            - google
          default: openai
        model:
          type: string
          description: Model to use (provider-specific)
          example: whisper-1
      required:
        - audioUrl

````