p-image-rmbg
Remove the background from an image and return a transparent PNG
Remove the background from an image and return a transparent PNG
p-image-rmbg takes an input image and returns the same image with the background removed (transparent PNG). Price is fixed for any image size.
Rate Limit: 500 requests per minute
Category: Image Editing
Pricing: $0.005 per output
curl -X POST "https://api.pruna.ai/v1/files" \
-H "apikey: YOUR_API_KEY" \
-F "content=@/path/to/your/image.jpg"
curl -X POST 'https://api.pruna.ai/v1/predictions' \
-H 'Content-Type: application/json' \
-H 'apikey: YOUR_API_KEY' \
-H 'Model: p-image-rmbg' \
-d '{
"input": {
"image": "https://api.pruna.ai/v1/files/fqadqq42xq"
}
}'
curl -X POST 'https://api.pruna.ai/v1/predictions' \
-H 'Content-Type: application/json' \
-H 'apikey: YOUR_API_KEY' \
-H 'Model: p-image-rmbg' \
-H 'Try-Sync: true' \
-d '{
"input": {
"image": "https://api.pruna.ai/v1/files/fqadqq42xq"
}
}'
| Parameter | Type | Description |
|---|---|---|
| image | string (URI) | Input image for transparent background removal |