RunwayML Integration

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

runway_tracking.py
1import paygent_sdk
2from runwayml import RunwayML
3
4# 1. Initialize Paygent
5paygent_sdk.init(api_key="your-paygent-api-key")
6
7client = RunwayML()
8
9# 2. Generate video
10response = client.image_to_video.create(
11    model="gen3a_turbo",
12    prompt_image="https://example.com/image.jpg",
13    seconds=5,
14    
15    # Paygent tracking parameters
16    paygent_agent_id="runway-agent",
17    paygent_customer_id="client-789",
18    paygent_indicator="gen3-video"
19)

Was this page helpful?

Need help? Contact us at support@withpaygent.com