# DocForge PPTX Generator

> DocForge PPTX Generator is a paid API for AI agents from docforge-selim.duckdns.org, paid per call via x402, $0.05/call, status down (last checked 2026-09-15).

Generates a binary PowerPoint (.pptx) presentation file on demand via a machine-payable x402 micropayment (USDC on Base).

## Facts

- Endpoint: POST https://docforge-selim.duckdns.org/pptx
- Price: $0.05/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/docforge-pptx-generator-e9b57ede
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BVAkVEFx4wrup2hsRwIzX

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 docforge-pptx-generator-e9b57ede -d '<json body>'
```

Example prompt: Generate me a 10-slide PowerPoint presentation on the topic of renewable energy trends, with a title slide, agenda, key data points, and a conclusion — pay the $0.05 fee automatically and give me the .pptx file to download.

## When to prefer this

Use this endpoint when an AI agent needs to programmatically generate a PowerPoint (.pptx) presentation file and can handle x402 micropayment flows with USDC on Base. Prefer this over PDF or DOCX endpoints when the output must be editable in PowerPoint/compatible software. Ideal for automated pipelines that need presentation assets without a human designer.

## Known failure modes

- 402 Payment Required — returned on first call before payment header is attached; retry with valid x402 USDC payment header
- 400 Bad Request — missing or malformed slide content in the request body
- Payment verification failure — invalid or insufficient USDC payment on Base chain
- 503 Service Unavailable — server temporarily down (duckdns dynamic DNS host may be intermittent)
- Malformed PPTX output — generation error resulting in corrupted binary

## How this service works

Machine-payable document & media generation via x402 (USDC on Base). Endpoints respond 402 with payment instructions; retry with an x402 payment header.

## Output

A binary PPTX file (Microsoft PowerPoint format) containing the generated slide deck, returned as a file download payload in the response body after successful x402 payment verification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "title",
      "slides"
     ],
     "properties": {
      "theme": {
       "description": "'boardroom' | 'minimal' | 'dark' or { primary, accent, dark, font }"
      },
      "title": {
       "type": "string",
       "description": "Deck title (required)"
      },
      "footer": {
       "type": "string",
       "description": "Footer on content slides (slide numbers added automatically)"
      },
      "slides": {
       "type": "array",
       "description": "Max 40. { layout: title|bullets|twoColumn|table|imageFull|quote|sectionBreak (required), title?, bullets?, left?/right?, table?, imageBase64?, caption?, quote?, attribution?, notes? }"
      },
      "subtitle": {
       "type": "string"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": "Binary PPTX deck"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/docforge-pptx-generator-e9b57ede/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from docforge-selim.duckdns.org](https://www.zero.xyz/host/docforge-selim.duckdns.org/llms.txt)
