# centralcity.ai Text Case Converter

> centralcity.ai Text Case Converter is a paid API for AI agents from centralcity.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-19).

Converts input text to a specified case format: upper, lower, title, sentence, snake, kebab, camel, or pascal.

## Facts

- Endpoint: POST https://centralcity.ai/api/public/x402/off_cdpcxftzlsjv7zdh?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/centralcity-ai-text-case-converter-790719b1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VPaF6GWU-KKeJcVrUGZXv

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability centralcity-ai-text-case-converter-790719b1 -d '<json body>'
```

Example prompt: Can you convert the text 'hello world example' to camelCase for me?

## When to prefer this

Use this endpoint when you need deterministic, rule-based text case conversion without relying on an LLM to format strings — ideal for code generation pipelines, URL slug creation, variable name normalization, or display formatting where consistency and correctness are critical. Prefer it over manual string manipulation when the target case is one of the eight supported formats.

## Known failure modes

- Invalid case value not in the allowed enum returns an error
- Text exceeding 64 KiB limit may be rejected
- Empty text input may return an empty string or error
- Missing required 'to' or 'text' fields returns a validation error

## How this service works

Writes a text in another case: upper, lower, title, sentence, snake, kebab, camel or pascal.

## Output

Returns the input text rewritten in the specified case format (e.g. 'hello world' → 'HELLO WORLD' for upper, 'helloWorld' for camel, 'hello-world' for kebab). The response contains the transformed string ready for use.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "enum": [
    "upper",
    "lower",
    "title",
    "sentence",
    "snake",
    "kebab",
    "camel",
    "pascal"
   ],
   "type": "string",
   "description": "The case to write: upper, lower, title, sentence, snake, kebab, camel, pascal."
  },
  "text": {
   "type": "string",
   "description": "The text, at most 64 KiB."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/centralcity-ai-text-case-converter-790719b1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from centralcity.ai](https://www.zero.xyz/host/centralcity.ai/llms.txt)
