# PixelAPI > PixelAPI is a REST API offering 10 AI models for image generation, image editing, and audio generation. Self-hosted on dedicated NVIDIA RTX GPUs. 1 credit = $0.001, most operations cost 3 credits ($0.003). ## Website - Homepage: https://pixelapi.dev - API Base URL: https://api.pixelapi.dev - Documentation: https://pixelapi.dev/docs/ - Pricing: https://pixelapi.dev/pricing - Blog: https://pixelapi.dev/blog/ - Dashboard: https://pixelapi.dev/app/ ## All 11 AI Models & Endpoints ### Image Generation 1. FLUX Schnell — POST /v1/image/generate (model=flux-schnell) — 3 credits ($0.003), ~3s. Fast photorealistic text-to-image. 2. SDXL — POST /v1/image/generate (model=sdxl) — 3 credits ($0.003), ~13s. Versatile text-to-image for illustrations and product mockups. 3. SDXL img2img — POST /v1/image/img2img — 3 credits ($0.003), ~6s. Transform existing images with text prompts. 4. SDXL Inpainting — POST /v1/image/inpaint — 5 credits ($0.005), ~10s. Fill masked regions with AI-generated content. 5. ControlNet Canny — POST /v1/image/controlnet — 5 credits ($0.005), ~13s. Generate images following edge structure of input. ### Image Editing 6. Background Removal (BiRefNet) — POST /v1/edit/remove-background — 2 credits ($0.002), ~3s. Transparent PNG output. 7. Background Replacement — POST /v1/edit/replace-background — 5 credits ($0.005), ~10s. Replace background with AI scene or solid color. 8. Real-ESRGAN 4x Upscale — POST /v1/edit/upscale — 20 credits ($0.02), ~3s. Upscale images to 4x resolution. 9. Face Restore (GFPGAN) — POST /v1/edit/restore-face — 3 credits ($0.003), ~11s. Enhance and restore faces. 10. Object Removal (LaMa) — POST /v1/edit/remove-object — 5 credits ($0.005), ~4s. Remove unwanted objects via mask. ### Audio Generation 11. MusicGen — POST /v1/audio/generate — 5 credits ($0.005), ~10s. Generate music/audio from text descriptions. ## Pricing - 1 credit = $0.001 - Free: 100 credits on signup (no credit card required) - Starter: $10/month → 10,000 credits - Pro: $50/month → 60,000 credits - Scale: $200/month → 300,000 credits - India (Razorpay): ₹200/2K credits, ₹1,000/12K credits, ₹5,000/75K credits - International payments via PayPal ## Authentication Bearer token: `Authorization: Bearer YOUR_API_KEY` Get free API key at https://pixelapi.dev/app/ (Google Sign-In) ## Infrastructure Self-hosted on dedicated NVIDIA RTX 4070 Ti Super 16GB and RTX 4060 Ti 16GB GPUs. No cloud markup. ## Contact - Email: support@pixelapi.dev