> ## 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 Publisher Pack

> Generate cross-platform publisher packs with ready-to-upload files

# AI Publisher Pack

Generate cross-platform publishing packs with platform-specific metadata, assets, and upload instructions.

```mermaid theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
flowchart LR
    A[Content] --> B[AI Publisher Pack]
    B --> C[Platform Optimization]
    C --> D[Upload-Ready Packs]
    
    style A fill:#e1f5fe
    style D fill:#c8e6c9
```

## CLI Quickstart

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai recipe run ai-publisher-pack \
  --input '{"content": {"title": "AI News", "description": "..."}, "platforms": ["youtube", "x", "linkedin"]}' \
  --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-publisher-pack')
from tools import create_publisher_pack, generate_platform_assets

# Create publisher pack
pack = create_publisher_pack(
    content={
        "title": "AI News Update",
        "description": "Latest AI developments...",
        "tags": ["AI", "news", "technology"]
    },
    platforms=["youtube", "x", "linkedin"]
)

# Generate platform-specific video assets
assets = generate_platform_assets(
    video_path="video.mp4",
    platforms=["youtube", "instagram", "tiktok"],
    output_dir="./assets"
)
```

## Input Schema

```json theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
{
  "type": "object",
  "properties": {
    "content": {
      "type": "object",
      "properties": {
        "title": {"type": "string"},
        "description": {"type": "string"},
        "tags": {"type": "array"}
      }
    },
    "platforms": {"type": "array"}
  }
}
```

## Output Schema

```json theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
{
  "pack_dir": "/output/pack_20241229",
  "packs": [
    {"platform": "youtube", "directory": "...", "metadata": {...}}
  ],
  "manifest": "/output/manifest.json"
}
```

## Supported Platforms

| Platform  | Assets Generated                         |
| --------- | ---------------------------------------- |
| YouTube   | Title, description, tags, thumbnail spec |
| X         | Tweet text, hashtags                     |
| LinkedIn  | Post text, hashtags                      |
| Instagram | Caption, hashtags                        |
| TikTok    | Caption, hashtags                        |

## Related Tools

* [AI Content Calendar](/docs/examples/agent-recipes/creator-suite/ai-content-calendar)
* [AI Post Copy Generator](/docs/examples/agent-recipes/creator-suite/ai-post-copy-generator)
