$ man image-generate-pro
/image-generate-pro(1)
PRICE / CALL
$0.10
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
synthforgeCATEGORY
uncategorized
STATUS
● live
NAME
image-generate-pro — image generate (pro) / premium text-to-image / flux 2 pro / recraft / seedream / qwen image 2 pro / xai grok imagine
SYNOPSIS
POST https://x402.org/v1/image-generate-pro
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Image generate (pro) / premium text-to-image / Flux 2 Pro / Recraft / Seedream / Qwen Image 2 Pro / xAI Grok Imagine. Premium multi-model lineup for photoreal, design/illustration, text-in-image, and stylized art. Tiers: 'balanced' (flux-2-pro, default), 'max' (flux-2-max), 'text' (qwen-image-2-pro — best at rendering text in images), 'recraft' (recraft-v4), 'seedream' (seedream-v4), 'grok' (grok-imagine-image), 'art' (imagineart-1.5-pro), 'hunyuan' (hunyuan-image-v3). For flagship Google/OpenAI models use image-generate-ultra. Returns a permanent fal-hosted PNG URL.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| prompt | string | Image description. Up to 3000 chars. | required |
| width | number | Output width in pixels. Range [256, 2048]. Default 1024. | optional |
| height | number | Output height in pixels. Range [256, 2048]. Default 1024. | optional |
| tier | string | Model shorthand. balanced=flux-2-pro (default), max=flux-2-max, text=qwen-image-2-pro, recraft=recraft-v4, seedream=seedream-v4, grok=grok-imagine-image, art=imagineart-1.5-pro, hunyuan=hunyuan-image-v3. enum: balanced · max · text · recraft · seedream · grok · art · hunyuan | optional |
| model | string | Override the model. Allowed: flux-2-pro, flux-2-max, qwen-image-2-pro, qwen-image-2, recraft-v4, seedream-v4, seedream-v5-lite, grok-imagine-image, imagineart-1.5-pro, hunyuan-image-v3, wan-2-7-text-to-image. | 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 for the generated image. |
| model | string | Underlying model slug that produced the image (e.g. flux-2-pro, qwen-image-2-pro, recraft-v4). |
| width | number | Pixel width of the generated image. |
| height | number | Pixel height of the generated image. |
| tier | string | Tier selector echoed back: balanced, max, text, recraft, seedream, grok, art, or hunyuan. |
| prompt | string | Text prompt used to generate the image. |
| seed | number | Random seed used by the model; reuse for reproducible outputs. |
| elapsed_ms | number | Server-side generation time in milliseconds. |
| venice_request_id | string | Upstream request ID from the fal/Venice generation call for support and debugging. |
| source | string | Upstream provider that served the generation (e.g. fal, venice). |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/image-generate-pro \
-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-pro tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- image-generationtext-to-imagesynthforgeflux-2-prorecraftseedreamtext-in-imagepremium-image
- methods
- POST
- cluster
- synthforge
- price
- $0.10 USDC per call
ADJACENT — other endpoints in synthforge
| endpoint | description | price |
|---|---|---|
| remove-bg | AI background remover / background eraser / cutout tool. | $0.08 |
| image-expand | AI image outpainting / image expansion. | $0.15 |
| 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 |
| 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 |
| image-generate | Image generate (fast/cheap) / text-to-image / AI art. | $0.01 |
SEE ALSO