Loading...
Ship AI-powered image and document tools without building infrastructure. Use our REST APIs or embed a ready-made studio into your site or app — perfect for no-code tools, Shopify stores, SaaS platforms, and developers.

Use the APIs from any platform that can make HTTP requests, or embed the Studio with HTML. Great for website builders, Shopify stores, internal tools, and production SaaS.
Connect from no-code/low-code tools, backend services, automations, or custom code.
Predictable request/response and easy auth. Great for workflows like upload → process → display.
Drop a ready-made UI into your site with HTML — perfect for quick launches and customer-facing tools.
Turn any photo into stylized 3D, anime, comic, watercolor and more. Great for storefronts, profile tools, creator apps, and customer-facing experiences.
Consistent results across popular looks for real product workflows.
Great for interactive UIs—generate, preview, and ship instantly.
Connect from no-code tools or custom code with minimal setup.
Render HTML exactly like a browser using a headless engine—accurate CSS, fonts, and layout. Ideal for invoices, reports, certificates, tickets, and printable documents.
curl https://butterflyapi.com/api/v1/run \
-H "Authorization: Bearer sk_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"api": "html-to-pdf",
"input": {
"html": "<html><body><h1>Invoice #123</h1></body></html>",
"options": {
"format": "A4",
"printBackground": true,
"margin": { "top": "20mm", "right": "20mm", "bottom": "20mm", "left": "20mm" }
}
}
}'Tip: You can also pass text or url (mutually exclusive).
curl https://butterflyapi.com/api/v1/run \
-H "Authorization: Bearer sk_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"api": "watermark",
"input": {
"image_url": "https://example.com/photo.jpg",
"watermark_url": "https://example.com/logo.png",
"watermark_scale": 0.2,
"watermark_opacity": 0.8,
"watermark_position": "bottom-right"
}
}'Supports PNG watermark transparency • Instant synchronous result (output URL).
Add your logo or watermark image with adjustable scale, opacity, and position. Ideal for marketplaces, preview images, branded product photos, and copyrighted media.
Add AI tools directly to your website builder or landing page with a single line of HTML.
<iframe
src="https://butterflyapi.com/embed/studio?key=YOUR_API_KEY"
width="100%"
height="600"
frameborder="0"
/>Build real features for customers—without training models or managing infrastructure.
Cartoonize photos, generate shareable visuals, and add fun AI experiences users love.
Generate PDFs from HTML templates for billing, certificates, receipts, and printable downloads.
Protect images with watermarks, create preview assets, and maintain brand consistency.
Launch new AI features inside your platform using connectors and ready-to-use endpoints.
Integrate via REST quickly. Great for prototypes, MVPs, and production workflows.
Generate branded images and PDFs (lead magnets, certificates, deliverables) automatically.
Explore additional endpoints for image generation, enhancement, and more.
Transform images using AI with text prompts
Generate images from text descriptions
Remove backgrounds from images automatically
Upscale images up to 4x resolution
Enhance image quality and details
Restore and enhance faces in photos
Add watermarks to images
Transform photos into cartoon styles
Generate text descriptions from images
Generate AI videos from images
Direct the camera. Generate the shot. 720p cinematic video with directable camera motion.
Convert HTML or raw text to downloadable PDF documents
Quick answers for no-code builders, e-commerce, SaaS teams, and developers.
Yes. Any platform that can send HTTP requests can call the APIs. You can also embed the Studio widget into your pages with HTML.
Yes. The HTML to PDF API accepts HTML markup, raw text, or a URL (mutually exclusive inputs).
Yes. The Watermark API is synchronous and returns an output URL when complete.
Yes—use the Docs for endpoints and examples, and the Integrations page for setup guides.
Credits are charged per call depending on the API. You can see pricing details on the Pricing page and in each API page.
Start with Cartoonize, add HTML to PDF for documents, and protect images with Watermark—using APIs or a simple embed.