getimg.ai
Pricing

Simple and flexible image generation API

Save time and money. Focus on building next-gen AI experiences rather than on maintaining your own scalable GPU infrastructure.

  • 🚀 Instant Integration thanks to predictable REST API, as simple as a few lines of code.
  • 💡 Lightning-Fast Responses powered by premium GPUs.
  • 💰 Top-Tier Services at the lowest prices without compromising on quality.
  • Try for free
  • Commercial rights
  • Usage based billing

As seen on

Zapier logoAcer Corner logoTech Times logoMake use of logoFuturpedia logo
curl \
-X POST https://api.getimg.ai/v1/essential-v2/text-to-image \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"prompt":"astronaut riding a horse on mars"}'
AI Generated photo with getimg.ai essential pipeline

Easy-to-use API endpoints.
Powering 1M+ image generations daily.

Stable Diffusion 1.5

Stable Diffusion 1.5

Available with multiple community trained models, ControlNets, Inpainting and Instruct Pix2Pix.

Stable Diffusion XL

Stable Diffusion XL

High quality text to image generations for incredibly low price.

getimg.ai Essential

getimg.ai Essential

Highest quality outputs with the minimal configuration required.

Scalable image generation API for your business

From startups to enterprises, our image generation API is designed to grow with you. The pay-as-you-go model allows you to scale up seamlessly as your needs expand. With support for countless daily image generations, you can confidently build and deploy applications, knowing that our API can handle whatever volume you throw at it.

getimg.ai API

More than just a basic Stable Diffusion API

Access a suite of powerful image manipulation tools through our Essential and Stable Diffusion API. From Text to Image generation to Image to Image transformations, inpainting, and upscaling, we've got you covered. Create original visuals from text descriptions, modify existing images, fill in missing parts, or enhance image quality—all with simple API calls.

curl --request POST \
--url https://api.getimg.ai/v1/enhancements/upscale \
--header 'authorization: Bearer $ACCESS_TOKEN' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{"image": "base64 encoded image"}'

Pay only for what you use

Total price per image is based on the amount of compute required to fulfill the request.

FLUX.1 [schnell]

$0.0006 / 1M pixelsteps

/v1/flux-schnell/text-to-image
SizePrice
1024×1024$0.00252 / image
1280×720, 720×1280$0.00221 / image
$0.00252 / image

Essential V2

$0.015 / 1M pixels

/v1/essential-v2/text-to-image
SizePrice
1536×1536$0.035 / image
1152×1440, 1440×1152$0.025 / image
1152×1728, 1728×1152$0.03 / image
1152×2016, 2016×1152$0.035 / image

Stable Diffusion XL

$0.000075 / 1M pixelsteps

/v1/stable-diffusion-xl/text-to-image
/v1/stable-diffusion-xl/image-to-image
/v1/stable-diffusion-xl/inpaint
/v1/stable-diffusion-xl/ip-adapter
SizeStepsPrice
768×76820$0.00088 / image
1024×102420$0.00157 / image
$0.00157 / image

LCM

$0.000075 / 1M pixelsteps

/v1/latent-consistency/text-to-image
/v1/latent-consistency/image-to-image
SizeStepsPrice
512×5124$0.00008 / image
768×7684$0.00018 / image
1024×10244$0.00031 / image
$0.00008 / image

Stable Diffusion v1.5

$0.000075 / 1M pixelsteps

/v1/stable-diffusion/text-to-image
/v1/stable-diffusion/image-to-image
/v1/stable-diffusion/controlnet
/v1/stable-diffusion/inpaint
/v1/stable-diffusion/instruct
SizeStepsPrice
512×51220$0.00039 / image
768×76820$0.00088 / image
1024×102420$0.00157 / image
$0.00039 / image

Upscaling

$0.0055 / 1M pixels

/v1/enhancements/upscale
SizeScalePrice
512×5124$0.0058 / image
768×7684$0.013 / image
1024×10244$0.024 / image

Face Restoration

$0.02 / 1M pixels

/v1/enhancements/face-fix
SizePrice
512×512$0.0053 / image
768×768$0.012 / image
1024×1024$0.021 / image

Essential Legacy

$0.0075 / 1M pixels

/v1/essential/text-to-image
SizePrice
1024×1024$0.0079 / image
1024×1280, 1280×1024$0.0099 / image
1024×1536, 1536×1024$0.012 / image
1024×1792, 1792×1024$0.014 / image

Frequently Asked Questions

getimg.ai’s image generation API is a versatile tool that opens up a world of creative possibilities. For example, with our Text to Image API, you can effortlessly create unique artwork, design eye-catching marketing materials, or produce engaging visual content for social media.

But that’s just the beginning. Depending on your chosen model, you can access advanced features like inpainting (filling in parts of an image) and upscaling (enhancing the resolution of images). These features make our API invaluable for both artistic endeavors and business applications, from breathing new life into low-resolution images to crafting tailor-made visuals to suit your project’s specific needs.

It only takes a few moments to obtain an API key for popular Stable Diffusion models, like Stable Diffusion XL and v1.5 (as well as our own Essential styles). First, navigate to the API section on getimg.ai’s top menu, and open the Dashboard. Sign up or log in if you already have an account. Be mindful that you need to create a separate API account even if you already have one for our web app.

After logging into the Dashboard, go to the “API keys” segment and click the “Create new key” button. You can name it if you wish. Then, you’ll see your key for the first and last time—save it in a secure location. If you lose it, there’s no way to recover it; you’ll have to generate a new one. It’s possible to have more than one key at once, so don’t hesitate to create several if you need to (for example, one for generating AI art and one for upscaling).

While not free, our pricing model for both Essential and Stable Diffusion APIs is designed to be flexible and cost-effective. We employ a usage-based system, meaning you only pay for the computational resources you actually use. This applies to all our API features, including Text to Image and Image to Image tools. The cost per image varies based on factors such as the chosen AI model, image resolution, and the number of processing steps. For precise pricing, please refer to our detailed pricing list, which breaks down costs per 1M pixelsteps.

This pay-as-you-go approach ensures that our API remains accessible for projects of all sizes, from small experiments to large-scale applications. You can easily scale your usage up or down according to your needs and budget.

Using our Stable Diffusion API is a breeze, no matter your experience level. First, you need to obtain an image generation API key. Sign up for an API account (separate from the web app account) on getimg.ai and create your key. Once you have it, top-up your balance and start making API requests. For detailed instructions on how to construct your requests, consult our comprehensive documentation.

This API is designed to be intuitive and predictable, allowing for seamless integration into a wide range of applications. You have the flexibility to choose from several models, including the cutting-edge Stable Diffusion XL API. Whether you’re a seasoned developer or just starting out, getimg.ai’s user-friendly API enables you to quickly harness the power of AI-generated images with minimal setup time.