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:

Comparing the interaction models and best-fit scenarios across conversational platforms, vertical creative workspaces, and open-source node workflows

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 SVG icon 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:

  1. 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.
  2. 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.
  3. 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:

  1. 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 yir can also be paired in.
  2. 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.
  3. 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, transparent background, 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:

  1. Recycling outdated Midjourney syntax: Appending legacy parameter flags, aspect tags, or style weights that modern multimodal image models ignore.
  2. 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:

Live comparison on gpt-image-2.6-flare: flashy cyberpunk buzzwords vs. a restrained warm wooden desk still-life photograph

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:

An open paper notebook and a brass fountain pen resting on a warm natural oak desk, beside a closed silver laptop and a ceramic mug of black coffee. Soft late-afternoon sunlight slants through a side window, casting quiet leaf shadows across the desk against a clean off-white wall with generous negative space. Analog still-life photography feel, warm restrained palette, no text in the 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:

Same flower-shop tea corner tested with "magazine style, luxurious style" causing ornate clutter vs. plain object and daylight descriptions

Here is the exact prompt used for the right-hand image:

A quiet neighborhood flower shop wooden table with a matte white ceramic vase holding white lisianthus and eucalyptus stems, beside a plain stoneware cup of warm black tea. Soft pale-gray plaster wall, gentle afternoon window daylight, lowered contrast and digital sharpness, candid everyday photography texture, generous negative space, no text in the 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":

Default high-contrast influencer-style portrait prompt vs. 50mm sharp focus with lowered contrast/sharpness and natural everyday features

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:

Half-body candid real photograph of a 26-year-old East Asian woman sitting by a bright café window, natural distinctive everyday features rather than a generic influencer face, wearing a pale oatmeal knit cardigan, light natural makeup, relaxed gentle smile. Shot on a full-frame 50mm lens: solid crisp focus (no haze or lens blur), moderately lowered overall contrast and digital sharpness, avoiding oversharpened pores and heavy grain, natural skin texture neither plastic-smoothed nor rough, soft diffused window daylight with smooth tonal roll-off and clean skin tones, no text in the image.

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:

Live 1K medieval castle cutaway test: packing 20+ tiny captions produces garbled strokes under 2.5x zoom, while keeping 5 large callout labels stays crisp

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:

An intricate medieval stone castle architectural cutaway diagram illustration in pen-and-ink with soft watercolor wash on warm cream paper. Clear large serif title at the top, full detailed interior and exterior castle architecture preserved, strictly limited to only 5 large, crisp, well-spaced callout labels with clean leader lines: "Keep", "Watchtower", "Curtain Wall", "Drawbridge", and "Moat". Large legible lettering, generous breathing room, strictly no tiny dense captions or bottom footnote paragraphs.

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:

Reference Risograph illustration tested via text-only generation: vague style summary drifts to glossy default art, while deep vision reverse-prompting reproduces the exact three-ink Risograph texture

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:

A vintage Risograph editorial illustration of a quiet neighborhood café wooden open window, with a warm terracotta pour-over coffee mug and a small potted plant on the sill; inside shows a muted slate-blue wall, vintage green pendant lamp, and wooden counter shelves, with pale cream sky and leafy branch silhouettes outside. Printed on coarse warm cream specialty paper with visible fiber grain, strictly limited to a three-ink spot palette of terracotta caramel orange, muted indigo slate, and sage green, preserving dry-brush strokes, visible halftone dot grain, and subtle manual ink-registration offset, no text in the image.

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:

Live Higgsfield workspace controls showing Angles 2.0 3D sphere, Relight light-pad panel, and Cinema Studio camera/lens/aperture wheels

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:

Translating a 3D camera sphere offset (+45° azimuth right, +25° elevation up) into a plain edit prompt on the base kettle 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:

Image 1 is the original photo to edit. Change only the camera viewpoint: move the camera from straight-on eye level to the front-right of the subject, rotating roughly 45 degrees right horizontally and raising 25 degrees upward to shoot from an elevated three-quarter top-right angle, clearly showing the dark-green ceramic lid knob, the walnut handle closer to the lens, and the slender gooseneck spout extending toward the back-left. Keep the dark-green glazed ceramic kettle shape, color, wood grain handle, matte pale-gray stone plinth, warm off-white seamless backdrop, and soft studio lighting unchanged, photorealistic, no text in the image.

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:

Translating a 3D light sphere moved to upper-back-left 45° warm golden rim light into a plain relighting prompt on the base kettle photo

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:

Image 1 is the original photo to edit. Change only the lighting and shadows: darken the overall studio environment into a deep warm-charcoal mood, move the key light to roughly 45 degrees upper-back-left of the subject, casting a focused warm golden rim/side-back light that highlights the gooseneck spout and left contour of the green glazed body while letting the right side fall into soft shadow and casting a crisp elongated shadow toward the front-right across the pale stone plinth. Keep the kettle shape, placement, straight-on eye-level camera angle, and framing unchanged, photorealistic, no text in the image.

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:

Three-way live test from the same base kettle photo: original studio shot vs. Kodak 35mm warm film wide framing vs. Sony 85mm shallow-DOF digital framing

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:

Image 1 is the original photo to edit. Re-render as if shot on a Kodak 35mm film camera with a 35mm wide-angle lens: pull framing slightly wider to show more of the pale-gray stone surface and surrounding studio space, with warm analog film color tones, fine natural film grain, gentle highlight roll-off, and subtle corner vignetting. Keep the dark-green glazed ceramic kettle shape, walnut handle, and placement unchanged, photorealistic, no text in the image.
Image 1 is the original photo to edit. Re-render as if shot on a Sony full-frame mirrorless camera with an 85mm wide-aperture medium-telephoto prime lens: tighter framing, stronger perspective compression, noticeably shallower depth of field with tack-sharp focus on the ceramic glaze texture and soft creamy bokeh across the front and back edges of the stone plinth and backdrop, clean neutral-cool modern digital color and high micro-contrast. Keep the dark-green glazed ceramic kettle shape, walnut handle, and placement unchanged, photorealistic, no text in the image.