Loading...
Transform anything with state-of-the-art AI models through simple REST APIs. Text-to-image generation, image transformation, AI video creation, background removal, upscaling & more. Pay only for what you use.
State-of-the-art AI models accessible via simple REST endpoints
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
Add powerful AI image transformation directly to your website with a single line of code
<iframe
src="https://butterflyapi.com/embed/studio?key=YOUR_API_KEY"
width="100%"
height="600"
frameborder="0"
/>From generative AI art to automated image processing, ButterflyAPI powers applications at scale
Create stunning AI art from text prompts or transform existing images with diffusion models
Auto-enhance products, AI background removal, generate lifestyle images from product photos
Generate AI videos from images, create animated content, bring static images to life
Add AI image and video features to your app without training models or managing infrastructure
// Generate AI art from text
curl https://butterflyapi.com/api/v1/run \
-H "Authorization: Bearer sk_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"api": "text-to-image",
"input": {
"prompt": "a futuristic city at sunset, cyberpunk style",
"width": 1024,
"height": 1024
}
}'Get 100 free AI credits to experiment with all our generative AI APIs. No credit card required.
Get Free AI Credits