Migrate from Runware
If you’re already using the Runware API, you can route requests through OpenPixels by changing the base URL. Your existing code, model names, and request/response formats all stay the same.
1. Get an API key
Generate your API key here .
2. Change the base URL
Replace api.runware.ai with runware.openpixels.ai and use your OpenPixels key:
const response = await fetch("https://runware.openpixels.ai/v1", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: "Bearer sk-op-your-openpixels-key",
},
body: JSON.stringify([
{
taskType: "imageInference",
model: "runware:100@1",
positivePrompt: "a cat",
width: 1024,
height: 1024,
},
]),
})If you’re using the Runware SDK, set the base URL in your client config to https://runware.openpixels.ai.
What happens under the hood
OpenPixels accepts the same request format and returns the same response format as Runware. When you send a request, OpenPixels routes it to the cheapest available provider. If one provider is down, the request automatically falls through to the next one.
Bring your own Runware key
If you have free credits or volume discounts on Runware, you can add your Runware key in provider settings . OpenPixels will use your key when routing to Runware, and our key for other providers.