# DocForge Bundle Generator

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

Generates a ZIP bundle containing multiple documents or media files in a single x402-paid API call

## Facts

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

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-bundle-generator-7b745a11 -d '<json body>'
```

Example prompt: Generate a bundle with a PDF report and a cover letter for my job application as a software engineer at Acme Corp — package them together into a single ZIP file and pay the $0.10 fee.

## When to prefer this

Use this endpoint when you need multiple documents or media files generated and delivered together as a single ZIP archive in one atomic, machine-payable transaction. Prefer this over individual file endpoints when you need bundled output and want to minimize round-trips. Best suited for agents that can handle x402 micropayment flows using USDC on Base.

## Known failure modes

- 402 Payment Required — returned before payment header is attached; caller must retry with a valid x402 payment header
- Invalid or insufficient USDC payment — payment rejected, generation not initiated
- Malformed bundle specification — missing required fields results in 400 error
- Network timeout for large bundles — retry may be needed for complex multi-part requests
- Payment confirmed but generation failed — internal server error, refund behavior undefined

## 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 ZIP archive (application/zip) containing one generated file per requested part — documents, media, or other outputs bundled together in a single download. The response is returned after successful x402 USDC payment on Base.

## 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": [
      "parts"
     ],
     "properties": {
      "parts": {
       "type": "array",
       "description": "1-12 parts. Each: { type: pdf|docx|invoice|chart|xlsx|pptx|diagram (required), filename?, ...the body of that standalone endpoint }. A chart part defaults to a line chart (type is the discriminator) — use echartsOption for other kinds. All parts validated before any rendering; one invalid part → 400 with no charge."
      },
      "zipName": {
       "type": "string",
       "description": "Base name for the returned .zip (default 'bundle')"
      }
     }
    },
    "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 ZIP archive (application/zip), one file per part"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/docforge-bundle-generator-7b745a11/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)
