Image generation (Premium)
Generate a larger image from a text prompt using GPT Image 2 (medium quality): 1536x1024 landscape by default, 1024x1536 portrait or 1024x1024 square via orientation. No API key needed; pay per call via x402. Returns base64 PNG. Prompt capped at 4000 chars. A render takes 25 to 50 s; use a client timeout of at least 75 s.
Offering
- Provider
- agent402.tools
- Method
- POST
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Creative
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://agent402.tools/api/image-gen-premium- MIME type
- application/json
- First seen
- 2026-10-16T01:52:02.163Z
- Last seen
- Tags
- AI, image, generation, openai, text-to-image
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.15 USDC
Atomic price: 150000 · Network: eip155:8453 · Asset: USDC · Scheme: exact - Payment option 2
- 0.15 USDC
Atomic price: 150000 · Network: eip155:137 · Asset: USDC · Scheme: exact - Payment option 3
- 0.15 USDC
Atomic price: 150000 · Network: eip155:42161 · Asset: USDC · Scheme: exact - Payment option 4
- 0.15 USDC
Atomic price: 150000 · Network: eip155:143 · Asset: USDC · Scheme: exact - Payment option 5
- 0.15 USDC
Atomic price: 150000 · Network: eip155:43114 · Asset: USDC · Scheme: exact - Payment option 6
- 150000 atomic units
Atomic price: 150000 · Network: eip155:1329 · Asset: 0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392 · Scheme: exact - Payment option 7
- 0.151 USDC
Atomic price: 151000 · Network: eip155:10 · Asset: USDC · Scheme: exact - Payment option 8
- 0.15 USDC
Atomic price: 150000 · Network: eip155:4663 · Asset: USDC · Scheme: exact - Payment option 9
- 150000 atomic units
Atomic price: 150000 · Network: eip155:42220 · Asset: 0xcebA9300f2b948710d2653dD7B07f33A8B32118C · Scheme: exact - Payment option 10
- 150000 atomic units
Atomic price: 150000 · Network: eip155:5042 · Asset: 0x3600000000000000000000000000000000000000 · Scheme: exact - Payment option 11
- 0.15 USDC
Atomic price: 150000 · Network: eip155:8453 · Asset: USDC · Scheme: exact - Payment option 12
- 150000 atomic units
Atomic price: 150000 · Network: eip155:5042 · Asset: 0x3600000000000000000000000000000000000000 · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "150000",
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0"
},
{
"scheme": "exact",
"network": "eip155:137",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "150000",
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0"
},
{
"scheme": "exact",
"network": "eip155:42161",
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"amount": "150000",
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0"
},
{
"scheme": "exact",
"network": "eip155:143",
"asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
"amount": "150000",
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0"
},
{
"scheme": "exact",
"network": "eip155:43114",
"asset": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
"amount": "150000",
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0"
},
{
"scheme": "exact",
"network": "eip155:1329",
"asset": "0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392",
"amount": "150000",
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0"
},
{
"scheme": "exact",
"network": "eip155:10",
"asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
"amount": "151000",
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0"
},
{
"scheme": "exact",
"network": "eip155:4663",
"asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
"amount": "150000",
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0"
},
{
"scheme": "exact",
"network": "eip155:42220",
"asset": "0xcebA9300f2b948710d2653dD7B07f33A8B32118C",
"amount": "150000",
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0"
},
{
"scheme": "exact",
"network": "eip155:5042",
"asset": "0x3600000000000000000000000000000000000000",
"amount": "150000",
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0"
},
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "150000",
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0"
},
{
"scheme": "exact",
"network": "eip155:5042",
"asset": "0x3600000000000000000000000000000000000000",
"amount": "150000",
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0"
}
]Observed health
- Status
- Healthy
- Latest latency
- 190 ms
- Average latency
- 622 ms
- HTTP status
- 204
- Last checked
- Reachability
- 100% over 11 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "http"
},
"method": {
"type": "string",
"enum": [
"POST"
]
},
"bodyType": {
"type": "string",
"enum": [
"json",
"form-data",
"text"
]
},
"body": {
"properties": {
"prompt": {
"type": "string",
"description": "Text description of the desired image (max 4000 chars)"
},
"orientation": {
"type": "string",
"enum": [
"landscape",
"portrait",
"square"
],
"description": "landscape 1536x1024 (default), portrait 1024x1536, square 1024x1024"
}
},
"required": [
"prompt"
]
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object",
"properties": {
"model": {
"type": "string"
},
"provider": {
"type": "string"
},
"quality": {
"type": "string"
},
"size": {
"type": "string"
},
"image": {
"type": "string"
},
"revised_prompt": {
"type": "string"
}
},
"required": [
"model",
"provider",
"quality",
"size",
"image",
"revised_prompt"
]
}
},
"required": [
"type"
]
}