Memory · sandbox · browse · critique · judge.
Documents16PDF · Word · Excel · OCR.
Audio20Transcribe · diarize · TTS.
Images27Caption · OCR · resize.
Web39Scrape · screenshot · meta.
Validation25Email · IBAN · IP · VAT.
Conversions20JSON · YAML · UUID.
All endpoints159Full catalog · featured first.
Wallet-only · earn USDC daily.
Sell-side guideEIP-712 · JWT · settlement.
Pricing & take rate3% paywall · 4% proxy.
How settlement worksSettlement runs daily at 00:00 UTC, in USDC. A balance ≥ 1 USDC is paid at the next run (within 24h). A balance below 1 USDC carries over and accumulates across days until it reaches 1 USDC, then it's paid.
/v1/image/generate/imagen-4
Powered by Google
Request → Response
Examples from schemas.json.
POST /v1/image/generate/imagen-4 Content-Type: application/json { "prompt": "Summarize this text in one sentence.", "aspect_ratio": "1:1", "output_format": "jpg", "safety_filter_level": "block_only_high" }
HTTP/1.1 200 OK Content-Type: application/json // Endpoint-specific body after 402 settlement
Generate an image from a text prompt with configurable aspect ratio, format, and safety level. Powered by Google Imagen 4 on Replicate.
Technology company behind Imagen, Veo, and Safe Browsing.
Body: JSON · application/json
| Field | Type | Description | |
|---|---|---|---|
| prompt | string | required | — |
| aspect_ratio | string | required | enum: 1:1, 3:4, 4:3, 9:16, 16:9 |
| output_format | string | required | enum: jpg, png |
| safety_filter_level | string | required | enum: block_only_high, block_medium_and_above, block_low_and_above |
curl -X POST https://api.tools402.dev/v1/image/generate/imagen-4 \
-H "Content-Type: application/json" \
-d '{
"prompt": "Summarize this text in one sentence.",
"aspect_ratio": "1:1",
"output_format": "jpg",
"safety_filter_level": "block_only_high"
}'402 payment flow omitted — see Integrations for settlement.