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

# Add Preset

> Add preset.

**Laravel Implementation Status**: ✅ Persisted to JSON file via NativePresetStore (no fallback needed)



## OpenAPI

````yaml https://raw.githubusercontent.com/invokable/laravel-voicevox/refs/heads/main/docs/en/laravel-openapi.json post /add_preset
openapi: 3.1.0
info:
  title: VOICEVOX ENGINE OSS
  description: VOICEVOX OSS  text-to-speech synthesis engine.
  version: latest
servers: []
security: []
paths:
  /add_preset:
    post:
      tags:
        - Other
      summary: Add Preset
      description: >-
        Add preset.


        **Laravel Implementation Status**: ✅ Persisted to JSON file via
        NativePresetStore (no fallback needed)
      operationId: add_preset
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Preset'
              description: >-
                New preset. If preset ID conflicts with existing one, new preset
                ID will be assigned.
        required: true
      responses:
        '200':
          description: Preset ID of the added preset
          content:
            application/json:
              schema:
                type: integer
                title: Response Add Preset Add Preset Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Preset:
      properties:
        id:
          type: integer
          title: Id
          description: PresetsID
        name:
          type: string
          title: Name
          description: Preset name
        speaker_uuid:
          type: string
          title: Speaker Uuid
          description: Character UUID
        style_id:
          type: integer
          title: Style Id
          description: Style ID
        speedScale:
          type: number
          title: Speedscale
          description: Overall speech speed
        pitchScale:
          type: number
          title: Pitchscale
          description: Overall pitch
        intonationScale:
          type: number
          title: Intonationscale
          description: Overall intonation
        volumeScale:
          type: number
          title: Volumescale
          description: Overall volume
        prePhonemeLength:
          type: number
          title: Prephonemelength
          description: Silence duration before the audio
        postPhonemeLength:
          type: number
          title: Postphonemelength
          description: Silence duration after the audio
        pauseLength:
          type: number
          title: Pauselength
          description: Silence duration for punctuation etc.
        pauseLengthScale:
          type: number
          title: Pauselengthscale
          description: Silence duration for punctuation etc. (multiplier)
          default: 1
      type: object
      required:
        - id
        - name
        - speaker_uuid
        - style_id
        - speedScale
        - pitchScale
        - intonationScale
        - volumeScale
        - prePhonemeLength
        - postPhonemeLength
      title: Preset
      description: Preset information.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````