HumanizeRUAPI key

Documentação da API

API da HumanizeRU para humanização, detecção e fluxos de estilo.

Crie uma chave de API no Dashboard.

Agent API

Dê aos agentes uma camada estável de escrita: humanização, bases de estilo, estilos privados e extração de perfil.

Autenticação

Passe uma API key com Authorization: Bearer hru_sua_key. Estilos privados exigem API key ou sessão ativa.

Usar uma 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"
    }
  }'

Extrair 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 prontas

curl https://humanizeru.com/api/style-presets

Usar um 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"
  }'

Detecção de texto IA

curl -X POST https://humanizeru.com/api/detect \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Text to check..."
  }'

Erros

A API retorna códigos estáveis como INVALID_API_KEY, TEXT_TOO_SHORT, STYLE_SAMPLE_TOO_SHORT e STYLE_NOT_FOUND.

Documentação completa