nsizeseedenhance_promptBy default the router tries our listings in routing order and fails over before the first byte — never mid-answer. Uptime is our own 24h measurement; a dash means too few requests to measure yet. Open the row for the provider's specs and policies.
curl --max-time 630 https://api.routerplus.com/v1/images/generations \
-H "Authorization: Bearer $TM_API_KEY" -H "content-type: application/json" \
-d '{"model":"machgen/hidream-o1-image","prompt":"a red dot","size":"1024x1024"}'# OpenAI SDK — only the base URL changes import base64, os from openai import OpenAI client = OpenAI(base_url="https://api.routerplus.com/v1", api_key=os.environ["TM_API_KEY"], timeout=630.0, max_retries=0) r = client.images.generate(model="machgen/hidream-o1-image", prompt="a red dot", size="1024x1024") image_bytes = base64.b64decode(r.data[0].b64_json)
import OpenAI from "openai"; const client = new OpenAI({ baseURL: "https://api.routerplus.com/v1", apiKey: process.env.TM_API_KEY, timeout: 630000, maxRetries: 0 }); const r = await client.images.generate({ model: "machgen/hidream-o1-image", prompt: "a red dot", size: "1024x1024" }); const imageBytes = Buffer.from(r.data[0].b64_json, "base64");
| output image | $0.003 / megapixel |
Every billed response carries usage.cost — recompute your bill from the wire.
Values outside these are refused with a 400 that names the field.