Fun
Positivity sanitizer API
Gives moral support to an overly aggressive user and rewrites the text into chaotic positivity.
Price$0.01per request
MethodPOST
Route/v1/fun/positivity
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache0s public
funtonerewritemoral-supportpositivity
API URL
Integration docshttps://x402.hexl.dev/v1/fun/positivityExample request
{
"text": "This feature is garbage and impossible to ship.",
"aggressiveness": "high"
}Example response
{
"moralSupport": "You were not being mean. You were stress-testing the emotional firewall.",
"normalizedText": "This feature is pre-loved chaos and requesting a dramatic launch ritual.",
"hypeMantra": "Breathe in: valid. Breathe out: still correct, just louder than necessary.",
"toneShifts": 2,
"provider": "local-fallback"
}Input schema
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 4000,
"examples": [
"This feature is garbage and impossible to ship."
]
},
"aggressiveness": {
"type": "string",
"enum": [
"low",
"medium",
"high"
],
"default": "medium"
}
}
}Output schema
{
"type": "object",
"required": [
"moralSupport",
"normalizedText",
"hypeMantra",
"toneShifts",
"provider"
],
"properties": {
"moralSupport": {
"type": "string"
},
"normalizedText": {
"type": "string"
},
"hypeMantra": {
"type": "string"
},
"toneShifts": {
"type": "number",
"minimum": 0
},
"provider": {
"type": "string"
}
}
}