Documentación API
API de HumanizeRU para humanización, detección y flujos de estilo.
Crea una clave API en el Dashboard.
Agent API
Da a los agentes una capa estable de escritura: humanización, bases de estilo, estilos privados y extracción de perfil.
Autenticación
Pasa una API key con Authorization: Bearer hru_tu_key. Los estilos privados requieren API key o una sesión activa.
Usar una base de estilo
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"
}
}'Extraer perfil de estilo
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..."
}'Bases de estilo listas
curl https://humanizeru.com/api/style-presets
Usar un estilo privado
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"
}'Detección de texto IA
curl -X POST https://humanizeru.com/api/detect \
-H "Content-Type: application/json" \
-d '{
"text": "Text to check..."
}'Errores
La API devuelve códigos estables como INVALID_API_KEY, TEXT_TOO_SHORT, STYLE_SAMPLE_TOO_SHORT y STYLE_NOT_FOUND.