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

# Generate synthetic music data

> Generates synthetic music fixtures for testing media catalogs, demo records, import fixtures, playlists, recommendation samples, and UI previews. Supported methods include profile, album, artist, genre, and songName.



## OpenAPI

````yaml https://apix.spotzee.com/api/ext/openapi.json post /generic/data/generate/music
openapi: 3.1.0
info:
  title: Spotzee API
  version: '2026-04-28'
  description: >-
    Comprehensive API for email services, DNS management, AI tools, and
    marketing features.
servers:
  - url: https://apix.spotzee.com/api/ext
    description: >-
      Extended API surface — sender-side utilities (DNS, AI, deliverability,
      generators).
security:
  - BearerAuth: []
tags:
  - name: AI
    description: >-
      Sender-side AI utilities — generate copy, score subject lines, and draft
      message variants tailored to a contact or campaign brief.
  - name: Data
    description: >-
      Realistic-looking sample data for development and load testing — contacts,
      events, and segments shaped like production records without exposing real
      customer data.
  - name: DNS
    description: >-
      Inspect a domain’s sender posture — SPF, DKIM, DMARC, MX, and reverse-DNS
      records — and surface the gaps that put deliverability at risk.
  - name: Email
    description: >-
      Send-side validation and inspection — verify addresses, fingerprint MTAs,
      decode bounces, and check inbox-placement signals before a campaign goes
      out.
  - name: SMS
    description: Mobile-number validation and carrier lookup for SMS campaigns.
  - name: Text
    description: >-
      Text-quality utilities — spam-score grading, readability metrics, and
      subject-line scoring against deliverability heuristics.
paths:
  /generic/data/generate/music:
    post:
      tags:
        - Data
      summary: Generate synthetic music data
      description: >-
        Generates synthetic music fixtures for testing media catalogs, demo
        records, import fixtures, playlists, recommendation samples, and UI
        previews. Supported methods include profile, album, artist, genre, and
        songName.
      operationId: generateMusicData
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                count:
                  type: string
                  description: >-
                    Number of music records to generate (1-100). Passed as
                    string but must be numeric.
                  example: '10'
                  pattern: ^[1-9]\d?$|^100$
                locale:
                  type: string
                  description: >-
                    Locale for generated data (for example, en, es, fr, de, pt,
                    zh)
                  example: en
                seed:
                  type: string
                  description: >-
                    Seed for deterministic generation. Same seed produces same
                    results.
                  example: '12345'
                method:
                  type: string
                  description: Music generation method. Defaults to profile.
                  example: profile
                  enum:
                    - profile
                    - album
                    - artist
                    - genre
                    - songName
      responses:
        '200':
          description: Successfully generated music data
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - success
                  data:
                    type: object
                    properties:
                      music:
                        type: array
                        items:
                          type: object
                          properties:
                            method:
                              type: string
                              enum:
                                - profile
                                - album
                                - artist
                                - genre
                                - songName
                              description: Resolved music generation method.
                              example: profile
                            value:
                              type: string
                              description: Primary generated music fixture value.
                              example: Midnight City
                            album:
                              type: string
                              description: Generated album name.
                              example: Electric Dreams
                            artist:
                              type: string
                              description: Generated artist name.
                              example: The Example Band
                            genre:
                              type: string
                              description: Generated music genre.
                              example: Synthwave
                            songName:
                              type: string
                              description: Generated song name.
                              example: Midnight City
                          required:
                            - method
                            - value
                      generated:
                        type: number
                      locale:
                        type: string
                      seed:
                        type: number
                      method:
                        type: string
                        enum:
                          - profile
                          - album
                          - artist
                          - genre
                          - songName
                    required:
                      - music
                      - generated
                      - locale
                      - method
                  performance:
                    type: object
                    properties:
                      generationTime:
                        type: number
                        description: Generation time in milliseconds.
                        example: 2
                      itemsGenerated:
                        type: number
                        description: Number of items generated.
                        example: 10
                      locale:
                        type: string
                        description: Locale used for generation.
                        example: en
                    required:
                      - generationTime
                      - itemsGenerated
                      - locale
                required:
                  - status
                  - data
                example:
                  status: success
                  data:
                    music:
                      - method: profile
                        value: Midnight City
                        album: Electric Dreams
                        artist: The Example Band
                        genre: Synthwave
                        songName: Midnight City
                    generated: 1
                    locale: en
                    seed: 12345
                    method: profile
                  performance:
                    generationTime: 2
                    itemsGenerated: 1
                    locale: en
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                    description: Indicates an error occurred
                  error:
                    type: string
                    description: >-
                      Human-readable error message. Mirrors the Main API
                      envelope’s legacy `error` field; the canonical replacement
                      is `message` + machine-readable `code` (see
                      @spotzee/api-schemas/shared `ErrorResponse`).
                    example: Invalid request parameters
                required:
                  - status
                  - error
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                    description: Indicates an error occurred
                  error:
                    type: string
                    description: >-
                      Human-readable error message. Mirrors the Main API
                      envelope’s legacy `error` field; the canonical replacement
                      is `message` + machine-readable `code` (see
                      @spotzee/api-schemas/shared `ErrorResponse`).
                    example: Invalid request parameters
                required:
                  - status
                  - error
        '402':
          description: Payment Required
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                    description: Indicates an error occurred
                  error:
                    type: string
                    description: >-
                      Human-readable error message. Mirrors the Main API
                      envelope’s legacy `error` field; the canonical replacement
                      is `message` + machine-readable `code` (see
                      @spotzee/api-schemas/shared `ErrorResponse`).
                    example: Invalid request parameters
                required:
                  - status
                  - error
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                    description: Indicates an error occurred
                  error:
                    type: string
                    description: >-
                      Human-readable error message. Mirrors the Main API
                      envelope’s legacy `error` field; the canonical replacement
                      is `message` + machine-readable `code` (see
                      @spotzee/api-schemas/shared `ErrorResponse`).
                    example: Invalid request parameters
                required:
                  - status
                  - error
        '503':
          description: Service unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                    description: Indicates an error occurred
                  error:
                    type: string
                    description: >-
                      Human-readable error message. Mirrors the Main API
                      envelope’s legacy `error` field; the canonical replacement
                      is `message` + machine-readable `code` (see
                      @spotzee/api-schemas/shared `ErrorResponse`).
                    example: Invalid request parameters
                required:
                  - status
                  - error
        '504':
          description: Gateway timeout
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                    description: Indicates an error occurred
                  error:
                    type: string
                    description: >-
                      Human-readable error message. Mirrors the Main API
                      envelope’s legacy `error` field; the canonical replacement
                      is `message` + machine-readable `code` (see
                      @spotzee/api-schemas/shared `ErrorResponse`).
                    example: Invalid request parameters
                required:
                  - status
                  - error
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: 'Bearer token authentication. Use format: Bearer YOUR_API_KEY'

````

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