Introduction
Hey everyone, I'm Oil. In this guide, I want to walk systematically through Practical AI Image Generation.
I previously worked as both a product manager and a developer on AIGC (AI-generated content) platforms, where I spent a lot of time working closely with image generation models. This guide follows one clear progression from start to finish: first mapping out today's mainstream image platforms, five flagship model families, and how to wire up your own API; next testing side by side how to write clean, natural prompts, why models carry built-in biases, and how to replace platform angle, relighting, and lens widgets with a base image plus plain instructions; and finally applying everything to transparent web accents, multi-grid icon and sprite batching, and image-driven UI exploration.
Platforms, Models & API Setup
Mainstream Image Platforms
Image generation products today fall into three tiers by interaction style and how open the underlying pipeline is. Even on the exact same pour-over coffee task, each tier differs sharply in workflow and capability boundaries:

1. Conversational Platforms (Single-Thread Chat for Everyday Visuals & Fast Ideation)
Represented by ChatGPT, Gemini, Dreamina (Jimeng AI), and Kling AI. You work inside a familiar single-column chat box—send a plain sentence to generate an image and reply in natural language to adjust lighting or framing, with zero parameters to learn.
Best suited for article illustrations, standalone social posts, and quick early ideation. ChatGPT and Gemini shine when generating visuals or blending reference images alongside writing and planning; Dreamina and Kling AI handle Chinese poster typography and East Asian photorealism well. Once variations pile up, however, scrolling back and forth through a single chat thread quickly gets unwieldy.
2. Vertical Creative Workspaces (Infinite Canvas for Multi-Model Chaining & Commercial Batch Production)
When you need to lay out dozens of references, model comparisons, and revisions side by side—or run full batches of commercial assets—switch to canvas-based creative workbenches. Because they pre-wire leading commercial closed-source image and video models out of the box, they also work very well for batch production without any environment setup:
- Infinite canvas chaining & batch production: TapNow connects references, multiple commercial image models, and video models on one infinite canvas—well suited for batch-producing e-commerce photo sets, ad creatives, and short-film storyboards; Lovart focuses on conversational graphic-design canvases for full poster and brand kits; Krea excels at real-time canvas sketching and batch upscaling.
- Specialized visual controls & vector assets: Midjourney web (now on V8) suits high-taste aesthetic exploration and batch grid comparison; Higgsfield wraps 3D camera spheres, relighting pads, and cinema lenses into ready-made controls; Recraft exports native path-editable
SVGicon sets, and Freepik pairs AI generation with commercial templates.
Their boundary is equally clear: you can only call the black-box commercial models and preset controls wired up by the platform—you cannot mount your own fine-tuned model weights or alter internal sampling steps.
3. Open-Source Node Workflows (ComfyUI: Custom Weights, Plugin Ecosystem & Local Privacy)
Represented by ComfyUI (and cloud hosts like RunningHub and LiblibAI), open-source node workflows may look like node wires on the surface, yet differ fundamentally from commercial canvases in three ways:
- Mounting private weights & pixel-level structural control: You can load your own fine-tuned checkpoints and LoRAs (strictly locking a proprietary IP character, specific product SKU, or custom art style) alongside ControlNet (locking exact human pose skeletons, depth maps, or edge lineart)—capabilities closed black-box APIs rarely expose.
- Glass-box pipeline with day-one open-source Custom Nodes: Generation is broken open into text encoding, latent sampling, regional masks, auto-matting, face restoration, and upscaling across thousands of community Custom Nodes. New research models and control algorithms often get working nodes on day one, and any workflow exports directly as an internal API.
- 100% open-source local & private offline deployment: With a capable local GPU, everything runs offline for free—unreleased product designs and sensitive assets never leave your machine, and nothing is blocked by third-party platform content filters. Whenever you don't have a high-VRAM GPU or want to skip Python dependency setup, RunningHub or LiblibAI lets you run ready-made ComfyUI node graphs directly in the browser.
Flagship Image Models
Behind every web workspace sits an underlying image model. Because models iterate quickly, as of November 26, 2026 (when this guide was written), everyday production work centers on five major model families:
| Model Family | Flagship Models (as of Nov 26, 2026) | Native Transparency | Core Strengths | Reference Price (1K / Standard) |
|---|---|---|---|---|
| GPT Image (OpenAI) | gpt-image-2.6-flare / sunburst |
Yes | flare balances speed and cost; sunburst maximizes detail; supports region-marked edits, native transparent PNG, and SVG/GIF output |
Official ~$0.043; low-cost relay ~$0.0085 (¥0.06) |
| Seedream (ByteDance) | Seedream 5.5 (doubao-seedream-5-5) |
Yes | Strong Chinese typography and photorealism, pixel-stable multi-turn local edits, native RGBA transparency | Volcano Engine Ark from ~¥0.13 |
| Nano Banana (Google) | Nano Banana 2.1 / Pro | No | Strong instruction editing and multi-image consistency (fuses up to 14 reference images), search-grounded generation | Official 2.1 ~$0.034, Pro ~$0.134 |
| Kling (Kuaishou) | Kling Image 4.0 | No | Native 8K output, long-form Chinese text layout, e-commerce tall banners, and coherent sets up to 10 images | Credit packs; channel 2K from ~$0.022 |
| Flux (Black Forest Labs) | FLUX 3 Image / Klein | Not native on official API | Open-weight Klein runs locally on 8 GB VRAM; richest open LoRA and fine-tuning ecosystem |
FLUX 3 ~$0.048, Klein API ~$0.009 |
In my own daily work, my #1 workhorse is gpt-image-2.6-flare set to 1k resolution and medium quality, which hits the best overall value. Depending on the API channel, a single image costs just a few cents—or under a cent: every live test image generated for this guide cost roughly $0.0085 (~¥0.06 RMB) per image through a low-cost routing channel. When I want a second go-to option, Seedream 5.5 is my other daily staple.
Connecting Your Own API
Web apps are fine for pulling a few occasional images, but once you need batch assets, product integration, or letting your AI Agent generate visuals automatically, wiring up an API is far more convenient and transparent on cost. Setup comes down to three steps:
- Pick a calling channel:
- Official direct APIs: OpenAI Images API, Google AI Studio (Gemini API), Volcano Engine Ark (for Seedream, OpenAI-SDK compatible), Black Forest Labs API, or Kling Open Platform—rock-solid, though each requires separate signup and billing.
- Unified aggregators: Platforms like fal, OpenRouter, ZenMux, or Replicate let a single API key call GPT Image, Nano Banana, Seedream, and FLUX with pay-as-you-go billing.
- Low-cost routing relays: When pushing per-image cost even lower for high-volume exploration, low-cost relay channels such as
yircan also be paired in.
- Store API keys safely: Create a dedicated key in your provider dashboard with a monthly spend cap, and store it in local environment variables (such as
.env, excluded from Git) or your OS keychain—never hardcode plaintext keys into source files, frontend bundles, or chat messages. - Call via SDK or wrap into an AI Agent Skill: For app code, call the provider's official SDK or HTTP endpoint directly (focusing on model ID,
size,quality, transparentbackground, and reference image inputs). For personal daily workflows, hand the API docs and environment variable name to your AI Agent and have it write a local script or reusable Skill so you can generate and save images straight from chat.
Prompt Craft & Style Reverse-Prompting
Early image models had weak text encoders and relied on comma-separated English tag strings and parameter weights to steer composition. Starting with the Nano Banana generation, strong semantic understanding fused directly into image synthesis, making legacy Midjourney tag syntax obsolete—plain natural language (in English or Chinese) produces clean, accurate results on modern models. Keep in mind that packing too many elements and constraints into one frame splits attention, so aim for a clear single focal point per image.
Avoiding Outdated & Flashy Prompts
Another major shift in practice: most detailed image prompts today are drafted by an AI Agent (a text LLM) rather than typed word by word by hand.
Yet there is an easy-to-miss gap here—text LLMs do not naturally understand image models. Text LLMs predict abstract conceptual phrases ("futuristic tech feel", "precision instruments"), whereas image models need concrete objects, materials, light direction, and negative space—abstract buzzwords collapse into tacky clichés. If you simply ask an LLM "write me a cover illustration prompt for an AI note-taking app", it routinely falls into two traps:
- Recycling outdated Midjourney syntax: Appending legacy parameter flags, aspect tags, or style weights that modern multimodal image models ignore.
- Piling on flashy buzzwords that look cheap: Hearing "AI" and "software" triggers phrases like "futuristic sci-fi aura, precision instruments, glowing blue neon, holographic projection, 8K ultra-detailed", producing plastic cyberpunk clichés.
Here is a side-by-side live test on gpt-image-2.6-flare comparing a flashy LLM-style prompt against a restrained, concrete natural-language prompt:

Keeping your Agent's prompts grounded is straightforward: replace abstract buzzwords ("futuristic tech", "precision instrument") with concrete objects, materials, light direction, and generous negative space, and append "no text in the image" whenever you don't want stray lettering. Here is the exact prompt behind the right-hand image:
By the same token, avoid broad style buzzwords like "magazine style" or "luxurious / ornate style". During preference training and human blind-ranking evaluations, raters clicking quickly tend to reward high contrast and ornate visual density, so adding words like "magazine style, luxurious" pushes even harder into that default bias—turning a quiet afternoon-tea corner into a crystal-chandelier palace packed with gilded statues. Dropping grand style labels and describing only specific objects and soft daylight yields a far cleaner frame:

Here is the exact prompt used for the right-hand image:
Controlling Portrait Contrast & Noise
Photorealistic portraits reflect the same preference-training bias and show two built-in defaults: first, heavy noise, harsh contrast, and oversharpened pores and hair strands; second, generic, cookie-cutter "influencer" faces.
Pulling portraits back to believable photography means actively counterbalancing those defaults: skip phrases like "ultra-HD, dramatic lighting, razor-sharp detail", yet keep focus crisp rather than hazy—explicitly asking for "candid real photography, natural recognizable features rather than a generic influencer face, solid 50mm focus, and moderately lowered contrast and digital sharpness without oversharpened pores or heavy noise":

Notice how the default prompt on the left blows out window highlights, crunches shadow contrast, and produces a retouched influencer look, whereas the right-hand prompt keeps solid 50mm focus while softening contrast and digital sharpening so skin texture and expression look like a real photograph:
Managing In-Image Text Size & Density
When an image itself needs embedded text—such as an architectural cutaway diagram, poster, or cover—it helps to understand why AI struggles with small lettering. Design tools render text from vector font files where every stroke stays mathematically intact at any size; an image model has no font file and paints characters as pixel patterns just like leaves or brickwork. Missing two leaves on a tree goes unnoticed, but shifting a single stroke in a complex character immediately creates a visible typo.
Weaker or older models have limited text encoders and sparse non-English training data, so even large headlines garble. Today's top models (gpt-image-2.6, Seedream 5.5, Kling Image 4.0, Nano Banana 2.1) fuse language understanding into generation and render large and medium lettering reliably—yet one physical boundary remains: avoid cramming tiny, dense text into an image. Because generation happens inside a downsampled latent grid, characters squeezed down to a dozen pixels tall lose fine multi-stroke detail during compression and decode into fused or approximate wrong characters.
Here is a live 1K test on a complex medieval castle cutaway diagram using the exact same flagship model:

On the left, the main title and medium callouts read cleanly, yet zooming 2.5× into the tiny bottom footnotes reveals stroke fusion and garbled characters; on the right, keeping the exact same intricate castle cutaway while limiting text to the title plus 5 medium-large labels makes the entire illustration production-ready:
Reverse-Prompting Styles from References
Whenever you spot a visual style you love but cannot put into words yourself, a reference image is the most reliable bridge.
Modern multimodal LLMs can inspect images directly: feed the reference into a vision-capable LLM and ask it to break down paper grain, color palette, lighting, brushwork, and edge treatment into a reusable prompt. One crucial distinction: vision accuracy varies dramatically across models—stronger multimodal models extract concrete visual mechanics far more faithfully than weaker ones.
There is a simple litmus test for whether a reverse-prompt actually captured the style: do not pass the original reference image to the image generator—take only the reverse-engineered text prompt, generate a brand-new subject from scratch, and see whether the output still looks drawn by the same artist.
In this test, we started from a vintage Risograph coastal bookstore illustration (characterized by coarse paper grain and spot-ink registration texture) and generated a brand-new subject—a neighborhood café window—purely from text using a brief summary vs. deep vision reverse-prompting:

Writing "illustration style, warm colors" snaps straight back to generic glossy digital art; spelling out coarse warm cream paper grain, a locked three-ink Risograph palette, dry-brush texture, halftone dots, and slight manual ink misregistration reproduces the style faithfully on an entirely new scene:
Camera Angles, Lighting & Lenses
Back when I worked on AIGC platforms, every product wrapped dedicated UI controls around image editing. Take Higgsfield as a representative example: Angles 2.0 provides an interactive 3D camera sphere and angle sliders, Relight offers a draggable light-direction pad with soft/hard toggles, and Cinema Studio presents three selector wheels for cinema camera bodies, vintage lenses, and aperture:

Seeing dedicated filter, camera-orbit, or relighting tools on creative platforms makes it easy to assume each widget runs a specialized optical or 3D model under the hood. Specialized models do exist, but ever since the Nano Banana generation fused 3D perspective and lighting physics directly into image synthesis, mainstream general-purpose image models have gained strong instruction-based editing and subject consistency.
Today, most angle, relighting, filter, and focal-length controls you interact with simply translate your UI slider positions into a natural-language edit prompt and send it alongside your original image to a general-purpose image model.
One practical detail: chaining edits repeatedly on top of already-edited outputs compounds re-encoding loss and progressively blurs fine detail. In all three tests below, we branch directly off the exact same front-facing green ceramic kettle master image in a single step—pass the original photo as "Image 1" alongside each prompt below.
Changing Angles with a 3D Camera Sphere
Many platforms display your subject at the center of a 3D wireframe with a draggable camera orb pointing inward. Dragging the orb rotates the photograph's viewpoint.
Under the hood, dragging the camera orb ~45° right in azimuth and ~25° up in elevation translates those two offsets into a single camera-repositioning prompt sent with the base photo:

The viewpoint shifts cleanly to an upper-right three-quarter angle while preserving the speckled dark-green glaze, gooseneck spout curve, and walnut handle:
Relighting with a 3D Light Sphere
Relighting follows the exact same pattern: swap the 3D orb from "camera" to "light source", and dragging its azimuth, height, and color temperature translates into light direction, shadow falloff, and ambient mood while locking subject and camera position:

The core habit for reliable edit prompts is stating both what changes and what stays locked. Here is the exact prompt behind the dark-studio warm rim-lit result:
Switching Cameras & Focal Lengths
Likewise, platform controls that switch between Kodak, Sony, or Canon bodies and 35mm wide vs. 85mm portrait lenses don't run physical ray-tracing optics—they package brand color science, depth-of-field falloff, and framing tightness into preset edit prompts, acting like a composition-aware film and lens profile.
Starting again from the exact same base kettle photo, here is a three-way live test simulating Kodak 35mm film and Sony 85mm wide-aperture mirrorless purely through text prompts:

The Kodak 35mm edit naturally pulls back to show wider stone-table space with warm grain and gentle vignetting, while the Sony 85mm edit tightens framing, compresses perspective, blurs the front and rear plinth edges, and shifts toward crisp neutral digital color:


