API-Dokumentation
HumanizeRU API für Humanisierung, Erkennung und Stil-Workflows.
Erstelle einen API-Schlüssel im Dashboard.
Agent API
Gib Agenten eine stabile Schreibschicht: Humanisierung, Stilbasen, private Stile und Profilextraktion.
Authentifizierung
Übergebe einen API-Key mit Authorization: Bearer hru_dein_key. Private Stile benötigen API-Key oder aktive Session.
Stilbasis verwenden
curl -X POST https://humanizeru.com/api/humanize \
-H "Authorization: Bearer hru_your_key" \
-H "Content-Type: application/json" \
-d '{
"text": "Your text with at least 50 characters...",
"tone": "conversational",
"style_preset": "technical_programmer",
"style_strength": "balanced",
"style_adjustments": {
"technicality": "high",
"warmth": "medium"
}
}'Stilprofil extrahieren
curl -X POST https://humanizeru.com/api/styles/extract \
-H "Authorization: Bearer hru_your_key" \
-H "Content-Type: application/json" \
-d '{
"sample": "A style sample with at least 120 characters..."
}'Fertige Stilbasen
curl https://humanizeru.com/api/style-presets
Privaten Stil verwenden
curl -X POST https://humanizeru.com/api/humanize \
-H "Authorization: Bearer hru_your_key" \
-H "Content-Type: application/json" \
-d '{
"text": "Your text with at least 50 characters...",
"style_id": "saved-style-id",
"style_strength": "balanced"
}'KI-Texterkennung
curl -X POST https://humanizeru.com/api/detect \
-H "Content-Type: application/json" \
-d '{
"text": "Text to check..."
}'Fehler
Die API liefert stabile Codes wie INVALID_API_KEY, TEXT_TOO_SHORT, STYLE_SAMPLE_TOO_SHORT und STYLE_NOT_FOUND.