> ## 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.

# Slide Generator Example

> Example usage of ai-slide-generator

# Slide Generator Example

Generate slides using PraisonAI.

## Prerequisites

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
pip install praisonai praisonai-tools
```

## CLI Example

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai recipe run ai-slide-generator \
  --input '{"input": "your-input-here"}' \
  --json
```

## Python Example

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonai.recipe import run, run_stream

result = run(
    "ai-slide-generator",
    input={
        "input": "your-input-here"
    }
)

print(f"Success: {result.ok}")
print(f"Output: {result.output}")
```

## Server Example

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
# Start server
praisonai serve recipe --port 8080

# Invoke
curl -X POST http://localhost:8080/v1/recipes/run \
  -H "Content-Type: application/json" \
  -d '{
    "recipe": "ai-slide-generator",
    "input": {"input": "your-input-here"}
  }'
```

## Expected Output

```json theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
{
  "ok": true,
  "run_id": "run_abc123",
  "recipe": "ai-slide-generator",
  "output": {},
  "artifacts": []
}
```
