Paxa Labs

รายการโมเดล

GEThttps://api.paxalabs.com/v1/models

GET /v1/models แสดงทุกโมเดลที่ให้บริการ พร้อมรหัส ราคา เพดานการใช้งาน ฟอร์แมตที่รองรับ และรหัสเสียง เป็นเอนด์พอยต์สาธารณะ ไม่ต้องใช้คีย์ API

ดูเป็น Markdown
curl https://api.paxalabs.com/v1/models
{
  "models": [
    {
      "id": "paxa-tts-flash-v1",
      "name": "Paxa TTS Flash",
      "product": "tts",
      "max_chars": 5000,
      "max_request_chars": null,
      "credits_per_1k_chars": 10,
      "reference_credits_per_1k_chars": null,
      "credits_per_page": null,
      "large_schema_credits_per_page": null,
      "large_schema_min_leaves": null,
      "max_leaves": null,
      "credits_per_hour": null,
      "max_pages": null,
      "max_duration_seconds": null,
      "diarization_limit_seconds": null,
      "max_session_seconds": null,
      "encodings": null,
      "max_bytes": null,
      "formats": null,
      "min_request_credits": 0.1,
      "voices": [
        "khanomkrok",
        "nomyen",
        "foithong",
        "massaman",
        "thongek",
        "panang",
        "oliang",
        "sanaechan",
        "tubtimkrob",
        "mooping",
        "bualoi",
        "lukchup",
        "lodchong",
        "woon",
        "sangkaya",
        "padthai",
        "khaoniao",
        "tomyum",
        "khanomchan",
        "kaprao",
        "yoyo",
        "somtam",
        "larb",
        "khaosoi",
        "roti",
        "donut",
        "cookie",
        "toast",
        "latte",
        "espresso",
        "mocha",
        "taohuay",
        "oolong",
        "tako"
      ],
      "sources": null,
      "target": null
    },
    {
      "id": "paxa-tts-flash-v2",
      "name": "Paxa TTS Flash v2",
      "product": "tts",
      "max_chars": 5000,
      "max_request_chars": null,
      "credits_per_1k_chars": 10,
      "reference_credits_per_1k_chars": null,
      "credits_per_page": null,
      "large_schema_credits_per_page": null,
      "large_schema_min_leaves": null,
      "max_leaves": null,
      "credits_per_hour": null,
      "max_pages": null,
      "max_duration_seconds": null,
      "diarization_limit_seconds": null,
      "max_session_seconds": null,
      "encodings": null,
      "max_bytes": null,
      "formats": null,
      "min_request_credits": 0.1,
      "voices": [
        "khanomkrok",
        "nomyen",
        "foithong",
        "massaman",
        "thongek",
        "panang",
        "oliang",
        "sanaechan",
        "tubtimkrob",
        "mooping",
        "bualoi",
        "lukchup",
        "lodchong",
        "woon",
        "sangkaya",
        "khaoniao",
        "tomyum",
        "khanomchan",
        "kaprao",
        "cookie",
        "latte",
        "espresso",
        "mocha",
        "taohuay",
        "oolong",
        "saku",
        "satay",
        "thongyod",
        "baitoey",
        "kluaytod",
        "matum",
        "hormok",
        "nammanao",
        "khaotom",
        "salim",
        "krayasat",
        "miangkham",
        "todmun",
        "namprik",
        "khaijiao",
        "chuchi",
        "krongkraeng",
        "chormuang",
        "khaolam",
        "plathu",
        "kaengphet",
        "kaengpa",
        "makham",
        "puifai",
        "tako"
      ],
      "sources": null,
      "target": null
    },
    {
      "id": "paxa-stt-lite-v1-preview",
      "name": "Paxa STT Lite",
      "product": "stt",
      "max_chars": null,
      "max_request_chars": null,
      "credits_per_1k_chars": null,
      "reference_credits_per_1k_chars": null,
      "credits_per_page": null,
      "large_schema_credits_per_page": null,
      "large_schema_min_leaves": null,
      "max_leaves": null,
      "credits_per_hour": 500,
      "max_pages": null,
      "max_duration_seconds": 3600,
      "diarization_limit_seconds": 540,
      "max_session_seconds": null,
      "encodings": null,
      "max_bytes": 26214400,
      "formats": [
        "mp3",
        "wav",
        "flac",
        "ogg",
        "m4a",
        "aac",
        "webm"
      ],
      "min_request_credits": 0.1,
      "voices": [],
      "sources": null,
      "target": null
    },
    {
      "id": "paxa-stt-lite-realtime-v1-preview",
      "name": "Paxa STT Lite Realtime",
      "product": "stt",
      "max_chars": null,
      "max_request_chars": null,
      "credits_per_1k_chars": null,
      "reference_credits_per_1k_chars": null,
      "credits_per_page": null,
      "large_schema_credits_per_page": null,
      "large_schema_min_leaves": null,
      "max_leaves": null,
      "credits_per_hour": 750,
      "max_pages": null,
      "max_duration_seconds": null,
      "diarization_limit_seconds": null,
      "max_session_seconds": 14400,
      "encodings": [
        {
          "encoding": "pcm_s16le",
          "sample_rates": [
            16000,
            48000
          ]
        },
        {
          "encoding": "mulaw",
          "sample_rates": [
            8000
          ]
        }
      ],
      "max_bytes": null,
      "formats": null,
      "min_request_credits": 0.1,
      "voices": [],
      "sources": null,
      "target": null
    },
    {
      "id": "paxa-ocr-lite-v1",
      "name": "Paxa OCR Lite",
      "product": "ocr",
      "max_chars": null,
      "max_request_chars": null,
      "credits_per_1k_chars": null,
      "reference_credits_per_1k_chars": null,
      "credits_per_page": 6.5,
      "large_schema_credits_per_page": null,
      "large_schema_min_leaves": null,
      "max_leaves": null,
      "credits_per_hour": null,
      "max_pages": 50,
      "max_duration_seconds": null,
      "diarization_limit_seconds": null,
      "max_session_seconds": null,
      "encodings": null,
      "max_bytes": 10485760,
      "formats": [
        "pdf",
        "png",
        "jpeg",
        "webp"
      ],
      "min_request_credits": 6.5,
      "voices": [],
      "sources": null,
      "target": null
    },
    {
      "id": "paxa-doc-extract-v1",
      "name": "Paxa Document Extraction",
      "product": "extraction",
      "max_chars": null,
      "max_request_chars": null,
      "credits_per_1k_chars": null,
      "reference_credits_per_1k_chars": null,
      "credits_per_page": 13,
      "large_schema_credits_per_page": 19.5,
      "large_schema_min_leaves": 51,
      "max_leaves": 100,
      "credits_per_hour": null,
      "max_pages": 20,
      "max_duration_seconds": null,
      "diarization_limit_seconds": null,
      "max_session_seconds": null,
      "encodings": null,
      "max_bytes": 10485760,
      "formats": [
        "pdf",
        "png",
        "jpeg",
        "webp"
      ],
      "min_request_credits": 13,
      "voices": [],
      "sources": null,
      "target": null
    },
    {
      "id": "paxa-translation-lite-v1",
      "name": "Paxa Translate Lite",
      "product": "translation",
      "max_chars": 20000,
      "max_request_chars": 200000,
      "credits_per_1k_chars": 25,
      "reference_credits_per_1k_chars": 8,
      "credits_per_page": null,
      "large_schema_credits_per_page": null,
      "large_schema_min_leaves": null,
      "max_leaves": null,
      "credits_per_hour": null,
      "max_pages": null,
      "max_duration_seconds": null,
      "diarization_limit_seconds": null,
      "max_session_seconds": null,
      "encodings": null,
      "max_bytes": null,
      "formats": null,
      "min_request_credits": 2,
      "voices": [],
      "sources": [
        "en",
        "zh",
        "ja",
        "ko",
        "ar",
        "fr",
        "de",
        "hi",
        "id",
        "ms",
        "pt",
        "ru",
        "es",
        "vi"
      ],
      "target": "th"
    }
  ],
  "object": "list",
  "data": [
    {
      "id": "paxa-tts-flash-v1",
      "object": "model",
      "created": 1785715200,
      "owned_by": "paxalabs"
    },
    {
      "id": "paxa-tts-flash-v2",
      "object": "model",
      "created": 1792108800,
      "owned_by": "paxalabs"
    },
    {
      "id": "paxa-stt-lite-v1-preview",
      "object": "model",
      "created": 1788912000,
      "owned_by": "paxalabs"
    },
    {
      "id": "paxa-stt-lite-realtime-v1-preview",
      "object": "model",
      "created": 1790121600,
      "owned_by": "paxalabs"
    },
    {
      "id": "paxa-ocr-lite-v1",
      "object": "model",
      "created": 1787529600,
      "owned_by": "paxalabs"
    },
    {
      "id": "paxa-doc-extract-v1",
      "object": "model",
      "created": 1789171200,
      "owned_by": "paxalabs"
    },
    {
      "id": "paxa-translation-lite-v1",
      "object": "model",
      "created": 1786320000,
      "owned_by": "paxalabs"
    }
  ]
}

นำรหัสโมเดลจากแคตตาล็อกนี้ไปใช้ในฟิลด์ model ของทุกคำขอ แต่ละรายการมีขีดจำกัดที่ API บังคับใช้ ทั้ง max_chars และ max_request_chars สำหรับข้อความ max_pages max_bytes และ formats สำหรับเอกสาร พร้อมอัตราค่าบริการเป็น credits_per_1k_chars หรือ credits_per_page

การตอบกลับ#

The served model catalog.

modelsarray of objectsจำเป็น
ดูฟิลด์ย่อย
models[].idstringจำเป็น

Model id to send as the model field.

models[].namestringจำเป็น

Display name.

models[].productstringจำเป็น

Capability of the model: "tts", "translation", "ocr", "extraction", or "stt".

models[].max_charsinteger or nullจำเป็น

Per-request ceiling on the text field in characters. Null for models that read files, such as OCR, Document Extraction, and transcription.

models[].max_request_charsinteger or nullจำเป็น

Ceiling on the request's total billable characters, where that differs from max_chars. Null when it does not. Translation models bill every field. This ceiling bounds the text together with instructions, context, examples, do_not_translate strings, and glossary.

models[].credits_per_1k_charsinteger or nullจำเป็น

Cost in credits per 1000 input characters, billed per character and rounded up to the next hundredth of a credit. TTS requests that set timestamps bill at 1.25x this rate. Null for models billed by page or by recording length.

models[].reference_credits_per_1k_charsinteger or nullจำเป็น

Cost in credits per 1000 characters of material the model reads without translating: instructions, context, examples, do_not_translate strings, and glossary. Null for models that have no such material.

models[].credits_per_pagenumber or nullจำเป็น

Cost in credits per page for models billed by page, such as OCR and Document Extraction, exact to a hundredth. Null for models billed otherwise.

models[].large_schema_credits_per_pagenumber or nullจำเป็น

Cost in credits per page a Document Extraction request takes when its schema declares large_schema_min_leaves leaf fields or more. Null for other models.

models[].large_schema_min_leavesinteger or nullจำเป็น

Leaf count from which a Document Extraction schema bills at large_schema_credits_per_page. Null for other models.

models[].max_leavesinteger or nullจำเป็น

Most leaf fields one Document Extraction schema may declare, counted after arrays and nested objects are unfolded; more answers 400 schema_invalid. Null for other models.

models[].credits_per_hourinteger or nullจำเป็น

Cost in credits per hour of audio for models billed by audio length: a recording's exact length, or the audio received over a realtime connection. Null for models billed otherwise.

models[].max_pagesinteger or nullจำเป็น

Most pages one request accepts; null for models not billed by page. Document Extraction's ceiling is lower than OCR's.

models[].max_duration_secondsinteger or nullจำเป็น

Longest recording one request accepts, in seconds; null for models that do not read audio.

models[].diarization_limit_secondsinteger or nullจำเป็น

Length at which speaker attribution stops, in seconds, well below max_duration_seconds. With diarization on, a recording this long or longer answers 400 diarization_audio_too_long; with it off, it transcribes normally. Null for models that do not read audio.

models[].max_session_secondsinteger or nullจำเป็น

Most audio one realtime connection accepts, in seconds; reaching it ends the session as an end frame would. Null for models that do not serve a connection.

models[].encodingsarray of objects or nullจำเป็น

Audio encodings a realtime connection's start frame may declare, each with the sample rates it accepts. Null for models that do not serve a connection.

models[].max_bytesinteger or nullจำเป็น

Largest decoded file one request accepts, in bytes. Null for models that read text.

models[].formatsarray of strings or nullจำเป็น

File formats the model reads: "pdf", "png", "jpeg", "webp" for OCR and Document Extraction; "mp3", "wav", "flac", "ogg", "m4a", "aac", "webm" for transcription. Null for models that read text.

models[].min_request_creditsnumberจำเป็น

Smallest charge one request to this model can incur, in credits.

models[].voicesarray of stringsจำเป็น

Ids of the voices on this model's roster, the values the voice field accepts. GET /v1/voices carries each voice's details. Empty for models without voices.

models[].sourcesarray of strings or nullจำเป็น

Source language codes the translation source field accepts alongside "auto"; null for non-translation models.

models[].targetstring or nullจำเป็น

Target language code the model translates into; null for non-translation models.

object"list"จำเป็น
dataarray of objectsจำเป็น

The same models in OpenAI's list shape. A client built on an OpenAI SDK lists them with models.list(), and models carries the detail.

ดูฟิลด์ย่อย
data[].idstringจำเป็น

Model id, as in models.

data[].object"model"จำเป็น
data[].createdintegerจำเป็น

Unix time of the UTC day the model opened, in seconds.

data[].owned_by"paxalabs"จำเป็น