What it does
Submit a text prompt describing a textile pattern — small floral, art-deco geometric, watercolor washes — and receive a seamless tileable PNG. Same pattern can be recolored to any palette and upscaled to 2048px for direct fabric printing.
Endpoints
POST /v1/pattern/generate— text → seamless 512px PNGPOST /v1/pattern/recolor— pattern + hue shift → new colorwayPOST /v1/pattern/upscale— 512px → 2048px print-readyGET /v1/pattern/styles— list style presets
Pricing
- $0.008 per 512px seamless pattern (8 credits)
- Upscale to 2048px — small extra credit cost
- 100 free credits on signup, no card required
Quick example
curl -X POST https://api.pixelapi.dev/v1/pattern/generate \
-H "Authorization: Bearer $API_KEY" \
-d '{"prompt": "small watercolor florals, soft pink and sage"}'
Use cases
- Fast-fashion catalogue prototyping
- Stationery and packaging design
- Wallpaper and home-décor pattern libraries
- Print-on-demand merch (mugs, totes, wraps)
Why teams pick this API
- Textile-tuned model — seamless edges, not generic image generation
- Predictable per-call pricing — vs $0.01–$0.09/pattern in GUI competitors
- REST API, no GUI dependency — pipeline-friendly
- Always-warm endpoint, no cold starts