AI image generators for apps and AI agents
APIs and tools that generate new images from prompts. 11 sources compared on price, license terms and how an agent connects. Read on official pages, checked Oct 10, 2026.
Tick the sources you want to use, then Copy for your agent to paste their license rules and API details into your prompt.
| Pick for your agent | Source | Price | License | Monetized YouTube | Agent access |
|---|---|---|---|---|---|
| Freepik (Magnific) Stock photos, vectors, PSDs, icons and videos plus AI generation tools, via the Magnific API. |
Free tier | Commercial: conditions Credit required No AI training No bots | With conditions | MCP API | |
| Stability AI Image API Stable Image Ultra, Core and SD3.5 via API; open weights under the Community License. |
Free tier | Commercial: conditions | With conditions | API | |
| Shutterstock Stock images, video, music and sound effects with an API, plus a beta generative image API. |
Free tier | Commercial: unclear | Unclear | API | |
| Ideogram API Ideogram 4.0 and 4.5 image generation via API, using the same credits as the app. |
Ideogram 4.0: Turbo $0.03, Default $0.06, Quality $0.10... | Commercial OK Credit (API) | With conditions | MCP API | |
| FLUX API FLUX 3, FLUX.2 and FLUX.1 Kontext image (and FLUX 3 video) models via API; FLUX.1 [dev] weights are non-commercial. |
1 credit = $0.01. FLUX 3 Image $0.048 (1MP); FLUX.2... | Commercial: conditions No AI training | With conditions | API | |
| Gemini Image (Nano Banana) Gemini API image generation and editing models (Gemini 3.x Image, Nano Banana). |
Gemini 3.1 Flash Image $0.045 (0.5K) to $0.151 (4K);... | Commercial OK | With conditions | API | |
| Getty Images / iStock Stock images, video and illustrations with a partner API and a generative AI API. |
iStock Basic EUR 29/month (annual), Premium+Video EUR... | Commercial: conditions Credit varies No AI training | With conditions | API | |
| OpenAI GPT Image Image generation and editing API (gpt-image-2, gpt-image-1.5, gpt-image-1, gpt-image-1-mini). |
gpt-image-2 per image: low $0.005-0.006, medium... | Commercial OK | With conditions | API | |
| Recraft API Raster and vector (SVG) image generation API (V4.1, V4, V3). |
1,000 API units = $1, non-expiring. V4.1 raster $0.035,... | Commercial: conditions | With conditions | API | |
| Midjourney Image generator used through its own app; no official API, and automated access is prohibited. |
Paid · on request | Commercial: conditions No bots | With conditions | Download | |
| Leonardo.Ai API Leonardo.Ai image generation with a pay-as-you-go API; API credit does not expire. |
Paid · on request | Commercial: unclear | Unclear | API |
Nothing here matches. Search all assets →
Generate instead
Image generation APIs (8 APIs with prices, 1 with a free tier)
Other categories
Stock photos and images Stock video Open and public-domain media Illustrations AI video generators and platforms Music libraries Sound effects AI music and sound generators Voiceover (text-to-speech) AI presenters and avatars 3D models AI 3D model generators 2D game art and sprites Textures, materials and HDRIs Animation and motion capture Icons Fonts UI animation (Lottie, Rive) Emoji Avatars and placeholders Video assembly and rendering Publishing
Not legal advice. Each source's page links the license we read; check it before you ship.