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
TutorialsImageText-to-Image Masterclass
IntermediateUpdated Dec 18, 2025

Text-to-Image Masterclass

Master the art of prompting with techniques for consistent, high-quality image generation including negative prompts and style control.

SC
Sarah Chen
Developer Advocate
12 min read

The Anatomy of a Great Prompt

A well-structured prompt typically includes:

  1. Subject - What you want to generate
  2. Style - Artistic style or medium
  3. Details - Specific attributes and features
  4. Lighting - Mood and atmosphere
  5. Quality modifiers - Technical quality terms

Basic to Advanced Prompts

Basic Prompt

text
A cat sitting on a chair

Improved Prompt

text
A fluffy orange tabby cat sitting on a vintage wooden chair, 
soft natural lighting from a nearby window, cozy home interior, 
photorealistic, high detail, 8k resolution

Style Modifiers That Work

Photography Styles

  • professional photography
  • cinematic lighting
  • studio portrait
  • golden hour photography
  • macro photography

Art Styles

  • oil painting style
  • watercolor illustration
  • digital art
  • anime style
  • concept art

Quality Modifiers

  • highly detailed
  • 8k resolution
  • masterpiece
  • award-winning
  • professional

Using Negative Prompts

Negative prompts tell the model what to avoid:

python
result = client.run("fal-ai/flux/dev", {
    "input": {
        "prompt": "A professional headshot of a business woman",
        "negative_prompt": "blurry, low quality, distorted, ugly, deformed hands",
        "num_inference_steps": 28
    }
})

Common Negative Prompts

text
blurry, low quality, low resolution, ugly, distorted, 
deformed, extra limbs, bad anatomy, watermark, text, 
signature, cropped, out of frame

Controlling Image Composition

Aspect Ratios

python
# Portrait (social media stories)
{"width": 768, "height": 1344}

# Landscape (cinematic)
{"width": 1344, "height": 768}

# Square (Instagram)
{"width": 1024, "height": 1024}

# Ultrawide (banners)
{"width": 1536, "height": 640}

Composition Keywords

  • centered composition
  • rule of thirds
  • close-up shot
  • wide angle shot
  • bird's eye view
  • low angle shot

Advanced Techniques

Weighted Prompts

Some models support emphasis with parentheses:

text
(beautiful sunset:1.3), mountains, lake, (vibrant colors:1.2)

Style Mixing

Combine multiple styles:

text
A portrait in the style of (Rembrandt:0.7) and (anime:0.3)

Model Selection Guide

ModelBest ForSpeed
FLUX SchnellQuick iterations~1s
FLUX DevHigh quality~5s
FLUX ProProduction~3s
SDXLVersatile~4s

Complete Example

python
from abstrakt import AbstraktClient

client = AbstraktClient()

result = client.run("fal-ai/flux/dev", {
    "input": {
        "prompt": """
            A majestic white wolf standing on a snowy mountain peak,
            aurora borealis dancing in the night sky behind,
            cinematic lighting, photorealistic, highly detailed fur,
            8k resolution, national geographic style photography
        """,
        "negative_prompt": "cartoon, illustration, blurry, low quality",
        "image_size": {"width": 1344, "height": 768},
        "num_inference_steps": 28,
        "guidance_scale": 7.5
    }
})

print(result.images[0].url)

Next Steps

  • Try image-to-image for variations
  • Learn LoRA fine-tuning for custom styles
  • Explore batch processing for efficiency
#prompting#flux#image-generation#techniques
PreviousREST API BasicsNextImage-to-Image Transformations
On This Page
  • The Anatomy of a Great Prompt
  • Basic to Advanced Prompts
  • Basic Prompt
  • Improved Prompt
  • Style Modifiers That Work
  • Photography Styles
  • Art Styles
  • Quality Modifiers
  • Using Negative Prompts
  • Common Negative Prompts
  • Controlling Image Composition
  • Aspect Ratios
  • Composition Keywords
  • Advanced Techniques
  • Weighted Prompts
  • Style Mixing
  • Model Selection Guide
  • Complete Example
  • Next Steps
Related Guides
Image-to-Image Transformations

Learn to transform and enhance images with AI guidance.

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