{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/audiopod-ai/json-schema/audiopod-ai-body-create-public-conversion-api-v1-media-converter-public-convert-post-schema.json",
  "title": "Body_create_public_conversion_api_v1_media_converter_public_convert_post",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/audiopod-ai-media-converter-api-openapi.yml#/components/schemas/Body_create_public_conversion_api_v1_media_converter_public_convert_post",
  "properties": {
    "file": {
      "anyOf": [
        {
          "type": "string",
          "format": "binary"
        },
        {
          "type": "null"
        }
      ],
      "title": "File",
      "description": "Media file to convert (alternative to input_url)"
    },
    "input_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Input Url",
      "description": "URL of media file to convert (alternative to file)"
    },
    "output_format": {
      "type": "string",
      "title": "Output Format",
      "description": "Target output format (mp3, wav, mp4 only for public)"
    },
    "audio_only": {
      "type": "boolean",
      "title": "Audio Only",
      "description": "Extract audio only from video",
      "default": false
    },
    "audio_quality": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Audio Quality",
      "description": "Audio quality preset (low, medium, high)"
    },
    "video_quality": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Video Quality",
      "description": "Video quality preset (240p, 360p, 480p, 720p)"
    },
    "audio_bitrate": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Audio Bitrate",
      "description": "Audio bitrate in kbps"
    },
    "video_bitrate": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Video Bitrate",
      "description": "Video bitrate in kbps"
    },
    "start_time": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Start Time",
      "description": "Start time in seconds"
    },
    "end_time": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "End Time",
      "description": "End time in seconds"
    },
    "duration": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Duration",
      "description": "Duration in seconds"
    },
    "fast_mode": {
      "type": "boolean",
      "title": "Fast Mode",
      "description": "Use faster encoding",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "output_format"
  ]
}