Text
Run a text tool
Runs one of the tools listed by GET /v1/text/tools against your input text. One stateless call; billing is metered on ACTUAL token usage, not a flat rate, and the response returns the token counts and the cost breakdown it charged on.
There is deliberately no free-form prompt escape hatch and no prompt-preview route: both would publish internal prompt engineering to any token holder.
post/v1/text/generate
Request
- Base URL: https://contentmaschine.ai/api
- URL: https://contentmaschine.ai/api/v1/text/generate
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://contentmaschine.ai/api/oauth/authorize, token URL https://contentmaschine.ai/api/oauth/token)
Request body
Response
The tool output.
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.