api_image_generate
Read-onlyIdempotent
Render an actual original image through customer-funded OpenAI Image API and return base64 file bytes with MIME metadata, not a prompt-only simulation. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | 1024x1024, 1536x1024 or 1024x1536 | |
| format | No | jpeg, png or webp; provider key via X-Provider-Key | |
| prompt | Yes | Original image specification, max 4000 chars |