rw-generate-image
Generate Image
Generate images directly using the Runway API. This skill runs Python scripts that call the API, poll for completion, and download the result.
IMPORTANT: Run scripts from the user's working directory so output files are saved where the user expects.
Usage
uv run scripts/generate_image.py --prompt "your description" --filename "output.png" [--model gen4_image] [--ratio 1280:720] [--reference-images Tag=URL ...]
Preflight
command -v uvmust succeedRUNWAYML_API_SECRETmust be set in the environment. Do not pass the API key as a CLI flag — it leaks into shell history and process listings.
Security Notes
More from runwayml/skills
rw-generate-video
Generate videos directly using the Runway API via runnable scripts. Supports text-to-video, image-to-video, and video-to-video with seedance2, gen4.5, veo3, and more.
102rw-integrate-video
Help users integrate Runway video generation APIs (text-to-video, image-to-video, video-to-video)
82rw-api-reference
Complete reference for Runway's public API: models, endpoints, costs, limits, and types
81rw-integrate-uploads
Help users upload local files to Runway for use as inputs to generation models
76rw-integrate-image
Help users integrate Runway image generation APIs (text-to-image with reference images)
74rw-setup-api-key
Guide users through obtaining and configuring a Runway API key
74