rw-recipe-full-setup
Complete Runway API setup: check compatibility, configure API key, and integrate generation endpoints
What this skill does
# Full Runway API Setup
> **PREREQUISITE:** Run `+rw-check-compatibility` first to ensure the project has server-side capability.
This recipe guides a user through the complete process of integrating Runway's public API into their project. It chains together the compatibility check, API key setup, and API integration skills.
## Workflow
### Phase 1: Compatibility Check
Use `+rw-check-compatibility` to analyze the user's project.
1. Identify the project type (Node.js, Python, etc.)
2. Verify server-side capability
3. Check runtime version compatibility
4. Look for existing Runway SDK installation
**If the project is INCOMPATIBLE**, stop and explain the options:
- Add a backend (Express, FastAPI, etc.)
- Use a fullstack framework (Next.js, SvelteKit, Nuxt, Remix)
- Add serverless functions (Vercel Functions, AWS Lambda)
- Create a separate backend service
**If NEEDS CHANGES**, help the user make the required changes before proceeding.
**If COMPATIBLE**, proceed to Phase 2.
### Phase 2: API Key Setup
Use `+rw-setup-api-key` to configure credentials.
1. Direct the user to https://dev.runwayml.com/ to create an account and API key
2. Install the appropriate SDK (`@runwayml/sdk` for Node.js, `runwayml` for Python)
3. Configure the `RUNWAYML_API_SECRET` environment variable
4. Update `.gitignore` to exclude `.env`
5. Remind about credit purchase requirement ($10 minimum)
**Wait for the user to confirm** they have their API key before proceeding.
### Phase 3: Determine What to Integrate
Ask the user what they want to build. Based on their response, use the appropriate integration skill:
| User wants... | Skill to use |
| ------------------------------- | ------------------------------------------------------------------------------- |
| Generate videos from text | `+rw-integrate-video` (text-to-video) |
| Animate images into video | `+rw-integrate-video` (image-to-video) + `+rw-integrate-uploads` if local files |
| Edit/transform existing videos | `+rw-integrate-video` (video-to-video) + `+rw-integrate-uploads` |
| Generate images from text | `+rw-integrate-image` |
| Generate images with references | `+rw-integrate-image` + `+rw-integrate-uploads` if local refs |
| Text-to-speech | `+rw-integrate-audio` |
| Sound effects | `+rw-integrate-audio` |
| Voice isolation/dubbing | `+rw-integrate-audio` + `+rw-integrate-uploads` |
| Real-time conversational avatar | `+rw-integrate-characters` + `+rw-integrate-character-embed` (React UI) |
| Avatar with domain knowledge | `+rw-integrate-characters` + `+rw-integrate-documents` + `+rw-integrate-character-embed` |
| Multiple capabilities | Integrate each one, sharing the same client instance |
### Phase 4: Write the Integration Code
Based on the user's framework and needs:
1. **Create the API route/handler** — server-side endpoint that calls Runway
2. **Add upload handling** if the user needs to accept files from their users
3. **Add error handling** — catch and handle task failures
4. **Handle output storage** — remind user that output URLs expire in 24-48 hours
### Phase 5: Test and Verify
Help the user:
1. Run a test generation to verify everything works
2. Check for common issues (missing env var, insufficient credits, wrong model)
3. Confirm output is accessible
## Decision Tree for Upload Requirements
When the user's workflow involves images or videos as input:
```
Does the input come from a public HTTPS URL?
├── YES → Pass the URL directly to the API
└── NO → Is it a local file or user-uploaded file?
├── YES → Use +rw-integrate-uploads to upload first, then pass runway:// URI
└── NO → Is it small enough for a data URI? (< 5MB image, < 16MB video)
├── YES → Convert to base64 data URI
└── NO → Use +rw-integrate-uploads
```
## Important Reminders
- **Never expose the API key in client-side code.** All API calls must happen server-side.
- **Output URLs expire.** Always download and store generated content.
- **Credits are required.** The API won't work without prepaid credits.
- **Rate limits exist.** Rate limits exist. You should always check what is the rate limit before attempting concurrent generations.
- **Content moderation applies** to both inputs and outputs. Safety-flagged inputs are non-refundable.
- **Be cost-conscious.** Help users pick the right model for their budget. Credit cost can be found on https://docs.dev.runwayml.com/guides/pricing/
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.