> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.withpaygent.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.withpaygent.com/_mcp/server.

# RunwayML Integration

Track video generation usage for Runway's Gen-3 and other models using the official RunwayML Python SDK.

**`runway_tracking.py`**

```python title="runway_tracking.py"
import paygent_sdk
from runwayml import RunwayML

# 1. Initialize Paygent
paygent_sdk.init(api_key="your-paygent-api-key")

client = RunwayML()

# 2. Generate video
response = client.image_to_video.create(
    model="gen3a_turbo",
    prompt_image="https://example.com/image.jpg",
    seconds=5,
    
    # Paygent tracking parameters
    paygent_agent_id="runway-agent",
    paygent_customer_id="client-789",
    paygent_indicator="gen3-video"
)
```