Pixlr Api — Documentation

# Retrieve the edited image curl -X GET \ https://api.pixlr.com/v1/images/IMAGE_ID \ -H 'Authorization: Bearer YOUR_API_KEY'

# Apply a filter to the image curl -X POST \ https://api.pixlr.com/v1/images/IMAGE_ID/edit \ -H 'Authorization: Bearer YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '"filter": "grayscale"' pixlr api documentation

// Upload an image const imageUrl = "https://example.com/image.jpg"; fetch("https://api.pixlr.com/v1/images", method: "POST", headers: "Authorization": `Bearer $apiKey`, "Content-Type": "application/json" , body: JSON.stringify( image: imageUrl ) ) # Retrieve the edited image curl -X GET \ https://api