Best AI image generators with an API

Updated 24 Oct 2026 · Prices from vendor pages only · How we rank →

The short answer

Each of these image generators offers an API. Ideogram comes first: credit-based plans with unlimited slow generations and character consistency. The cheapest verified paid plan here is Photoroom Pro ($7.50/month billed yearly or $12.99 monthly). 4 of the 8 have a free plan we could confirm. Every price below is from the vendor’s own page, checked 16–18 Oct 2026.

Ranked shortlist

  1. Ideogram: Credit-based plans with unlimited slow generations and character consistency. Plan: Plus: $15/month annual ($20 monthly)
    2,400 priority credits/month
  2. Black Forest Labs (FLUX): Per-image API pricing makes FLUX models easy to build into products. Plan: Not yet verified
  3. Recraft: Low-cost plans with multiple models and design-focused output. Plan: Basic: $10/month billed annually ($120)
    1,000 credits/month
  4. Krea: Access to many image/video models plus an agent, with a daily free allowance. Plan: Basic: $9/month ($5 annual)
    5,000 units/month
  5. Leonardo.Ai: Image and video generation platform with fine-tuned models; owned by Canva. Plan: Essential: $12/month
    8,500 tokens/month
  6. Stability AI: Maker of Stable Diffusion open image models. Plan: Not yet verified
  7. Magnific: AI image upscaler and enhancer. Plan: Premium: $14.50/month billed annually or $20 monthly
    240K credits/year, commercial licence, API and MCP
  8. Photoroom: AI background removal and product photo editing. Plan: Pro: $7.50/month billed yearly or $12.99 monthly
    8,000 AI credits, 1,000 exports; free trial

Order follows ToolRank’s editorial ranking in Image & Design, filtered to tools that fit this page. Anything we couldn’t confirm on a vendor page says “Not yet verified”.

Side by side

RankToolRelevant planStarting priceFree planBest forMain limitationLast checked
#1IdeogramPlus: $15/month annual ($20 monthly)
2,400 priority credits/month
$15/month (Plus, billed annually; $20 monthly)Not yet verifiedPosters, logos and graphics where legible text mattersPriority credits are capped per plan; free tier limits were not shown on the pricing page.16 Oct 2026
#2Black Forest Labs (FLUX)Not yet verifiedfrom $0.048/image (example rate on pricing calculator)✕ None listedDevelopers embedding image generation in productsDeveloper-oriented: priced per image via API rather than a consumer app plan.16 Oct 2026
#3RecraftBasic: $10/month billed annually ($120)
1,000 credits/month
$10/month (Basic, billed annually)Limited free credits, personal use onlyDesigners making brand-consistent graphics and vectorsFree plan is personal use only with limited credits.18 Oct 2026
#4KreaBasic: $9/month ($5 annual)
5,000 units/month
$9/month ($5 billed annually)100 units/dayCreators who want many models in one placeFree plan is 100 units/day; heavy video use needs higher tiers.18 Oct 2026
#5Leonardo.AiEssential: $12/month
8,500 tokens/month
$12/month (Essential)Free: $0/month, 150 fast tokens/day, public creationsImage and video generation with trainable modelsFree-tier creations are public; listed prices exclude tax and the monthly/yearly toggle state was not confirmed16 Oct 2026
#6Stability AINot yet verifiedNot yet verifiedCommunity licence: free for researchers, developers, small businesses and creators under $1M annual revenueDevelopers and small studios running open image models on their own hardwareBusinesses over $1M revenue need an Enterprise licence17 Oct 2026
#7MagnificPremium: $14.50/month billed annually or $20 monthly
240K credits/year, commercial licence, API and MCP
$14.50/month (Premium, billed annually; $20 monthly)Not yet verifiedCreators who want AI upscaling plus a suite of image and video models and stock assetsCredits are annual pools, so heavy users can run out before renewal17 Oct 2026
#8PhotoroomPro: $7.50/month billed yearly or $12.99 monthly
8,000 AI credits, 1,000 exports; free trial
$7.50/month (Pro, billed yearly; $12.99 monthly)Not yet verifiedOnline sellers making product photos with background removal and AI backgroundsAPI and MCP usage uses a separate credit allowance17 Oct 2026

Prices as listed by each vendor on the last-checked date, USD, before tax. Plans and limits change, so follow the sources below.

Who should pick which

Pick Ideogram for posters, logos and graphics where legible text matters (Plus: $15/month annual ($20 monthly)); think twice if you need video-first workflows. Pick Black Forest Labs (FLUX) for developers embedding image generation in products (from $0.048/image (example rate on pricing calculator)); think twice if you want a no-code consumer app. Pick Recraft for designers making brand-consistent graphics and vectors (Basic: $10/month billed annually ($120)); think twice if you need commercial use on a free plan. Pick Krea for creators who want many models in one place (Basic: $9/month ($5 annual)); think twice if you only need one model and want the cheapest route. Pick Leonardo.Ai for image and video generation with trainable models (Essential: $12/month). Watch out: free-tier creations are public; listed prices exclude tax and the monthly/yearly toggle state was not confirmed. Pick Stability AI for developers and small studios running open image models on their own hardware (free plan: Community licence: free for researchers, developers, small businesses and creators under $1M annual revenue). Watch out: businesses over $1M revenue need an Enterprise licence. Pick Magnific for creators who want AI upscaling plus a suite of image and video models and stock assets (Premium: $14.50/month billed annually or $20 monthly). Watch out: credits are annual pools, so heavy users can run out before renewal.

FAQ

Which of these is cheapest?

Photoroom Pro ($7.50/month billed yearly or $12.99 monthly) is the lowest paid price we verified on this list (https://www.photoroom.com/pricing, checked 17 Oct 2026). Check the vendor page for tax, billing period and usage limits.

Which of these have a free plan?

Recraft: Limited free credits, personal use only; Krea: 100 units/day; Leonardo.Ai: Free: $0/month, 150 fast tokens/day, public creations; Stability AI: Community licence: free for researchers, developers, small businesses and creators under $1M annual revenue.

How were these tools chosen?

They are the tools in ToolRank's rankings with an API listed by the vendor, confirmed on the vendor's own website on 16–18 Oct 2026. Tools we could not verify are left out rather than guessed, and anything unconfirmed is marked Not yet verified.

Sources

Related comparisons

Profiles: Ideogram · Black Forest Labs (FLUX) · Recraft · Krea · Leonardo.Ai · Stability AI · Magnific · Photoroom

More best-of lists

Some links may be affiliate links. They never affect rank.

Get the weekly ToolRank brief

New AI tools, verified price changes and fresh comparisons. One email a week. Unsubscribe anytime.