$ man commit-message-from-diff
/commit-message-from-diff(1)
NAME
commit-message-from-diff — git commit message generator / conventional commits / ai commit-msg
SYNOPSIS
POST https://x402.org/v1/commit-message-from-diff
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Git commit message generator / Conventional Commits / AI commit-msg. Type, scope, subject, body, breaking_change flag. Ready for git commit -m.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| diff | string | Git diff text. | required |
| style | string | Commit message style preset, e.g. 'conventional' for Conventional Commits or 'plain' for free-form. enum: conventional · plain | optional |
| scope | string | Optional scope hint to inject into the message, like 'auth' or 'api', overriding model-inferred scope. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| type | string | Conventional Commits type like feat, fix, chore, docs, refactor, test, or perf. |
| scope | string | Inferred scope of the change, like 'auth' or 'parser', or empty when no clear scope applies. |
| subject | string | Short imperative summary line under ~72 chars, no trailing period. |
| body | string | Longer explanation paragraph(s) describing what changed and why, blank when the diff is trivial. |
| breaking_change | boolean | True when the diff introduces a breaking API or behavior change requiring a BREAKING CHANGE footer. |
| full_message | string | Fully assembled commit text (subject + body + footers) ready to pass to git commit -m. |
| style | string | Style preset actually used to format the message, echoing the requested style or the default. |
| diff_chars | number | Character count of the input diff that was analyzed. |
| model | string | Identifier of the LLM that generated the commit message, like 'claude-haiku-4-5'. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/commit-message-from-diff \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# install once claude mcp add x402 --command "npx x402-deployer-mcp" # then ask Claude Code: # "use the commit-message-from-diff tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- gitcommitdeveloperconventional-commits
- env
- VENICE_API_KEY
- methods
- POST
- cluster
- wordmint
- price
- $0.01 USDC per call
ADJACENT — other endpoints in wordmint
| endpoint | description | price |
|---|---|---|
| ai-to-human-text | AI text humanizer / GPT detector bypass. | $0.01 |
| citation-verify | Citation verifier / fact-check against URL / does-this-source-support-this-claim / hallucination detector. | $0.01 |
| humanize | AI text humanizer / GPT detector bypass. | $0.01 |
| regex-from-prompt | Regex generator / NL to regex / pattern builder. | $0.01 |
| sentiment | Sentiment + emotion analyzer. | $0.01 |
| sentiment-analysis | Sentiment analyzer / emotion classifier / aspect-based sentiment. | $0.01 |
| structured-extract | Structured-data extractor / JSON-from-text / schema-guided extraction / key-value pull / form-filler. | $0.01 |
| summarize | AI summarizer / TLDR generator. | $0.01 |
SEE ALSO