| name | runway-hello-world |
| description | Runway hello world — AI video generation and creative AI platform.
Use when working with Runway for video generation, image editing, or creative AI.
Trigger with phrases like "runway hello world", "runway-hello-world", "AI video generation".
|
| allowed-tools | Read, Write, Edit, Bash(pip:*), Bash(npm:*), Bash(curl:*), Grep |
| version | 1.4.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","runway","ai","video-generation","creative"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Runway Hello World
Overview
Generate your first AI video from a text prompt using Runway's Gen-3 Alpha model.
Prerequisites
- Completed
runway-install-auth
- API credits available in your Runway account
Instructions
Step 1: Text-to-Video Generation
from runwayml import RunwayML
client = RunwayML()
task = client.image_to_video.create(
model='gen3a_turbo',
prompt_text='A golden retriever running through a field of sunflowers, cinematic lighting, slow motion',
duration=5,
ratio='16:9',
)
print(f"Task created: {task.id}")
Step 2: Poll for Completion
import time
task_result = client.tasks.retrieve(task.id)
while task_result.status not in ('SUCCEEDED', 'FAILED'):
time.sleep(5)
task_result = client.tasks.retrieve(task.id)
print(f" Status: {task_result.status}")
if task_result.status == 'SUCCEEDED':
print(f"Video URL: {task_result.output[0]}")
else:
print(f"Failed: {task_result.failure}")
Step 3: Download the Video