بنقرة واحدة
runware-api
// Use when making, reviewing, debugging, or scripting Runware API requests. Follow Runware's raw REST/WebSocket request shape, authentication, UUID, async polling, error, retry, and model-selection rules.
// Use when making, reviewing, debugging, or scripting Runware API requests. Follow Runware's raw REST/WebSocket request shape, authentication, UUID, async polling, error, retry, and model-selection rules.
| name | runware-api |
| description | Use when making, reviewing, debugging, or scripting Runware API requests. Follow Runware's raw REST/WebSocket request shape, authentication, UUID, async polling, error, retry, and model-selection rules. |
Use this skill when working with Runware requests in this repo. Prefer the current Runware docs for model-specific parameters, because available models and capabilities change often.
https://runware.ai/docs/platform/introductionhttps://runware.ai/docs/platform/authenticationhttps://runware.ai/docs/platform/task-pollinghttps://runware.ai/docs/platform/errorshttps://runware.ai/docs/platform/rate-limitshttps://runware.ai/docs/platform/model-searchhttps://runware.ai/docs/guides/text-to-imagehttps://api.runware.ai/v1.wss://ws-api.runware.ai/v1.Authorization: Bearer <API_KEY> whenever
possible. Payload auth is allowed by docs but avoid embedding keys in saved
JSON.taskUUID must use a fresh UUID v4. Preserve and log
the UUID for debugging and async polling.taskUUID and taskType; do not assume array
order is enough.This workspace has an ignored local helper at local/runware_request.py.
Examples:
export RUNWARE_API_KEY="..."
python3 local/runware_request.py model-search --search "pixel art" --limit 5
python3 local/runware_request.py text-to-image --prompt "a small airship over a forest"
python3 local/runware_request.py raw request.json
python3 local/runware_request.py poll <taskUUID>
The helper prints the full JSON response, retries transient REST/capacity
failures with exponential backoff, exits nonzero when errors is present, and
uses only Python standard-library modules.
"deliveryMethod": "async" when the model
or workflow supports it.getResponse task:[
{
"taskType": "getResponse",
"taskUUID": "00000000-0000-4000-8000-000000000000"
}
]
getResponse can return processing, success, or error; completed
generations can appear before the whole task is finished.errors array. Multiple-task requests can
have some successful data entries and some scoped errors.message and taskUUID; the UUID is important for support.429, HTTP
5xx, and capacity/provider codes such as timeoutProvider or
providerRateLimitExceeded.For imageInference text-to-image work:
taskType: "imageInference".model, positivePrompt, width, height, and a UUID v4
taskUUID.runware:101@1 only as a quick FLUX.1 Dev starting point; search or
inspect model docs when style, cost, speed, or capability matters.negativePrompt is useful for many diffusion models, but FLUX-style models
may ignore it.steps, scheduler,
CFG, and supported extras before assuming parameters are valid..env files, generated request payloads containing
keys, or downloaded private outputs.RUNWARE_API_KEY in the shell environment.