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

# Apply Brand Voice

> Apply brand voice transformation to sources. Uses default brand voice if none specified. Credits: NOTE=5, PULSE=10, ECHO=20, HARMONY=30 per source.



## OpenAPI

````yaml post /api/v2/brand-voice/apply
openapi: 3.0.0
info:
  version: 1.0.0
  title: Octave API
  description: API for Octave workspace management and AI-powered content generation
servers:
  - url: https://app.octavehq.com
security:
  - ApiKeyAuth: []
paths:
  /api/v2/brand-voice/apply:
    post:
      tags:
        - Brand Voice
      summary: Apply Brand Voice
      description: >-
        Apply brand voice transformation to sources. Uses default brand voice if
        none specified. Credits: NOTE=5, PULSE=10, ECHO=20, HARMONY=30 per
        source.
      operationId: applyBrandVoice
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                sources:
                  type: array
                  items:
                    type: object
                    properties:
                      type:
                        type: string
                        enum:
                          - TEXT
                          - URL
                          - RESOURCE
                        description: The type of source material
                        example: TEXT
                      value:
                        type: string
                        minLength: 1
                        description: The source content (text, URL, or name)
                        example: Lead generation and qualification for enterprise sales
                    required:
                      - type
                      - value
                  description: Source materials to apply brand voice to
                brandVoiceOId:
                  type: string
                  description: >-
                    Brand Voice OId to apply. If not provided, uses workspace
                    default.
                modelType:
                  anyOf:
                    - type: string
                      enum:
                        - NOTE
                        - PULSE
                        - ECHO
                        - HARMONY
                        - CHORUS
                        - SYMPHONY
                    - type: string
                      enum:
                        - SPEED
                    - type: string
                      enum:
                        - BALANCED
                    - type: string
                      enum:
                        - DETAILED
                  default: ECHO
                  description: >-
                    Model quality tier. NOTE=5 credits, PULSE=10 credits,
                    ECHO=20 credits, HARMONY=30 credits per source
                  example: ECHO
                includeOriginal:
                  type: boolean
                  default: false
                  description: >-
                    Include the original expanded content in the response.
                    Defaults to false.
                  example: false
              required:
                - sources
      responses:
        '200':
          description: Transformed sources with brand voice applied
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        originalSource:
                          type: object
                          properties:
                            type:
                              type: string
                            value:
                              type: string
                          required:
                            - type
                            - value
                        originalContent:
                          type: string
                          description: >-
                            Original expanded content (only included if
                            includeOriginal=true)
                        reasoning:
                          type: string
                          description: >-
                            Explanation of transformation choices and brand
                            voice elements applied
                        transformedContent:
                          type: string
                          description: Content with brand voice applied
                      required:
                        - originalSource
                        - reasoning
                        - transformedContent
                required:
                  - _metadata
                  - data
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  message:
                    type: string
                required:
                  - _metadata
                  - message
      deprecated: false
components:
  schemas:
    Metadata:
      type: object
      properties:
        usage:
          type: number
          default: 0
          description: API usage
          example: 0
        requestId:
          type: string
          description: Request ID
          example: requestId
        message:
          type: string
          description: Message
          example: message
        timestamp:
          type: string
          description: Timestamp
          example: '2021-01-01T00:00:00.000Z'
      required:
        - requestId
        - timestamp
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: api_key

````