SkillsGrove
SkillsGrove/영상 제작/Runware/runware-skills/runware-run

runware-run

설치

$npx skills add https://github.com/Runware/runware-skills --skill runware-run
$git clone --depth 1 https://github.com/Runware/runware-skills.git /tmp/runware-skills && mkdir -p ~/.claude/skills && cp -r /tmp/runware-skills/skills/runware-run ~/.claude/skills/runware-run
이 Agent Skill을 설치해 주세요: https://github.com/Runware/runware-skills/tree/299727696a0643eb437b9ed91631bf3e089fda8a/skills/runware-run — 먼저 SKILL.md와 스크립트를 읽고, 안전하다고 확인한 뒤에만 제 skills 폴더에 설치해 주세요.

요약

원문 설명 · MITHow to actually call the Runware API correctly for any task - inspect the model's schema, send the right fields, run synchronously for images or asynchronously for video/audio/3D, and read the result. Load this whenever an agent is about to make a real Runware generation call. Foundation skill that every outcome skill builds on.
아래 SKILL.md는 Runware/runware-skills(커밋 2997276)에서 MIT 라이선스에 따라 게시한 것입니다. 본문은 변경하지 않았으며, 파일 상단의 메타데이터만 생략하고 이미지는 링크로 표시하며 매우 긴 파일은 일부만 표시합니다. Copyright 2026 Runware. 라이선스: LICENSE. 지침 파일만 표시되며 스크립트 등은 원본 저장소를 참고하세요.

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)

  1. Pick the model + taskType. Get the model from runware-models (live lookup). The taskType usually follows the modality: imageInference for images, videoInference for video, audioInference for audio, 3dInference for 3D, textInference for LLMs, modelUpload for custom models. But it is a fixed constant declared in each model's own schema, not a modality-level default you can assume - several image models take their own type instead: upscalers use upscale, vectorizers use vectorize, background removers use removeBackground. Edit, inpaint, fill and try-on models stay imageInference with a reference image added. Check the model's schema when it is not a plain text-to-X call. A just-launched model not yet in the SDK registry throws "Unknown model" - pass taskType explicitly to bypass that.
  2. 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.
  3. 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.
  4. 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; poll getResponse until it reports terminal. Don't block a single sync call on a minutes-long job.
  5. Read the result. Images return image URLs; video returns videoURL; 3D returns files under outputs.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: 1 to 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: true to get the real cost back on a live run.

Identity

  • Models are addressed by AIR (e.g. bfl:7@1, google:3@2, runware:400@2). Slugs also resolve and are the future-canonical form. Communicate AIRs in calls.
  • Account-owned / test models use the runware source (e.g. runware:sdk_test@1).

Surfaces

The same contract holds whether the agent drives the TypeScript SDK (@runware/sdk), the Python SDK (runware), the MCP tools, or the CLI. Prefer the SDK/MCP - they handle schema resolution, upload, and async polling for you. For LLM/text models, Runware also exposes an OpenAI-compatible endpoint at api.runware.ai/v1.

Quality bar

  • The request used only schema-valid fields (verified, not assumed).
  • Time-based tasks were run async and polled, not blocked on a sync call.
  • Cost was known (dry-run or includeCost) before committing to a batch.

Related skills

runware-models (pick the model), runware-prompting (write the prompt), and every outcome skill (they specialize this contract).

라이선스 전문 보기(MIT)
MIT License

Copyright (c) 2026 Runware

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.