Loading...
Build visual workflows with HTTP modules. Copy-paste configurations for instant setup.
// Make HTTP Module Configuration
// Add "HTTP" → "Make a request" module
URL: https://butterflyapi.com/api/v1/run
Method: POST
Headers:
┌─────────────────┬──────────────────────────────┐
│ Name │ Value │
├─────────────────┼──────────────────────────────┤
│ Authorization │ Bearer YOUR_API_KEY │
│ Content-Type │ application/json │
└─────────────────┴──────────────────────────────┘
Body type: Raw
Content type: JSON (application/json)
Request content:
{
"api": "background-remove",
"imageUrl": "{{1.url}}"
}
Parse response: YesGo to Make → Scenarios → Create a new scenario
Add your trigger (Google Drive, Shopify, Airtable, Webhook, etc.)
Search "HTTP" → Select "Make a request" → Configure with settings above
Use outputUrl in next module to save/update the processed image
Scenario Setup:
1. Google Drive → Watch Files in a Folder
- Folder: /Images/Raw
- Watch: New files only
2. HTTP → Make a request
- URL: https://butterflyapi.com/api/v1/run
- Method: POST
- Headers: Authorization: Bearer {{API_KEY}}
- Body: {
"api": "image-enhance",
"imageUrl": "{{1.webContentLink}}"
}
3. HTTP → Get a file
- URL: {{2.outputUrl}}
4. Google Drive → Upload a File
- Folder: /Images/Processed
- File name: processed_{{1.name}}
- Data: {{3.data}}{"api": "background-remove", "imageUrl": "{{url}}"}{"api": "upscale", "imageUrl": "{{url}}", "scale": 2}{"api": "cartoon", "imageUrl": "{{url}}", "style": "pixar"}{"api": "image-enhance", "imageUrl": "{{url}}"}{"api": "face-restore", "imageUrl": "{{url}}"}{"api": "video-gen", "prompt": "...", "duration": "5s"}Need help with Make scenarios?