Écriture

Kaneme corrige un TEXTE EXISTANT dans ta voix (coût dérivé du barème) — « améliore ce contenu »

post/api/v1/improve

Request

  • Base URL: https://kaneme.com
  • URL: https://kaneme.com/api/v1/improve
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Rejouer le même appel avec la même clé rend le premier résultat sans re-débiter. Présent uniquement sur les opérations qui l’honorent réellement.

Request body

textstring required

Texte à reprendre.

profileIdstring

Voix visée. Par défaut, la voix active du compte.

Response

Succès.

profileIdstring required
textstring required
improvedboolean required

Measured: true only when the same deterministic review, before and after, shows the text closer to the voice with no gap made worse.

reason'already_aligned' | 'too_short' | 'no_reference' | 'out_of_domain' | 'not_closer' | 'unmeasured'

Set when improved is false. No pass (0 credits): already_aligned, too_short, no_reference, out_of_domain. After a pass: not_closer (unchanged or worse) or unmeasured (see verification.abstention).

recommended'original' | 'revised' | 'undecided' required

The version the review recommends keeping: revised when the form review finds it closer and no integrity check flags it; original when an integrity check flags it; undecided otherwise — the form review is not conclusive, so measure both versions (verify_authorship) before choosing.

creditsUsednumber required
directivesstring[] required

Changes

No recorded changes to this operation across all 1 revision of this API.