2I Industrial Prompt Templates: Differences Between Template A and B in GPT-Image 2
The two 2I Industrial prompt templates in the awesome-gpt-image-2 repository differ primarily in visual intent: Template A targets photorealistic factory environments with authentic textures like rust and oil, while Template B delivers stylized, futuristic industrial aesthetics with dramatic lighting and exaggerated geometry.
The freestylefly/awesome-gpt-image-2 repository provides specialized prompt templates for generating industrial imagery with GPT-Image 2. Among these, the 2I Industrial prompt templates—comprising Template A and Template B—represent two distinct approaches to industrial visualization. These complementary systems are documented in the project's style library and template documentation, offering developers precise control over whether generated scenes prioritize physical realism or artistic interpretation.
What Are the 2I Industrial Prompt Templates?
The designation "2I" refers to Type 2 Industrial templates within the repository's classification system. Defined in docs/templates.md, these templates share a common foundation of scene tags, style tags, and pitfall avoidance rules stored in data/style-library.json. Both templates utilize the agent selection logic implemented in agents/skills/gpt-image-2-style-library/SKILL.md, yet they diverge significantly in their target visual outcomes and prompt construction methodologies.
Despite both serving industrial use cases, they are not interchangeable—Template A emphasizes documentation-grade realism while Template B prioritizes dramatic, conceptual composition.
Primary Focus and Visual Style
Template A: Photorealistic Industrial Environments
Template A focuses on real-world industrial settings such as factories, warehouses, and heavy machinery sites. According to the source code in docs/templates.md, this template emphasizes high-resolution texture details including rust patterns, oil stains, metal fatigue, and concrete degradation. The lighting model prioritizes ambient, naturalistic illumination that mimics actual industrial conditions, avoiding artistic exaggeration in favor of documentary accuracy.
Template B: Futuristic and Stylized Industrial Concepts
Template B targets conceptual, futuristic industrial settings featuring stylized lighting and exaggerated geometry. Rather than replicating physical reality, this template emphasizes dramatic composition through strong shadows, high-contrast elements, and artistic renderings. It is designed for scenarios where mood and visual impact supersede technical accuracy, utilizing neon accents and impossible architectures that depart from real-world physics.
Prompt Structure and Token Organization
The architectural difference between the templates lies in their prompt construction strategy and token sequencing:
-
Template A begins with concrete environmental descriptions (e.g., "A sprawling factory interior at dusk"), followed by specific material tokens such as
metal,concrete, anddust. This structure grounds the generation in tactile physical reality, referencing the material catalog indata/style-library.json. -
Template B initiates with thematic phrases such as "futuristic industrial" or "cyber-industrial," then appends artistic modifiers like "cinematic lighting" and "high contrast." This approach prioritizes atmospheric mood over material specificity, leveraging the style library's artistic modifier tags rather than its physical property descriptors.
Use Cases and Applications
When to Use Template A
Template A excels in scenarios requiring technical accuracy and believable contexts:
- Product visualization requiring realistic factory or warehouse backgrounds
- Technical illustrations for engineering documentation and CAD presentations
- Realistic concept art for industrial design reviews and architectural prototyping
When to Use Template B
Template B suits creative and entertainment applications where stylization enhances narrative:
- Game concept art requiring futuristic or dystopian industrial environments
- Mood boards for science fiction film productions and speculative design projects
- Stylized advertising campaigns demanding dramatic visual impact over literal representation
Implementation in Code
Both templates integrate with the agent runtime system described in agents/skills/gpt-image-2-style-library/SKILL.md, which automatically selects the appropriate template based on prompt context. The following JavaScript examples illustrate their distinct structures:
// Template A: Photorealistic industrial scene
const realisticPrompt = `
A massive steel factory interior at twilight,
rusted conveyor belts, oil-slicked concrete floors,
soft ambient lighting, photorealistic detail
`;
// Template B: Stylized futuristic industrial
const stylizedPrompt = `
Futuristic industrial megastructure,
neon-blue glow, towering metal arches,
cinematic shadows, high-contrast stylized rendering
`;
The runtime selection logic references data/style-library.json to match incoming requests with either Template A's material-focused approach or Template B's composition-focused approach, ensuring consistent visual coherence across generated outputs.
Summary
- Template A generates photorealistic industrial environments with authentic material textures and realistic lighting, documented in
docs/templates.mdfor technical visualization use cases. - Template B produces stylized, futuristic industrial concepts with dramatic cinematic lighting, suitable for game art and creative advertising as defined in the style library.
- Both templates utilize the shared tag system in
data/style-library.jsonand follow pitfall avoidance rules to prevent oversaturation or visual clutter. - The agent selection mechanism in
agents/skills/gpt-image-2-style-library/SKILL.mddetermines which template applies based on detected style modifiers in the input prompt.
Frequently Asked Questions
What does "2I" stand for in these industrial prompt templates?
The "2I" designation refers to Type 2 Industrial templates within the awesome-gpt-image-2 classification hierarchy. According to docs/templates.md, this categorization distinguishes these industrial-focused templates from other style categories in the repository, specifically grouping them under the second major industrial classification that deals with both realistic and conceptual factory environments.
Which template should I use for product photography backgrounds?
Use Template A when generating backgrounds for product photography or technical visualizations. Its emphasis on photorealistic textures, accurate lighting, and real-world industrial elements like rust and metal fatigue creates believable environments that complement physical products without distracting artistic flourishes that might conflict with the product's actual appearance.
Can I combine elements from both 2I Industrial templates?
Yes, the modular structure of the style library allows hybrid approaches. As implemented in data/style-library.json, both templates share common base tags while differing in artistic modifiers. Developers can reference specific material tokens from Template A while applying cinematic lighting modifiers from Template B, though the SKILL.md implementation notes recommend selecting one primary template to maintain visual coherence in GPT-Image 2 outputs.
Where are the template definitions stored in the repository?
The complete template definitions reside in docs/templates.md, which documents the prompt structures, token sequences, and use case guidelines for both Template A and Template B. The associated tag catalogs, scene definitions, and style parameters are stored in data/style-library.json, while the runtime selection logic and agent integration are implemented in agents/skills/gpt-image-2-style-library/SKILL.md.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →