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
Access the latest diffusion models and neural networks. We continuously update to the newest AI architectures.
No subscriptions required. Buy credit packs and use them across all AI APIs. Credits never expire.
All AI inference runs on high-performance GPUs for fast generation times and reliable processing.
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 CreditsRemove backgrounds from images automatically