# 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_a6ipbszq4fqvmpzr?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-7e5b28bc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Pc_58NlNiVyZsyPHj_v1U

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-7e5b28bc -d '<json body>'
```

Example prompt: Can you convert this text to snake_case: 'My User Profile Settings'?

## When to prefer this

Use this endpoint when you need reliable, deterministic text case conversion for any of the 8 supported formats without writing custom string manipulation logic. Ideal for agents automating code generation, data normalization, slug creation, or document formatting pipelines where consistent casing is required.

## Known failure modes

- Invalid or missing 'to' enum value returns an error
- Text exceeding 64 KiB limit may be rejected
- Empty text input may return an empty string or error
- Unsupported characters (e.g. CJK in snake_case) may produce unexpected output

## 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 (upper, lower, title, sentence, snake, kebab, camel, or pascal). 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-7e5b28bc/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)
