runware-run
Installation
SKILL.md
Running a Runware task
Runware exposes one request shape across every modality: you send a task with a taskType, a model (the AIR), and the parameters that model's schema allows. This skill is the execution contract. Outcome skills decide what to run; this skill is how to run it without guessing.
The contract (follow in order)
- Pick the model + taskType. Get the model from
runware-models(live lookup). ThetaskTypefollows the modality:imageInferencefor images,videoInferencefor video,audioInferencefor audio,modelUploadfor custom models. A just-launched model not yet in the SDK registry throws "Unknown model" - passtaskTypeexplicitly to bypass that. - Inspect the schema before calling. Resolve the model's JSON Schema (the SDK and MCP do this for you). Use only fields the schema allows, and mirror its field names exactly. Never invent or guess parameter names - if it's not in the schema, it does not exist.
- Provide inputs as URLs or base64. Local files get uploaded first (the SDK/MCP have an upload step). Reference images, source video, audio, masks all go under the model's documented input fields.
- Run with the right delivery mode:
- Images / fast tasks → synchronous. The call returns the finished result.
- Video / audio / 3D / training → asynchronous. The task returns a
taskUUID; pollgetResponseuntil it reports terminal. Don't block a single sync call on a minutes-long job.
- Read the result. Images return image URLs; video returns
videoURL; 3D returns files underoutputs.files[].url. Check the modality's result shape, don't assume.
Cost discipline
- Dry-run first when uncertain. Add the header
X-Runware-Dry-Run: 1to validate a request and get its cost without executing or being charged. Safe even for destructive task types. Use it to confirm the schema gate and the price before a real run. - Set
includeCost: trueto get the real cost back on a live run.