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

# List Caption Templates

> List available caption style templates.

Returns a paginated list of templates that can be used when creating captioned videos.



## OpenAPI

````yaml /help/docs/fr/api/openapi.json get /v1/videos/captions/templates
openapi: 3.1.0
info:
  title: Mirage Video API
  description: API for AI-powered video generation
  version: 0.0.1
  x-generated-by: export_openapi.py
  x-generated-note: >-
    Auto-generated from FastAPI routes and Pydantic models. Do not edit manually
    - run 'make export-openapi' to regenerate.
servers:
  - url: https://api.mirage.app
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /v1/videos/captions/templates:
    get:
      tags:
        - Video Captions
      summary: List Caption Templates
      description: >-
        List available caption style templates.


        Returns a paginated list of templates that can be used when creating
        captioned videos.
      operationId: list_caption_templates_v1_videos_captions_templates_get
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: Max number of items to return
            default: 20
            title: Limit
          description: Max number of items to return
        - name: after
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Return items strictly after this template ID
            title: After
          description: Return items strictly after this template ID
      responses:
        '200':
          description: Returns a paginated list of available caption templates
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MACaptionTemplateList'
components:
  schemas:
    MACaptionTemplateList:
      properties:
        data:
          items:
            $ref: '#/components/schemas/MACaptionTemplate'
          type: array
          title: Data
          description: List of caption templates
        object:
          type: string
          const: list
          title: Object
          default: list
        has_more:
          type: boolean
          title: Has More
          description: Whether there are more templates after this page
      type: object
      required:
        - data
        - has_more
      title: MACaptionTemplateList
      description: Paginated list of caption templates
      x-mint:
        content: |
          ## The CaptionTemplateList Object

          Paginated list of caption templates

          ### Attributes

          **data** `array` *required*
            List of caption templates

          **object** `string` *optional*

          **has_more** `boolean` *required*
            Whether there are more templates after this page
    MACaptionTemplate:
      properties:
        id:
          type: string
          title: Id
          description: Unique template identifier
          examples:
            - ctpl_123456789abcdefg
        object:
          type: string
          const: caption_template
          title: Object
          default: caption_template
        name:
          type: string
          title: Name
          description: Human-readable template name
          examples:
            - Bold White
        preview_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Preview Url
          description: URL to a preview video of the template
          examples:
            - >-
              https://captions-cdn.xyz/studio-assets/captions-style-previews/1FA3A381-5DDF-4ECD-936B-63D7CF16DEB0.mp4
        created_at:
          type: integer
          title: Created At
          description: When the template was created (unix timestamp)
          examples:
            - 1730000000
      type: object
      required:
        - id
        - name
        - created_at
      title: MACaptionTemplate
      description: Represents a caption style template
      x-mint:
        content: |
          ## The CaptionTemplate Object

          Represents a caption style template

          ### Attributes

          **id** `string` *required*
            Unique template identifier

          **object** `string` *optional*

          **name** `string` *required*
            Human-readable template name

          **preview_url** `string` *optional*
            URL to a preview video of the template

          **created_at** `integer` *required*
            When the template was created (unix timestamp)
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for authentication.

````