> ## Documentation Index
> Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# AI News Capture Pack

> Bundle screenshots and assets per news story

# AI News Capture Pack

Bundle screenshots, metadata, and assets for each news story into organized packages.

```mermaid theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
flowchart LR
    A[Story URLs] --> B[AI News Capture Pack]
    B --> C[Capture & Bundle]
    C --> D[Asset Package]
    
    style A fill:#e1f5fe
    style D fill:#c8e6c9
```

## CLI Quickstart

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai recipe run ai-news-capture-pack \
  --input '{"urls": ["https://example.com/article1"], "story_id": "story_001"}' \
  --json
```

## Use in Your App (SDK)

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
import sys
sys.path.insert(0, 'agent_recipes/templates/ai-news-capture-pack')
from tools import capture_story_assets, create_bundle

# Capture assets for a story
assets = capture_story_assets(
    urls=["https://example.com/article1", "https://example.com/article2"],
    story_id="story_001"
)

# Create bundle
bundle = create_bundle(
    story_id="story_001",
    assets=assets["assets"],
    include_metadata=True
)
```

## Input Schema

```json theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
{
  "type": "object",
  "properties": {
    "urls": {"type": "array"},
    "story_id": {"type": "string"},
    "include_metadata": {"type": "boolean", "default": true}
  }
}
```

## Output Schema

```json theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
{
  "bundle_path": "/output/story_001.zip",
  "assets": [
    {"url": "...", "screenshot": "capture_0.png", "title": "..."}
  ],
  "total_captured": 2
}
```

## Bundle Contents

| File            | Description     |
| --------------- | --------------- |
| capture\_\*.png | Screenshots     |
| metadata.json   | Story metadata  |
| manifest.json   | Bundle manifest |

## Dependencies

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
pip install playwright
playwright install chromium
```

## Related Tools

* [AI Screenshot Capture](/docs/examples/agent-recipes/creator-suite/ai-screenshot-capture)
* [AI B-roll Builder](/docs/examples/agent-recipes/creator-suite/ai-broll-builder)
