{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nicevois-com/json-schema/nicevois-com-create-conversion-schema.json",
  "title": "CreateConversion",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nicevois-com-openapi.json#/components/schemas/CreateConversion",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "modelId",
    "fileName",
    "durationSeconds"
  ],
  "properties": {
    "modelId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "description": "A voice id from listVoiceModels: one of the user's models, or a licensed library voice (ids starting house_)."
    },
    "fileName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255,
      "description": "Original WAV, MP3, FLAC, M4A, or OGG source-vocal filename."
    },
    "sizeBytes": {
      "type": "integer",
      "minimum": 1,
      "description": "Exact source-audio byte size used to verify and resume private uploads."
    },
    "durationSeconds": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 86400,
      "description": "Measured duration used to verify that the account can retrieve the result before cloud work."
    },
    "transpose": {
      "type": "integer",
      "minimum": -24,
      "maximum": 24,
      "default": 0
    },
    "wholeSong": {
      "type": "boolean",
      "description": "true for a finished song with music (for example a Suno track): NiceVois separates it, converts the lead with the voice, keeps the instrumental and backing vocals, and returns the finished cover plus each stem in files."
    },
    "acceptsVoiceLibraryTerms": {
      "const": true,
      "description": "Only after VOICE_LIBRARY_TERMS_REQUIRED, once the user has accepted https://nicevois.com/voice-library-terms."
    }
  }
}