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.

text-to-image.sh
# Step 1: Create generation job
curl -X POST https://api.krea.ai/generate/image/bfl/flux-1-dev \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "a serene mountain landscape at sunset",
    "width": 1024,
    "height": 576,
    "steps": 28
  }'

# Response: {"job_id": "550e8400-e29b-41d4-a716-446655440000", ...}

# Step 2: Poll for completion (repeat until completed)
curl -X GET https://api.krea.ai/jobs/550e8400-e29b-41d4-a716-446655440000 \
  -H "Authorization: Bearer YOUR_API_TOKEN"

Simple integration

Start generating in minutes

One POST request. One prompt. Get an image back. Works in any language you already use.

request.sh
# Step 1: Create generation job
curl -X POST https://api.krea.ai/generate/image/bfl/flux-1-dev \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "a serene mountain landscape at sunset",
    "width": 1024,
    "height": 576,
    "steps": 28
  }'

# Response: {"job_id": "550e8400-e29b-41d4-a716-446655440000", ...}

# Step 2: Poll for completion (repeat until completed)
curl -X GET https://api.krea.ai/jobs/550e8400-e29b-41d4-a716-446655440000 \
  -H "Authorization: Bearer YOUR_API_TOKEN"
response.json 200 OK
{
  "job_id": "550e8400-e29b-41d4-a716-446655440000",
  "status": "completed",
  "created_at": "2025-01-15T10:30:00.000Z",
  "completed_at": "2025-01-15T10:30:04.000Z",
  "result": {
    "urls": [
      "https://krea.ai/generations/your-image.png"
    ]
  }
}
AI-generated images from Krea text to image API
20+ image models

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.

Get Started
Cinematic scene generated with Krea video API
20+ video models

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.

Get Started
High-resolution AI-enhanced image of an owl
Up to 22K resolution

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.

Get Started
Custom LoRA model training with Krea API
Custom model training

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.

Get Started
Visual workflows

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.

Get Started

The best AI models, already picked for you

40+ models from Flux, Imagen, Veo, Kling, and more. We test, curate, and maintain them so you skip the guesswork. One integration, one billing system. Swap models per request.

Image Models

DeepMind

Nano Banana 2

$0.06 per image

15s
DeepMind

Nano Banana Pro

$0.15 per image

30s
BFL

Flux

$0.04 per image

4s
BFL

Flux 1.1 Pro

$0.06 per image

11s
DeepMind

Imagen 4

$0.04 per image

32s
DeepMind

Imagen 4 Ultra

$0.06 per image

30s
OpenAI

ChatGPT Image

from $0.03 per image

60s
Bytedance

Seedream 5 Lite

$0.04 per image

20s
Ideogram

Ideogram 3.0

$0.06 per image

18s
BFL

Flux Kontext

$0.04 per image

5s

Video Models

DeepMind

Veo 3

$0.20 per second of video

5 min
DeepMind

Veo 3.1

$0.20 per second of video

4 min
Kling

Kling 2.6

$0.07 per second of video

3 min
Hailuo

Hailuo 2.3

from $0.28 per video

3 min
Runway

Runway Gen-4.5

$0.12 per second of video

2 min
OpenAI

Sora 2

$0.10 per second of video

4 min
Wan

Wan 2.5

from $0.05 per second of video

3 min
Bytedance

Seedance Pro

from $0.25 per video

3 min
Luma

Ray 2

$0.40 per video

3 min
DeepMind

Veo 2

$0.50 per second of video

3 min

Enhancement Models

Topaz

Topaz

$0.10 per upscaled image

19s
Topaz

Topaz Generative

$0.27 per upscaled image

1.5 min
Bloom

Topaz Bloom

$0.51 per upscaled image

2 min

Developer experience

Built to get out of your way

Multi-language SDKs

Full examples in Python, Node.js, Go, and cURL. OpenAPI spec included for code generation.

Webhooks

Add an X-Webhook-URL header and get a POST when your job finishes. No polling required.

Automatic queueing

Hit your concurrency limit? Jobs queue in a backlog automatically instead of getting dropped.

Bearer token auth

Create API keys in your workspace settings. Pass them as Bearer headers. That's it.

Asset management

Upload, list, and retrieve generated assets through the API. Up to 75 MB per file.

Job lifecycle tracking

Every job goes through queued, processing, and completed states. Poll or use webhooks to track.

One price covers the app and the API. No extra subscription. Pay only for what you generate.

Free

Get free daily credits to try basic features.

$0 /month
100 compute units / day
No credit card required
Full access to real-time models
Limited access to image, video, 3D, and lipsync models
Limited access to image upscaling
Limited access to LoRA training

Basic

Access our most popular features

$9/month
5,000 compute units / month
Everything in Free plus:
Commercial license
Full access to Image, 3D, and Lipsync models
LoRA fine-tuning with up to 50 images
Upscale & enhance to 4K
Access to selected video models

Pro

Advanced features and discounts on compute units

$35/month
20,000 compute units / month
Everything in Basic plus:
Access to all video models
Workflow automation with Nodes and Apps
Bulk discounts on compute unit packs
Upscale & enhance to 8K

Max

Full access with higher discounts on compute units

$105/month
60,000 compute units / month
Everything in Pro plus:
Unlimited Lora fine-tunings with 2,000 files
Unlimited Concurrency
Unlimited relaxed generations
Upscale & enhance to 22K

For Teams and Enterprises

Workplace management, collaboration, and enterprise customizations

Business

Secure and collaborative workspace for growing teams

$200/month
80,000 compute units / month
Everything in Max plus:
Business Terms of Service
Up to 50 seats included
Share private Node Apps with your team
Train LoRAs with up to 20,000 images
Custom user roles and permissions
Fine-grained controls for model access

Enterprise

Enterprise-grade security with dedicated support and admin features

Custom
Everything in Business plus:
Custom Terms of Service
Priority support with SLA
Analytics API
Per-member spend limits
Slack connect
Custom compute packages
Audit logs

Frequently Asked Questions

Start building with the Krea API

Get your API key and start generating with 40+ AI models in minutes. Same compute units, same account, one API.

Get Started