← Back to directory

Text-to-Image Generation

https://api.x-router.ai/v1/images/generate

Overview

Text-to-Image Generation

Protocol x402
Price $0.0057
Payment Asset USD Coin
Payment Network Base
Category media/images
Provider x-router
Source bazaar
Indexed 2026-03-02 01:01:21

Health

Status degraded
Latency (p50) 245ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-03-21 01:12:41
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Invalid
Asset Verified
Facilitator

Input Schema

{ "bodyFields": { "guidance": { "description": "Guidance scale for generation (1-30)", "type": "number" }, "height": { "description": "Image height in pixels, must be divisible by 64 (128-2048, default: 1024)", "type": "number" }, "model": { "description": "Image model to use", "type": "string" }, "negativePrompt": { "description": "Negative prompt to avoid certain elements (max 3000 chars)", "type": "string" }, "numberResults": { "description": "Number of images to generate (1-4, default: 1)", "type": "number" }, "prompt": { "description": "Text description of the image to generate (2-3000 chars)", "required": true, "type": "string" }, "seed": { "description": "Random seed for reproducibility", "type": "number" }, "steps": { "description": "Number of inference steps (1-50)", "type": "number" }, "width": { "description": "Image width in pixels, must be divisible by 64 (128-2048, default: 1024)", "type": "number" } }, "bodyType": "json", "discoverable": true, "method": "POST", "type": "http" }

Output Schema

{ "images": { "description": "Array of generated image objects", "items": { "properties": { "url": { "description": "CDN URL of the generated image", "type": "string" }, "uuid": { "description": "Unique identifier for the image", "type": "string" } }, "type": "object" }, "type": "array" }, "model": { "description": "Model used for generation", "type": "string" } }

Recent Health Checks

Time Status HTTP Latency Error
2026-03-21 01:12:41 degraded 404 243ms
2026-03-21 00:12:46 degraded 404 242ms
2026-03-20 23:29:57 degraded 404 242ms
2026-03-20 22:07:39 degraded 404 245ms
2026-03-20 21:36:09 degraded 404 366ms
2026-03-20 20:30:01 degraded 404 244ms
2026-03-20 19:36:51 degraded 404 242ms
2026-03-20 18:50:28 degraded 404 245ms
2026-03-20 18:11:22 degraded 404 244ms
2026-03-20 17:15:23 degraded 404 254ms
2026-03-20 16:06:22 degraded 404 262ms
2026-03-20 15:31:45 degraded 404 249ms
2026-03-20 14:37:31 degraded 404 246ms
2026-03-20 13:51:16 degraded 404 400ms
2026-03-20 12:38:46 degraded 404 241ms
2026-03-20 11:50:52 degraded 404 245ms
2026-03-20 10:42:34 degraded 404 249ms
2026-03-20 09:46:33 degraded 404 242ms
2026-03-20 09:04:55 degraded 404 243ms
2026-03-20 07:52:38 degraded 404 245ms