JetPencil API Documentation

    Integrate JetPencil image processing APIs into your applications

    Getting Started

    Quick Start Guide

    Get started with the API in 3 simple steps

    1

    Generate API Key

    Visit Settings → API Keys and generate your first API key. Choose your platform and tier.

    API Key Generation Interface
    2

    Save Your Key

    Copy and securely store your API key. You won't be able to see it again after closing the dialog.

    API Key Reveal Screen
    3

    Make API Calls

    Include your API key in the x-api-key header for all requests. Start building!

    API Code Example

    API Dashboard

    Monitor your API usage, manage multiple keys, and track performance in real-time

    API Dashboard Interface

    Authentication

    API Key Header

    Include your API key in the x-api-key header for all requests:

    x-api-key: jp_your_api_key_here

    Code Examples

    Get started quickly with examples in popular languages

    const axios = require('axios'); async function processImage() { const response = await axios.post( 'https://api.jetpencil.com/v1/background-removal', { imageUrl: 'https://example.com/image.jpg', format: 'png' }, { headers: { 'x-api-key': 'jp_your_api_key_here', 'Content-Type': 'application/json' } } ); console.log('Processed image:', response.data.processedUrl); }

    Available Endpoints

    JetPencil API endpoints for image processing

    POST
    /v1/background-removal

    Remove image backgrounds

    POST
    /v1/smart-resize

    Intelligently resize images for any platform

    POST
    /v1/compress

    Compress images while maintaining quality

    POST
    /v1/format-convert

    Convert between image formats

    POST
    /v1/ai-enhance

    AI-powered image enhancement

    POST
    /v1/text-to-image

    Generate images from text descriptions

    POST
    /v1/style-transfer

    Apply artistic styles to images

    POST
    /v1/upscale

    Upscale and enhance image resolution

    Rate Limits & Pricing

    Choose between subscription plans or flexible pay-per-use credits

    Subscription Plans (Monthly Limits)

    Basic
    $19/mo
    10,000 req/month
    Popular
    Pro
    $49/mo
    100,000 req/month
    Enterprise
    $199/mo
    Unlimited

    Pay-Per-Use Credits (No Monthly Commitment)

    100 Credits
    $4.99
    $0.05/request
    500 Credits
    $19.99
    $0.04/request
    1000 Credits
    $34.99
    $0.035/request
    5000 Credits
    $149.99
    $0.03/request

    💡 Credits never expire • 1 credit = 1 API request • Volume discounts available

    Error Handling

    Common error codes and how to handle them

    401

    Unauthorized - Invalid or missing API key

    402

    Payment Required - Insufficient credits or subscription expired

    403

    Forbidden - API key not valid for this platform

    429

    Too Many Requests - Rate limit exceeded

    500

    Internal Server Error - Contact support if persists

    Need Help?

    We're here to support your integration