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

# Start a transcription

> Speech-to-text with word timestamps and segments (ElevenLabs Scribe v2), up to 120 minutes of audio per file and 5 running per account. Credits are reserved for maxDurationMinutes and settled to the real duration. Returns 202 with a jobId; poll getTranscription.



## OpenAPI

````yaml /openapi.json post /api/v1/transcriptions
openapi: 3.1.0
info:
  title: VidGuy API
  version: 1.0.0
  description: >-
    Make videos, snacks, carousels, images and audio with VidGuy, and post them
    to your connected accounts. Authenticate with a `vf_live_` key as a Bearer
    token.
servers:
  - url: https://www.vidguy.ai
security:
  - ApiKeyAuth: []
tags:
  - name: Jobs
  - name: Credits
  - name: Brands
  - name: Snacks and memes
  - name: Videos
  - name: Carousels and slides
  - name: Images and video models
  - name: Characters
  - name: Editing
  - name: Assets
  - name: Audio
  - name: Social posting
paths:
  /api/v1/transcriptions:
    post:
      tags:
        - Audio
      summary: Start a transcription
      description: >-
        Speech-to-text with word timestamps and segments (ElevenLabs Scribe v2),
        up to 120 minutes of audio per file and 5 running per account. Credits
        are reserved for maxDurationMinutes and settled to the real duration.
        Returns 202 with a jobId; poll getTranscription.
      operationId: createTranscription
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTranscriptionRequest'
      responses:
        '202':
          description: Transcription started.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: {}
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '402':
          description: Insufficient credits.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Source key belongs to another account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Uploaded source not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Too many transcriptions running.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '413':
          description: Source too large.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '415':
          description: Not an audio/video file.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    CreateTranscriptionRequest:
      type: object
      properties:
        source:
          $ref: '#/components/schemas/AudioSource'
        languageCode:
          type: string
          description: ISO 639-1/3; auto-detected when omitted.
        diarize:
          type: boolean
          description: Label speakers (speakerId on words and segments).
        numSpeakers:
          type: integer
          minimum: 1
          maximum: 32
          description: Max speakers; needs diarize.
        tagAudioEvents:
          type: boolean
          description: Include non-speech events like (laughter).
        keyterms:
          type: array
          items:
            type: string
          maxItems: 100
          description: Words to bias recognition toward (names, jargon).
        maxDurationMinutes:
          type: integer
          minimum: 1
          maximum: 120
          description: Default 60. Sizes the credit reservation.
        name:
          type: string
          maxLength: 200
      required:
        - source
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          example: Invalid request
        message:
          type: string
        details:
          type: object
          additionalProperties: {}
      required:
        - error
    AudioSource:
      anyOf:
        - type: object
          properties:
            r2Key:
              type: string
              minLength: 1
              description: >-
                Key from createAssetUpload/importAssetFromUrl (api-uploads/… or
                api-imports/…).
          required:
            - r2Key
        - type: object
          properties:
            url:
              type: string
              format: uri
              description: >-
                Direct https file URL (public or presigned). Video-platform page
                links are rejected.
          required:
            - url
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: 'Send your API key in the Authorization header: `Bearer vf_live_...`'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.