AI Image & Video Generation API

40+ image and video models, one REST API. Generate, upscale, train custom LoRAs, and build creative pipelines. Simple compute-unit pricing. No infrastructure to manage.

AI Image Generation

Text to Image API

Generate product shots, marketing assets, and editorial photography from a single API call. Pick from 20+ models like Flux, Imagen 4, and Nano Banana Pro, or let Krea choose the best one for your prompt. No need to manage multiple provider accounts or stitch together different SDKs.

Video Generation API

Turn text or images into video with models like Veo 3, Kling, and Wan 2.5. Build video ads, social content, or product demos programmatically. Many of these models have limited public API access elsewhere. On Krea, they all share the same endpoint.

Image Upscaling API

Take any image up to 22K resolution with Topaz-powered AI enhancement. Three modes: standard for clean upscaling, bloom for stylized detail, and generative for adding new detail at scale. Perfect for print-ready assets or high-res product imagery.

LoRA Training API

Train custom models on your brand, characters, or product line. Upload images, fine-tune on Flux, and use your trained styles in every generation request. Build pipelines that produce on-brand assets without manual intervention.

Build workflows visually, ship them as an API

Chain models together in a no-code node editor. Connect image generation to upscaling, feed outputs into video, or run batch jobs with branching logic. When it works, hit deploy and call it from your code like any other endpoint.

Pricing Models

Image Models

Model Cost per Image Speed
Nano Banana 2 $0.06 15s
Nano Banana Pro $0.15 30s
Flux $0.04 4s
Imagen 4 $0.04 32s

Video Models

Model Cost per Second Speed
Veo 3 $0.20 5 min
Kling 2.6 $0.07 3 min

Enhancement Models

Model Cost per Upscaled Image Speed
Topaz $0.10 19s
Topaz Generative $0.27 1.5 min

Frequently Asked Questions

What is the best text to image API?
It depends on what you're building. Krea gives you access to 20+ image models through a single endpoint.

Is there a free AI image generation API?
Yes, Krea includes compute units on the free tier, so you can make API calls without a credit card.

How does pricing work?
Everything runs on compute units. Your API calls and the Krea web app share the same pool.

How do I get started?
Sign up at krea.ai, create an API key, and make a POST to the generation endpoint with your prompt.

Can I train custom models through the API?
Yes, upload training images and create fine-tuned LoRAs for styles, characters, or subjects.