Locus public pay-per-use API
Locus public pay-per-use API
Answeringour last check, 2026-12-01
3 of 3checks answered this week
555 msmedian answer time
$0.069listed price per call
$0.069price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://grok.x402.paywithlocus.com/grok/image-generate
| Category | Image and media |
|---|---|
| Provider host | grok.x402.paywithlocus.com |
| Networks | eip155:8453 |
| Payment schemes | upto |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-12-01 | valid payment request | 402 | $0.069 | 555 ms |
| 2026-11-30 | valid payment request | 402 | $0.069 | 558 ms |
| 2026-11-29 | valid payment request | 402 | $0.069 | 554 ms |
Example input (from the provider)
{
"body": {
"model": "grok-imagine-image-2.0",
"n": 1,
"prompt": "A single purple compass rose centered on a plain white background",
"resolution": "1k",
"response_format": "b64_json"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": true,
"properties": {
"aspect_ratio": {
"type": "string"
},
"model": {
"type": "string"
},
"n": {
"type": "number"
},
"prompt": {
"type": "string"
},
"quality": {
"type": "string"
},
"resolution": {
"type": "string"
},
"response_format": {
"type": "string"
}
},
"required": [
"prompt",
"model"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}