x402

Modelos de imagem

Cada rota é um motor de imagem. O preço acompanha o do motor e vem exato no 402.

8 rotas. Sem pagamento, cada uma responde 402 com o preço do corpo enviado; como pagar e buscar o resultado está em x402.

GPT Image 2.5 Sunburst

POST /api/x402/v1/images/gpt-image-2-5-sunburst · dinâmico, exato no 402

GPT Image 2.5 Sunburst (OpenAI), the precise 2.5: layouts, typography and detail that has to land where you asked. Rendered at high quality in 1024x1024, 1536x1024 or 1024x1536.

CampoTipoObrigatórioDescrição
promptstringsimThe scene to draw. The style is set by the URL.
nintegerHow many images (default 1).
sizestring1024x1024, 1024x1536 or 1536x1024.
response_formatstringb64_json (default) or url.
json
{
  "prompt": "a clean product poster for a ceramic coffee mug, the title COLD BREW across the top"
}
  • 200: The image, in the OpenAI images format.
  • 202: The image is still generating. Poll status_url; the payment settles when the image is ready.
  • 402: Payment Required

GPT Image 2.5 Flare

POST /api/x402/v1/images/gpt-image-2-5-flare · dinâmico, exato no 402

GPT Image 2.5 Flare (OpenAI), the fast 2.5 for volume: strong prompt following and legible text inside the image. Rendered at high quality in 1024x1024, 1536x1024 or 1024x1536.

CampoTipoObrigatórioDescrição
promptstringsimThe scene to draw. The style is set by the URL.
nintegerHow many images (default 1).
sizestring1024x1024, 1024x1536 or 1536x1024.
response_formatstringb64_json (default) or url.
json
{
  "prompt": "a hand-painted shop sign that reads OPEN LATE, rain on the glass"
}
  • 200: The image, in the OpenAI images format.
  • 202: The image is still generating. Poll status_url; the payment settles when the image is ready.
  • 402: Payment Required

Nano Banana 2.1 Minimal

POST /api/x402/v1/images/nano-banana-2-1-minimal · dinâmico, exato no 402

Nano Banana 2.1 Minimal (Google): the Gemini image model with minimal thinking, its fastest and cheapest setting. Text to image at 1K.

CampoTipoObrigatórioDescrição
promptstringsimThe scene to draw. The style is set by the URL.
nintegerHow many images (default 1).
sizestring1024x1024, 1024x1536 or 1536x1024.
response_formatstringb64_json (default) or url.
json
{
  "prompt": "a red vintage bicycle leaning on a sunlit stone wall in Lisbon"
}
  • 200: The image, in the OpenAI images format.
  • 202: The image is still generating. Poll status_url; the payment settles when the image is ready.
  • 402: Payment Required

Gemini 3 Pro

POST /api/x402/v1/images/nano-banana-pro · dinâmico, exato no 402

Nano Banana Pro (Google): the top Gemini image model here, for complex scenes and text inside the image. Text to image at 1K.

CampoTipoObrigatórioDescrição
promptstringsimThe scene to draw. The style is set by the URL.
nintegerHow many images (default 1).
sizestring1024x1024, 1024x1536 or 1536x1024.
response_formatstringb64_json (default) or url.
json
{
  "prompt": "an infographic-style cutaway of a lighthouse, every floor labeled"
}
  • 200: The image, in the OpenAI images format.
  • 202: The image is still generating. Poll status_url; the payment settles when the image is ready.
  • 402: Payment Required

Generate a photoreal image with FLUX.2 Pro

POST /api/x402/v1/images/flux-2-pro · dinâmico, exato no 402

FLUX.2 Pro (Black Forest Labs): photoreal images with close prompt adherence. Text to image at 1K.

CampoTipoObrigatórioDescrição
promptstringsimThe scene to draw. The style is set by the URL.
nintegerHow many images (default 1).
sizestring1024x1024, 1024x1536 or 1536x1024.
response_formatstringb64_json (default) or url.
json
{
  "prompt": "a close-up portrait of an old fisherman, morning light, shallow depth of field"
}
  • 200: The image, in the OpenAI images format.
  • 202: The image is still generating. Poll status_url; the payment settles when the image is ready.
  • 402: Payment Required

Krea 3

POST /api/x402/v1/images/krea-3 · dinâmico, exato no 402

Krea 3 (Krea): aesthetic, art-directed images with a strong sense of light and texture. Text to image at 1K.

CampoTipoObrigatórioDescrição
promptstringsimThe scene to draw. The style is set by the URL.
nintegerHow many images (default 1).
sizestring1024x1024, 1024x1536 or 1536x1024.
response_formatstringb64_json (default) or url.
json
{
  "prompt": "a quiet greenhouse at dawn, fog on the glass, ferns in terracotta pots"
}
  • 200: The image, in the OpenAI images format.
  • 202: The image is still generating. Poll status_url; the payment settles when the image is ready.
  • 402: Payment Required

recraft-v4

POST /api/x402/v1/images/recraft-v4 · dinâmico, exato no 402

Generate a design-grade illustration or poster with Recraft V4. Recraft V4 (Recraft): design-grade images, illustration and posters with clean typography. Text to image at 1K.

CampoTipoObrigatórioDescrição
promptstringsimThe scene to draw. The style is set by the URL.
nintegerHow many images (default 1).
sizestring1024x1024, 1024x1536 or 1536x1024.
response_formatstringb64_json (default) or url.
json
{
  "prompt": "a flat vector poster for a jazz night, the words BLUE NOTE in bold type"
}
  • 200: The image, in the OpenAI images format.
  • 202: The image is still generating. Poll status_url; the payment settles when the image is ready.
  • 402: Payment Required

Generate a fast, low-cost photoreal image from a text prompt

POST /api/x402/v1/images/z-image-turbo · dinâmico, exato no 402

Z-Image Turbo (Tongyi-MAI): a fast photoreal text-to-image model at the lowest price per image here. Text to image at 1K.

CampoTipoObrigatórioDescrição
promptstringsimThe scene to draw. The style is set by the URL.
nintegerHow many images (default 1).
sizestring1024x1024, 1024x1536 or 1536x1024.
response_formatstringb64_json (default) or url.
json
{
  "prompt": "a cup of espresso on a marble counter, morning window light"
}
  • 200: The image, in the OpenAI images format.
  • 202: The image is still generating. Poll status_url; the payment settles when the image is ready.
  • 402: Payment Required