Clarify text

    Transform noisy or colloquial transcriptions into clear, grammatically correct text.

    Request Body

    ParameterTypeRequiredDescription
    modelvalsea-clarifyYes
    textstringYesText to clarify.
    response_formatjson | verbose_jsonNoDefault: json
    languagestringNoOptional language hint (e.g. "singlish").

    Code Examples

    curl -X POST https://api.valsea.ai/v1/clarifications \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "valsea-clarify",
        "text": "Hello, world"
      }'
    

    Response

    Minimal (json)

    FieldTypeDescription
    clarified_textstring

    Verbose (verbose_json)

    FieldTypeDescription
    clarified_textstring
    raw_textstring
    explanationsarray
    revisionsarray

    Errors

    StatusDescription
    401Missing or invalid API key
    402Insufficient credits

    Was this page helpful?