Skip to main content

Write

Write articles, copy, or content to spec

$0.05
per call
POST /write Advanced

Try It

This tool requires an API key. Get one from $1 to try it.

curl Example

curl -X POST https://api.aipaygen.com/write \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "spec": "string",
  "type": "article|post|copy"
}'

Python Example

import requests

resp = requests.post(
    "https://api.aipaygen.com/write",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json",
    },
    json={
    "spec": "string",
    "type": "article|post|copy"
}
)
print(resp.json())

Response Format

{
  "result": "<Write output>",
  "_meta": {
    "endpoint": "/write",
    "model": "claude-sonnet-4-20250514",
    "cost_usd": 0.05
  }
}

Related Tools

Rewrite
$0.02
Proofread
$0.02
Headline
$0.01

Get API Key — From $1

$0.25 trial credits free. ~40 AI calls. No subscription.

Get Started

Or install via MCP: pip install aipaygen-mcp