$ man image-generate
/image-generate(1)
PRICE / CALL
$0.01
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
synthforgeCATEGORY
uncategorized
STATUS
● live
NAME
image-generate — image generate (fast/cheap) / text-to-image / ai art
SYNOPSIS
POST https://x402.org/v1/image-generate
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Image generate (fast/cheap) / text-to-image / AI art. SFW, sub-5s turnaround. Four tiers backed by curated $0.01 Venice models: 'fast' (z-image-turbo, default), 'creative' (chroma), 'anime' (wai-Illustrious), 'sd35' (venice-sd35). For top-tier quality use image-generate-pro ($0.10, Flux 2 Pro / Recraft / Seedream / Qwen Image 2 Pro) or image-generate-ultra ($0.30, Google nano-banana-pro / OpenAI gpt-image-2). Returns a permanent fal-hosted PNG URL.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| prompt | string | Image description. Up to 2000 chars. | required |
| width | number | Output width in pixels. Range [256, 2048], snapped to multiples of 16. Default 1024. | optional |
| height | number | Output height in pixels. Range [256, 2048], snapped to multiples of 16. Default 1024. | optional |
| tier | string | Model shorthand. Default 'fast'. enum: fast · creative · anime · sd35 | optional |
| model | string | Override the model. Must be one of: z-image-turbo, chroma, wai-Illustrious, venice-sd35. | optional |
| steps | number | Diffusion steps. Optional; depends on model. | optional |
| cfg_scale | number | Classifier-free guidance scale. Optional. | optional |
| seed | number | Random seed. Optional. | optional |
| negative_prompt | string | Negative prompt. Optional. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| image_url | string | Permanent fal-hosted PNG URL of the generated image. |
| model | string | Underlying Venice model that produced the image (z-image-turbo, chroma, wai-Illustrious, or venice-sd35). |
| width | string | Pixel width of the returned PNG as a string. |
| height | string | Pixel height of the returned PNG as a string. |
| tier | string | Which tier was used: fast, creative, anime, or sd35. |
| prompt | string | Text prompt that was sent to the image model. |
| seed | number | Numeric seed used for generation, useful for reproducing the same image. |
| elapsed_ms | number | Wall-clock time in milliseconds from request to PNG URL ready. |
| venice_request_id | string | Upstream Venice request ID for tracing or support lookups. |
| source | string | Backend provider tag, e.g. venice, identifying who actually ran the model. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/image-generate \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# install once claude mcp add x402 --command "npx x402-deployer-mcp" # then ask Claude Code: # "use the image-generate tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- image-generationtext-to-imageai-artsynthforgevenicez-image-turbochromaanime
- methods
- POST
- cluster
- synthforge
- price
- $0.01 USDC per call
ADJACENT — other endpoints in synthforge
| endpoint | description | price |
|---|---|---|
| sound-effect-generate | Sound effect generation / text-to-SFX / Foley generator / ElevenLabs sound effects / ambient audio synth. | $0.01 |
| image-edit | Image edit / instruction-based image edit / text-driven photo edit / nano-banana image editor / GPT-image-2 edit. | $0.02 |
| image-inpaint | Image inpainting / mask-based image edit / fill in masked region / object replacement / face swap (mask-driven) / generative fill. | $0.02 |
| music-generate | Music generation / text-to-music / AI music / generative song / instrumental and vocal music. | $0.05 |
| text-to-speech | Text to speech / TTS / voice generator. | $0.05 |
| voice | Text-to-speech / TTS / voice synthesis. | $0.05 |
| remove-bg | AI background remover / background eraser / cutout tool. | $0.08 |
| image-generate-pro | Image generate (pro) / premium text-to-image / Flux 2 Pro / Recraft / Seedream / Qwen Image 2 Pro / xAI Grok Imagine. | $0.10 |
SEE ALSO