abstrakt
Models
Featured
Sora 2 Pro
Featured

Sora 2 Pro

OpenAI's most advanced video generation model with photorealistic output and complex scene understanding.

Veo 3.1
New

Veo 3.1

Google DeepMind's flagship video model with exceptional motion consistency and cinematic quality.

Kling 2.6
Popular

Kling 2.6

Latest Kling model with enhanced character consistency, longer duration support, and improved physics.

Active

100+ AI Models

Access the best AI models from multiple providers through one unified API. Switch models without changing code.

Browse all models
Tools
Featured
AI Image Generator
Popular

AI Image Generator

Create stunning images from text descriptions using FLUX, Stable Diffusion, and more.

Text to Video
New

Text to Video

Transform your ideas into cinematic AI videos with Sora, Veo, and Kling models.

Text to Speech

Text to Speech

Convert text to natural-sounding speech with 30+ voices and emotional expression.

Active

20+ AI Tools

Ready-to-use tools for image, video, and audio generation. No code required — just upload and create.

Explore all tools
Tutorials
Featured
Build Your First AI App
Start Here

Build Your First AI App

Your first AI generation in 5 minutes. Set up your API key and create your first image.

Text-to-Image Masterclass

Text-to-Image Masterclass

Master prompting techniques, model selection, and advanced settings for stunning results.

Text-to-Video Fundamentals

Text-to-Video Fundamentals

Learn to create cinematic AI videos with proper motion, pacing, and storytelling.

Active

Learn AI Generation

Step-by-step guides to master AI image, video, and audio creation. From beginner to advanced.

View all tutorials
Sandbox
Docs
TutorialsImageImage-to-Image Transformations
IntermediateUpdated Dec 14, 2025

Image-to-Image Transformations

Transform existing images with AI - from style transfer to variations and controlled edits using image prompts.

JL
Jordan Lee
Platform Engineer
10 min read

What is Image-to-Image?

Image-to-image generation uses an existing image as a starting point, allowing you to:

  • Apply artistic styles to photos
  • Create variations of existing images
  • Transform sketches into detailed artwork
  • Edit specific parts of images

Basic Image-to-Image

python
from abstrakt import AbstraktClient

client = AbstraktClient()

result = client.run("fal-ai/flux/dev/image-to-image", {
    "input": {
        "image_url": "https://example.com/your-image.jpg",
        "prompt": "Transform into a watercolor painting",
        "strength": 0.75
    }
})

Understanding Strength

The strength parameter (0.0 to 1.0) controls how much the output differs from the input:

  • 0.1-0.3: Subtle changes, preserves most of original
  • 0.4-0.6: Moderate transformation, balanced
  • 0.7-0.9: Strong transformation, keeps composition
  • 1.0: Complete reimagining

Style Transfer Examples

Photo to Oil Painting

python
result = client.run("fal-ai/flux/dev/image-to-image", {
    "input": {
        "image_url": "https://example.com/landscape.jpg",
        "prompt": "oil painting, thick brushstrokes, impressionist style, vibrant colors",
        "strength": 0.65
    }
})

Photo to Anime

python
result = client.run("fal-ai/flux/dev/image-to-image", {
    "input": {
        "image_url": "https://example.com/portrait.jpg",
        "prompt": "anime style, studio ghibli, detailed, beautiful",
        "strength": 0.7
    }
})

Day to Night

python
result = client.run("fal-ai/flux/dev/image-to-image", {
    "input": {
        "image_url": "https://example.com/city-day.jpg",
        "prompt": "nighttime, city lights, neon signs, dramatic lighting",
        "strength": 0.6
    }
})

Creating Variations

Generate multiple variations of an image:

python
def create_variations(image_url, num_variations=4):
    variations = []
    
    for i in range(num_variations):
        result = client.run("fal-ai/flux/dev/image-to-image", {
            "input": {
                "image_url": image_url,
                "prompt": "Create a variation, same style and subject",
                "strength": 0.3,
                "seed": i * 1000  # Different seed for each
            }
        })
        variations.append(result.images[0].url)
    
    return variations

Sketch to Image

Transform rough sketches into detailed artwork:

python
result = client.run("fal-ai/flux/dev/image-to-image", {
    "input": {
        "image_url": "https://example.com/sketch.png",
        "prompt": "detailed digital art, professional illustration, vibrant colors",
        "strength": 0.85
    }
})

Best Practices

  1. Start with lower strength - You can always increase it
  2. Use detailed prompts - Be specific about the desired output
  3. Match aspect ratios - Keep input/output ratios consistent
  4. Use high-quality inputs - Better input = better output

Common Issues & Solutions

IssueSolution
Output too similarIncrease strength
Lost important detailsDecrease strength
Unexpected colorsAdd color terms to prompt
Wrong styleBe more specific in prompt

Next Steps

  • Master prompting techniques
  • Create custom LoRA models
  • Try batch processing
#image-to-image#style-transfer#variations
PreviousText-to-Image MasterclassNextFine-tuning FLUX with LoRA
On This Page
  • What is Image-to-Image?
  • Basic Image-to-Image
  • Understanding Strength
  • Style Transfer Examples
  • Photo to Oil Painting
  • Photo to Anime
  • Day to Night
  • Creating Variations
  • Sketch to Image
  • Best Practices
  • Common Issues & Solutions
  • Next Steps
Related Guides
Text-to-Image Masterclass

Learn professional prompting techniques for stunning AI images.

Fine-tuning FLUX with LoRA

Train custom AI models for your unique visual style.

Was this page helpful?

abstrakt
abstrakt

The unified abstraction layer for the next generation of AI applications. Build faster with any model.

Start Here+
  • Quickstart
  • Get API Key
  • Try Playground
  • View Pricing
Image Tools+
  • AI Image Generator
  • Image to Image
  • Remove Background
  • Image Upscaler
  • Object Remover
  • Style Transfer
  • Image Enhancer
  • AI Art Generator
Video Tools+
  • Text to Video
  • Image to Video
  • AI Video Generator
  • Video Upscaler
  • Video Enhancer
  • Frame Interpolation
Audio Tools+
  • Text to Speech
  • Speech to Text
  • AI Music Generator
  • Voice Cloning
  • Audio Enhancer
  • Sound Effects
Tutorials+
  • Getting Started
  • Image Generation
  • Video Generation
  • Audio Generation
  • Advanced Topics
  • AI Glossary
  • All Tutorials
Models+
  • FLUX Schnell
  • FLUX Dev
  • Fast SDXL
  • Stable Diffusion 3
  • MiniMax Video
  • Kling AI
  • Ideogram
  • More Models
Company+
  • About Us
  • Pricing
  • Documentation
  • Tutorials
  • Blog
  • Contact
  • Changelog
  • Status
  • Careers
  • Privacy Policy
  • Terms of Service
  • Cookie Policy

Image Tools

  • AI Image Generator
  • Image to Image
  • Remove Background
  • Image Upscaler
  • Object Remover
  • Style Transfer
  • Image Enhancer
  • AI Art Generator

Video Tools

  • Text to Video
  • Image to Video
  • AI Video Generator
  • Video Upscaler
  • Video Enhancer
  • Frame Interpolation

Audio Tools

  • Text to Speech
  • Speech to Text
  • AI Music Generator
  • Voice Cloning
  • Audio Enhancer
  • Sound Effects

Tutorials

  • Getting Started
  • Image Generation
  • Video Generation
  • Audio Generation
  • Advanced Topics
  • AI Glossary
  • All Tutorials

Start Here

  • Quickstart
  • Get API Key
  • Try Playground
  • View Pricing

Models

  • FLUX Schnell
  • FLUX Dev
  • Fast SDXL
  • Stable Diffusion 3
  • MiniMax Video
  • Kling AI
  • Ideogram
  • More Models

Company

  • About Us
  • Pricing
  • Documentation
  • Tutorials
  • Blog
  • Contact
  • Changelog
  • Status
  • Careers
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
abstrakt

The unified abstraction layer for the next generation of AI applications.

© 2026 abstrakt. All rights reserved.

SYS.ONLINE|API.ACTIVE|v1.2.0