Skip to main content

Overview

Runware exposes a single synchronous endpoint (https://api.runware.ai/v1) that accepts an array of tasks. Bifrost wraps each request in this array envelope and maps the unified image and video schemas onto Runware’s imageInference and videoInference task types. Image tasks return synchronously; video tasks are submitted asynchronously and polled to completion.

Supported Operations


1. Image Generation

Generate (POST /v1/images/generations)

Extra Params: pass a seedImage (a Runware image UUID, public URL, or base64/data-URI) to run image-to-image. Any other provider-native fields flow through extra_params. Response: BifrostImageGenerationResponse with data[].url or data[].b64_json.

Example


2. Image Edit

Edit (POST /v1/images/edits)

The first input image becomes the seedImage; supplying a mask enables inpainting. Outpainting and other provider-native fields flow through extra_params.

Example

Response: same shape as Image Generation (data[].url or data[].b64_json).

3. Video Generation

Generate (POST /v1/videos)

Video tasks are submitted with deliveryMethod: async and return a queued job. Poll Retrieve until status: completed, then download. Extra Params: provider-native fields flow through extra_params. Response: BifrostVideoGenerationResponse with id, status, videos[]. Generation Modes (auto-detected): text-to-video (prompt only) · image-to-video (prompt + input_reference). Bifrost statuses (normalized): queuedin_progresscompleted / failed. Runware’s native statuses are processing, success, error.

Retrieve / Download

Video Delete, List, and Remix are not supported by Runware.

Setup & Configuration

Configure Runware as a provider.
  1. Navigate to Models > Model Providers. Look for Runware under Configured Providers. If it is missing, click on Add New Provider and select Runware.
  2. Click Add Key or edit an existing key.
  3. Set a name for your key.
  4. Paste your API key directly or use an environment variable (for example, env.RUNWARE_API_KEY).
  5. Set Allowed Models to All Models (default) or the specific model allowlist you want this key to serve.
  6. Save the provider configuration.