# PrimeAPI AI Email Generator

> PrimeAPI AI Email Generator is a paid API for AI agents from prime-api-seven.vercel.app, paid per call via x402, $0.152864/call, status unknown (last checked 2026-09-15).

Generates email content using AI based on a provided query or prompt

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/ai/email/generate
- Price: $0.152864/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-ai-email-generator-2b01f9f9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_X8R9QBSrxsHH0V1dJgjfc

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability primeapi-ai-email-generator-2b01f9f9 -d '<json body>'
```

Example prompt: Can you draft a professional follow-up email to a potential client who attended our product demo last week, thanking them for their time and inviting them to schedule a next call?

## When to prefer this

Choose this endpoint when you need to quickly generate a complete email draft from a natural language description without managing API keys, paying per-call in USDC on Base via x402 protocol. Best for AI agent workflows that need automated email composition on demand.

## Known failure modes

- Missing or empty query field returns an error response
- Ambiguous or very short query may produce generic or low-quality email content
- Service unavailability on Vercel infrastructure returns 5xx error
- Payment failure via x402/USDC on Base prevents request from being processed
- Rate limiting or quota exhaustion may result in 429 errors

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns an AI-generated email draft including subject line and body text based on the provided query or prompt, ready to review and send.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/primeapi-ai-email-generator-2b01f9f9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prime-api-seven.vercel.app](https://www.zero.xyz/host/prime-api-seven.vercel.app/llms.txt)
