PixelStudio API Documentation

Image processing service for AI agents.

Setup

See Setup for installation and configuration instructions.

Quick Reference

Task Endpoint Price Documentation
Celebrity Selfie Generator POST /api/celebrity-selfie/generate $0.10 Details
Photo Restoration POST /api/photo-restoration/restore $0.10 Details
Hairstyle Changer POST /api/hairstyle-changer/change $0.10 Details
Headshot Generator POST /api/headshot/generate $0.10 Details
Floor Plan Generator POST /api/floor-plan/generate $0.10 Details
Clothes Changer POST /api/clothes-changer/change $0.10 Details
Background Remover POST /api/background-remover/remove $0.10 Details
Photo Colorizer POST /api/photo-colorizer/colorize $0.10 Details
Texture Generator POST /api/texture-generator/generate $0.10 Details
Architectural Rendering POST /api/architectural-rendering/generate $0.10 Details
Product Staging POST /api/product-staging/generate $0.10 Details
Sprite Sheet Generator POST /api/sprite-sheet-generator/generate $0.10 Details
Pencil Drawing POST /api/pencil-drawing/generate $0.10 Details
Interior Design POST /api/interior-design/generate $0.10 Details
Style Transfer POST /api/style-transfer/transfer $0.10 Details
Face Pixelation POST /api/face-pixelation/pixelate $0.10 Details
Object Remover POST /api/object-remover/remove $0.10 Details
Material Changer POST /api/material-changer/change $0.10 Details

Examples

All APIs are protected by x402 payments. Use x402-proxy for automatic payment handling.

Celebrity Selfie Generator

npx x402-proxy -X POST \
  -F "[email protected]" \
  -F "celebrityName=Taylor Swift" \
  -F "sceneDescription=On stage at a concert" \
  -F "selfieStyle=concert selfie" \
  https://ps.codejar.net/api/celebrity-selfie/generate

Photo Restoration

npx x402-proxy -X POST \
  -F "[email protected]" \
  -F "restorationInstructions=Fix scratches and restore colors" \
  -F "outputFormat=png" \
  https://ps.codejar.net/api/photo-restoration/restore

Hairstyle Changer

npx x402-proxy -X POST \
  -F "[email protected]" \
  -F "hairstyleDescription=Long wavy auburn hair" \
  -F "aspectRatio=1:1" \
  https://ps.codejar.net/api/hairstyle-changer/change

Headshot Generator

npx x402-proxy -X POST \
  -F "[email protected]" \
  -F "headshotStyle=LinkedIn profile" \
  -F "outputFormat=webp" \
  https://ps.codejar.net/api/headshot/generate

Floor Plan Generator

npx x402-proxy -X POST \
  -F "[email protected]" \
  -F "styleDescription=Modern minimalist" \
  -F "viewType=2d-top-down" \
  https://ps.codejar.net/api/floor-plan/generate

Clothes Changer

npx x402-proxy -X POST \
  -F "[email protected]" \
  -F "[email protected]" \
  -F "aspectRatio=1:1" \
  https://ps.codejar.net/api/clothes-changer/change

Background Remover

npx x402-proxy -X POST \
  -F "[email protected]" \
  https://ps.codejar.net/api/background-remover/remove

Photo Colorizer

npx x402-proxy -X POST \
  -F "[email protected]" \
  https://ps.codejar.net/api/photo-colorizer/colorize

Texture Generator

npx x402-proxy -X POST \
  -H "Content-Type: application/json" \
  -d '{"textureDescription":"weathered red brick with moss","textureType":"brick"}' \
  https://ps.codejar.net/api/texture-generator/generate

Architectural Rendering

npx x402-proxy -X POST \
  -F "[email protected]" \
  -F "styleDescription=Modern minimalist villa" \
  -F "viewType=exterior" \
  https://ps.codejar.net/api/architectural-rendering/generate

Product Staging

npx x402-proxy -X POST \
  -F "[email protected]" \
  -F "[email protected]" \
  -F "sceneDescription=luxury boutique" \
  https://ps.codejar.net/api/product-staging/generate

Sprite Sheet Generator

npx x402-proxy -X POST \
  -F "[email protected]" \
  -F "characterDescription=robot warrior" \
  -F "sheetType=walk" \
  https://ps.codejar.net/api/sprite-sheet-generator/generate

Pencil Drawing

npx x402-proxy -X POST \
  -F "[email protected]" \
  https://ps.codejar.net/api/pencil-drawing/generate

Interior Design

npx x402-proxy -X POST \
  -F "[email protected]" \
  -F "designDescription=Modern Scandinavian living room" \
  -F "viewAngle=corner" \
  https://ps.codejar.net/api/interior-design/generate

Style Transfer

npx x402-proxy -X POST \
  -F "[email protected]" \
  -F "styleDescription=Van Gogh Starry Night" \
  https://ps.codejar.net/api/style-transfer/transfer

Face Pixelation

npx x402-proxy -X POST \
  -F "[email protected]" \
  https://ps.codejar.net/api/face-pixelation/pixelate

Object Remover

npx x402-proxy -X POST \
  -F "[email protected]" \
  -F "targetDescription=the person on the left" \
  https://ps.codejar.net/api/object-remover/remove

Material Changer

npx x402-proxy -X POST \
  -F "[email protected]" \
  -F "targetDescription=the sofa" \
  -F "materialDescription=luxury red leather" \
  https://ps.codejar.net/api/material-changer/change

Health Check

curl -X GET https://ps.codejar.net/health

← Back to API Index