Skip to main content
Transform your post-production workflow with AI-powered batch editing. Upload hundreds of photos, apply professional edits automatically, and get download links in minutes.

Why Imagen AI SDK?

Edit 500 wedding photos in the time it takes to write 5 lines of Python code. No more hours of repetitive manual work—just consistent, professional AI-powered editing.

Quick Start

Get editing photos with AI in under 5 minutes

Installation

Install the SDK and set up your API key

API Reference

Explore the complete API documentation

Guides

Browse real-world usage examples

How It Works

The Imagen AI SDK provides a streamlined workflow for automated photo editing:
1

Train Your AI Profile

Use the Imagen app to train your Personal AI Profile with 3,000+ edited photos. Perfect your unique editing style.
2

Get Your Profile Key

Once your style is trained, get your profile key to use in the API for consistent automation.
3

Upload & Edit

Use the SDK to upload photos and apply your editing style automatically at scale.
4

Download Results

Get Adobe-compatible edit instructions (XMP files) that preserve your originals for non-destructive editing.

What You Get

The SDK returns Adobe-compatible edit instructions (XMP files) that:
  • Preserve your original files
  • Allow for non-destructive editing
  • Open directly in Lightroom Classic, Lightroom, Photoshop, or Bridge
  • Can be further adjusted after AI processing
  • Export to any format you need
You can also export final JPEG files directly by setting export=True in your workflow.

Supported File Formats

Imagen supports a wide range of photography file formats:

RAW Formats

.dng, .nef, .cr2, .cr3, .arw, .nrw, .crw, .srf, .sr2, .orf, .raw, .rw2, .raf, .ptx, .pef, .rwl, .srw, .3fr, .fff

JPEG Formats

.jpg, .jpeg
A single project can contain either RAW files or JPEG files, but not both. Each file type must be in a separate project.

Simple Example

Here’s how simple it is to edit photos with the SDK:
import asyncio
from imagen_sdk import quick_edit, EditOptions

async def main():
    edit_options = EditOptions(
        crop=True,
        straighten=True
    )
    
    result = await quick_edit(
        api_key="your_api_key",
        profile_key=5700,
        image_paths=["photo1.nef", "photo2.dng", "photo3.cr2"],
        edit_options=edit_options,
        download=True
    )
    print(f"✅ Done! {len(result.downloaded_files)} edited photos")

asyncio.run(main())

Use Cases

Wedding Photography

Process hundreds of ceremony and reception photos with consistent portrait editing

Portrait Sessions

Apply professional skin smoothing and subject masking to family portraits

Real Estate

Automate perspective correction and window balancing for property photos

Event Photography

Batch edit corporate events and parties with your signature style

Key Features

  • Async/Await Support: Built on modern Python async for efficient concurrent operations
  • Type Safety: Fully typed with Pydantic models for better IDE support and validation
  • Progress Tracking: Monitor uploads and downloads with callback functions
  • Error Handling: Comprehensive exception types for different error scenarios
  • Batch Processing: Upload and process hundreds of photos efficiently
  • Flexible Editing: Control cropping, straightening, skin smoothing, and more
  • Non-Destructive: XMP sidecar files preserve your original images

Ready to Get Started?

Quick Start Guide

Jump right in and edit your first photos with AI in minutes

Build docs developers (and LLMs) love