Developer Docs

API Documentation

Seamlessly integrate PixGenX generation into your workflow. Our high-performance REST API is designed for speed, reliability, and precision.

Code Examples

curl -X POST "https://api.pixgenx.com/api/v1/generate" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
  "prompt": "Cyberpunk city with neon lights, ultra realistic",
  "ratio": "16:9"
}'

Body Parameters

promptstring (required)
aspect_ratio1:1, 2:3, 16:9... optional (eg. 1:1)

Endpoint Info

MethodPOST
Base URLapi.pixgenx.com
HeadersAuthorization: Bearer <key>

No-Code Connectors

Plug PixGenX into your automation workflows — no custom code required.

Make.com

HTTP module — native

~60 sec setup

n8n

HTTP node — open source

~60 sec setup

Zapier

Webhooks + Zap triggers

~90 sec setup