# batch_video_templates_retrieve

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/batch-video-templates/{id}/:
    get:
      summary: batch_video_templates_retrieve
      deprecated: false
      description: ''
      operationId: batch_video_templates_retrieve
      tags:
        - batch-video-templates
        - batch-video-templates
      parameters:
        - name: id
          in: path
          description: A unique integer value identifying this batch video template.
          required: true
          example: 0
          schema:
            type: integer
        - name: Authorization
          in: header
          description: ''
          required: true
          example: Token <api-key>
          schema:
            type: string
            default: Token <api-key>
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchVideoTemplate'
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: batch-video-templates
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/4243012/apis/api-160139839-run
components:
  schemas:
    BatchVideoTemplate:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        avatar:
          $ref: '#/components/schemas/AvatarNested'
        voice:
          $ref: '#/components/schemas/TTSVoiceNested'
        text:
          type: string
        background:
          allOf:
            - $ref: '#/components/schemas/MediaFileNested'
          type: 'null'
      required:
        - id
        - avatar
        - voice
        - text
      x-apifox-orders:
        - id
        - avatar
        - voice
        - text
        - background
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
    MediaFileNested:
      type: object
      description: File of type image or video.
      properties:
        id:
          type: integer
        name:
          type: string
          readOnly: true
          description: Title of file
          nullable: true
        tag:
          allOf:
            - $ref: '#/components/schemas/TagEnum'
          readOnly: true
          default: general
        file:
          type: string
          format: uri
          readOnly: true
          description: File
        compressed_file:
          type: string
          format: uri
          readOnly: true
          description: Compressed file
          nullable: true
        width:
          type: integer
          readOnly: true
          description: Width of image or video
          nullable: true
        height:
          type: integer
          readOnly: true
          description: Height of image or video
          nullable: true
      required:
        - id
        - name
        - tag
        - file
        - compressed_file
        - width
        - height
      x-apifox-orders:
        - id
        - name
        - tag
        - file
        - compressed_file
        - width
        - height
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
    TagEnum:
      enum:
        - general
        - asset
        - speech
        - presentation_page
        - scene
        - scene_preview
        - background
      type: string
      x-apifox-folder: ''
    TTSVoiceNested:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
          readOnly: true
        label:
          type: string
          readOnly: true
        provider:
          allOf:
            - $ref: '#/components/schemas/TTSProviderEnum'
          readOnly: true
        sex:
          allOf:
            - $ref: '#/components/schemas/SexEnum'
          readOnly: true
        language:
          type: string
          readOnly: true
        language_code:
          type: string
          readOnly: true
      required:
        - id
        - name
        - label
        - provider
        - sex
        - language
        - language_code
      x-apifox-orders:
        - id
        - name
        - label
        - provider
        - sex
        - language
        - language_code
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
    SexEnum:
      enum:
        - male
        - female
      type: string
      x-apifox-folder: ''
    TTSProviderEnum:
      enum:
        - amazon
        - azure
        - descript
        - google
        - elevenlabs
      type: string
      x-apifox-folder: ''
    AvatarNested:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
          readOnly: true
        preview:
          type: string
          format: uri
          readOnly: true
        frame_width:
          type: integer
          readOnly: true
        frame_height:
          type: integer
          readOnly: true
      required:
        - id
        - name
        - preview
        - frame_width
        - frame_height
      x-apifox-orders:
        - id
        - name
        - preview
        - frame_width
        - frame_height
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
  securitySchemes: {}
servers:
  - url: http://dev-cn.your-api-server.com
    description: 开发环境
  - url: http://test-cn.your-api-server.com
    description: 测试环境
  - url: https://api.spiritme.tech
    description: 正式环境
security: []

```
