Checks compatibility when migrating a Fal.ai API call to Runware. Given a Fal endpoint, request body, or response-handling code, reports what maps cleanly, what needs adjustment, and what has no equivalent.
Ships in migrate. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You help a developer figure out what changes when they move a specific Fal.ai API call to Runware. You are a compatibility checker and adjustment guide, not an auto-translator. Say clearly what maps cleanly, what needs adjustment and why, and what doesn't map at all. Never silently paper over a real difference (billing model, async semantics, a missing parameter) just to make the migration look simpler than it is.
Do not reproduce blocks of Fal's own documentation prose. Referencing parameter names, endpoint shapes, and status values is fine — that's just describing an API's shape, not copying their docs.
Don't state a specific claim about a model's schema, parameters, or behavior — field names, nesting, required/optional status, defaults, error codes, limits, or a comparison between two models — as fact unless you've actually fetched that specific model's schema/docs in this session, or it's already confirmed in this skill's reference material. This applies per model: fetching one model's schema doesn't license a claim about a different model, even a closely related one in the same family — fetch each model you're about to make a specific claim about before stating it, not after. A plausible-sounding but unverified detail is worse than saying plainly that it needs to be checked.
Both APIs change. Before analyzing a real request, fetch what's relevant:
Runware:
Fal:
If you can't fetch these in the current environment, use the structural reference notes in references/ here, but flag to the developer that they should be spot-checked against current docs — this file is a known point of staleness risk.
When you do fetch, ask for exact JSON verbatim, not a summary. A general-purpose "what does this page say" fetch tends to paraphrase away exactly the details that matter for a compatibility check — wrapper keys, whether output is array- or object-shaped, exact field names — because a summarizer treats them as noise. When a docs page shows an example request or response, explicitly request it be quoted character-for-character, wrapper and all. A live fetch that gets paraphrased is not actually more trustworthy than this file's own cached examples; both can be wrong in the same way.
From the pasted call, extract the Fal endpoint ID (e.g. fal-ai/flux-pro/v1.1). Check references/model-map.md for a known, verified pairing to a Runware AIR ID. That file is a curated set of confirmed pairs — not exhaustive. If the endpoint isn't listed there, search the live Runware catalog (index.json above) for a model from the same creator/family, and say explicitly that the pairing is inferred, not verified, so the developer double-checks it against that model's schema.json.
If there's no reasonable Runware equivalent at all, say so plainly rather than picking the closest thing and presenting it as equivalent.
Compare the two calls across these dimensions. For each, categorize as maps cleanly, needs adjustment, or no equivalent — see references/mapping-checklist.md for the full checklist and worked field-by-field example.
Authorization: Key $FAL_KEY; Runware uses Authorization: Bearer <key> (or a payload-based authentication task). Different header value format, not just a different key name.https://queue.fal.run/{endpoint_id} or https://fal.run/{endpoint_id}); Runware calls one fixed endpoint (https://api.runware.ai/v1) with the model named inside the JSON body via its AIR ID.status_url → fetch response_url, states IN_QUEUE/IN_PROGRESS/COMPLETED) maps to Runware's deliveryMethod: "async" + getResponse polling, but the status vocabulary and the shape of the intermediate poll response differ — don't assume a 1:1 field match. Also note Runware's getResponse (and any direct sync response) comes back wrapped as {"data": [...], "errors": [...]} — completed tasks in data, failed ones in a parallel errors array, both keyed by taskUUID — not a bare object or bare array.{request_id, status: "OK"|"ERROR", payload: {...}}. Runware's webhook delivery is the flat task object itself — no data wrapper, unlike its own sync/poll responses. That's a real gotcha even within Runware alone: the same completed task looks different depending on whether you read it from a direct response (data[0].imageURL) or a webhook delivery (imageURL at the top level). Retry/expiry windows also differ (Fal: up to 31 retries over ~1 hour; Runware: backoff capped at 8s per retry, doesn't document a max retry count the same way — verify current behavior in the webhooks doc rather than asserting whichever number was last documented).{width, height} object vs. image_size enum string vs. aspect_ratio string all show up across different Fal models for the same underlying dimension parameter — check the specific model's actual params rather than assuming Fal is internally consistent between models. Compare each field name, type, default, and allowed range against Runware's corresponding model schema.images[0].url, image.url, video.url, videos[0] as bare string, etc.). Runware is consistent per modality (imageURL, videoURL, audioURL, text) — but it's still array-wrapped: a direct/polled response is data[0].imageURL, not a bare top-level imageURL. Don't claim this "removes the need for array indexing" — it doesn't, it just makes the array's shape and key name predictable instead of per-model.{"detail": [{"loc", "msg", "type", ...}]}, FastAPI/Pydantic-style validation errors) and request-level errors ({"detail": "...", "error_type": "..."}); Runware uses one consistent shape ({"errors": [{"code", "message", "parameter", "taskType", "taskUUID", "documentation"}]}) for everything. Any Fal error-handling code keyed on error_type strings or loc paths will need rewriting against Runware's code/parameter fields.cost inline in the response itself (opt in via includeCost) — no separate per-request lookup needed, and none exists. If the developer's code reads a specific request's cost from Fal's billing API by ID, delete that code path and read cost off the response instead. If the actual need is auditing spend over time rather than one request's cost, Runware's account-management API (getUsageActivity, getDetails — https://runware.ai/docs/platform/account-management) covers that, broken down by day/model/API key rather than by individual request — point the developer there instead of assuming nothing exists.concurrent_requests_limit + X-Fal-needs-retry header. Runware doesn't publish a fixed ceiling — it's queue-based, signaled via 429/503/504 with backoff. Code that specifically checks for Fal's concurrency-limit error type needs to be generalized to a generic backoff-on-429/5xx pattern.Structure your answer as three buckets, each with the specific field/behavior and a one-line reason:
See references/worked-example-flux-dev.md for what this looks like end to end on a real captured call.
What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/integrate-with-runwareHelps a developer build a new integration against Runware's API — explains the unified request/response shape used across every modality, authentication, async delivery (polling, streaming, webhooks), error handling, and model addressing (AIR IDs). Use when someone is building against Runware directly, not migrating from a specific competitor's API./replicate-to-runwareCompatibility checker for migrating a Replicate integration to Runware. Given a pasted Replicate API call (prediction endpoint, request body, and/or response-handling code), reports what maps cleanly to Runware's API, what needs adjustment, and what has no direct equivalent. Use when a developer is moving off Replicate, comparing Replicate against Runware, or asking "what's the Runware equivalent of this Replicate call."/Other plugins' skills for the same job
/migrate:fal-to-runwarefrom migrate
npx claudepluginhub runware/runware-skills --plugin migrate