$ man commit-message-from-diff
/commit-message-from-diff
NAME
commit-message-from-diff — generates a git commit message from a diff in conventional commits format
SYNOPSIS
POST https://x402.agentutility.ai/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
Generates a git commit message from a diff in Conventional Commits format. Returns type, scope, subject, body, and a breaking_change flag, ready for git commit -m. Use it as an AI commit-msg generator.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| diff | string | — | required |
| style | string | — enum: conventional · plain | optional |
| scope | string | — | 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.agentutility.ai/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 the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the commit-message-from-diff tool from your MCP-aware agent.
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 |
| app-review-sentiment | Scores app-store reviews by onboarding, stability, pricing, performance, and feature requests. | $0.01 |
| brand-bootstrap | Bootstraps a brand kit for a new business or product in one call. | $0.01 |
| brand-launch-brief | Generates a structured brand launch brief for a new company or product from name, concept, audience, and tone. | $0.01 |
| brand-positioning-brief | Generates a brand positioning brief covering messaging pillars, taglines, launch channels, and a logo prompt. | $0.01 |
| brand-sentiment-analysis | Scores comments, mentions, survey verbatims, and campaign feedback for sentiment. | $0.01 |
| candidate-feedback-sentiment | Summarizes candidate experience, recruiter feedback, and hiring-process comments by sentiment. | $0.01 |
| churn-risk-sentiment | Analyzes support tickets, chats, and emails for negative sentiment, urgency, and at-risk churn themes. | $0.01 |
SEE ALSO