Image Generation APIs
| API | Pricing | Auth | Format | Free tier | Status |
|---|---|---|---|---|---|
CloudmersiveDetects faces, objects, NSFW content, and generates image captions and OCR text from photos. AI & Machine Learning › Image Generation | Freemium | API key | JSON | <100/day | Live |
DeepAIGenerates, edits, upscales, and colorizes images from text prompts via simple POST endpoints. AI & Machine Learning › Image Generation | Paid | API key | JSON | — | Live |
Magic HourGenerates and edits AI video, image, and audio content through credit-billed REST endpoints. AI & Machine Learning › Image Generation | Freemium | API key | JSON | — | Live |
Picsart APIAI image/video editing API: background removal, upscaling, style transfer, and text-to-image generation. AI & Machine Learning › Image Generation | Freemium | API key | JSON | — | Live |
PollinationsOne OpenAI-compatible gateway for image, text, video, audio and embedding models, billed in prepaid Pollen. AI & Machine Learning › Image Generation | Freemium | API key | JSON | — | Live |
ReplicateRuns thousands of hosted models (Flux images, video, LLMs, speech), billed per second of GPU or per output. AI & Machine Learning › Image Generation | Free trial | API key | JSON | — | Live |
UpResAI-based upscaling of images, video, and speech to 4K/8K via 14 specialized models. AI & Machine Learning › Image Generation | Paid | API key | JSON | — | Live |
WaveSpeedAIRuns 900+ AI models for image, video, and audio generation through one async REST API. AI & Machine Learning › Image Generation | Free trial | API key | JSON | — | Live |
Choosing an Image Generation API
Is there a free Image Generation API?
Yes. Picsart API, Cloudmersive, Magic Hour and Pollinations have a free tier alongside paid plans. See all free AI APIs.
Which Image Generation APIs work without an API key?
All of them need a key or account. Picsart API, Cloudmersive, Magic Hour and Pollinations give one out free when you sign up.
Can I use Image Generation APIs in a commercial project?
Replicate, Cloudmersive, Pollinations and UpRes permit commercial use. Magic Hour restricts it, for example to non-commercial or attributed use, so read the terms first.
Which Image Generation APIs work with AI agents?
WaveSpeedAI has an MCP server, so an AI agent can call it directly. Replicate, Cloudmersive and Magic Hour publish an OpenAPI spec for generating clients and tools.
More specific: AI Video Generation APIs · Background Removal APIs
More in AI & Machine Learning: LLMs APIs · Speech APIs · OCR APIs · Moderation APIs · Translation APIs · Text Analysis APIs · Image Recognition APIs
Related: Images & Photos APIs