Generative AI for Scientific Figures: A Practical Prompt and Workflow Guide

    This article explains how to use generative AI responsibly in the creation of scientific figures. It covers the different purposes of mechanism diagrams, experimental flowcharts, method architecture diagrams, and data charts; the components of an effective figure prompt; reusable prompt templates; a staged workflow from structure definition to final layout; quality checks for scientific accuracy, readability, consistency, and compliance; and a traceability record for reusable figure production. The goal is to help researchers use generative tools for visual exploration and drafting while keeping scientific facts, relationships, and final validation under human control.

    1. The Goal of Scientific Figures: Make Research Logic Visible

    Scientific figures are not decoration for a paper. Their purpose is to turn complex research objects, experimental steps, and causal relationships into a visual structure that readers can understand quickly. An effective scientific figure should answer three questions: What are the key objects in the study? What relationships exist among them? Which core conclusion should readers focus on?

    Generative AI can help with composition exploration, visual draft generation, and adjustments to expression. It cannot replace a researcher’s judgment about scientific facts. Its output may look visually polished while containing incorrect arrow directions, missing modules, distorted structures, or shifted label meanings. Therefore, a sound approach is not to “enter one sentence and receive a submission-ready figure.” Instead, build a workflow: scientific definition, structural design, draft generation, professional validation, and final layout.

    The prompts below are general natural-language templates and are not tied to any specific API. Actual results depend on the capabilities, input conditions, and generation constraints of the system being used. Requirements in a prompt should not be treated as technical guarantees that they will be satisfied.

    2. Distinguish Figure Purpose Before Choosing a Generation Approach

    Different scientific figures serve different tasks and should not all use the same generation strategy.

    1. Mechanism Diagrams: Relationship Correctness Comes First

    Mechanism diagrams show actions, transmission, regulation, or transformation relationships among research objects. Their core is nodes and connections, not photorealism.

    Before creating the figure, list:

    • The objects that must appear and their exact names;
    • The spatial location or functional region of each object;
    • The direction and meaning of each connection;
    • Which relationships are supported by evidence and which are only hypotheses to be tested;
    • Whether feedback, branches, or conditional dependencies exist.

    In particular, distinguish “promotes,” “inhibits,” “transports,” “transforms,” and “correlates.” These cannot be expressed casually with the same arrow. If the study only found a correlation, the figure should not depict it as an established causal chain.

    2. Experimental Flowcharts: Complete Steps and Conditions

    Experimental flowcharts explain how samples enter an experiment, what treatments they undergo, how they are measured, and how they are analyzed. A common problem is not poor visual design but missing control groups, replicates, quality checks, or handling of abnormal samples.

    This type of figure benefits from simple modules and consistent connector lines. Generative AI can help explore layouts, but the experimental order, grouping, and decision conditions should be explicitly provided by the researcher. The model should not be allowed to fill in steps that were not described.

    3. Method Architecture Diagrams: Data Flow and Module Boundaries

    Method architecture diagrams show input data, processing modules, output results, and their dependencies. In technical papers, the most misleading mistakes often come from mixing the training phase with the inference or usage phase, or from drawing data flow, control relationships, and parameter updates as the same type of connection.

    Define module responsibilities before deciding on visual representation. If the input and output of a module cannot be explained, that module should not be added merely to make the figure look richer.

    4. Data Charts: Data Authenticity Comes First

    For experimental curves, statistical distributions, error ranges, or quantitative comparisons, start from verified raw data and draw the chart in a deterministic way.

    Generative images can help discuss layout and visual style, but they should not generate bar heights, curve shapes, or scatter positions to replace real data. A plausible-looking data chart is not the same as a real experimental result.

    3. Write Prompts as a Figure Brief

    An effective prompt does not depend on many decorative adjectives. It depends on complete, clear, and mutually consistent constraints. A recommended prompt contains seven parts.

    1. Use Scenario

    State whether the figure will be used in the main text of a paper, a research report, an academic presentation, or science communication material. Different scenarios require different information density: a figure in a paper should be understandable together with its caption, while a figure in a presentation usually needs larger labels and fewer details.

    2. Core Message

    Use one or two sentences to state what readers should understand after viewing the figure. The core message determines visual priority and prevents background information from being given the same weight as the main conclusion.

    3. Object List

    List the elements that must appear and note which parts can be simplified and which cannot. Professional structures should not be arbitrarily deleted or altered simply because the composition is crowded.

    4. Relationship List

    Write the relationships among objects as explicit items, for example:

    1. Object A → Object B: input transfer
    2. Object B → Object C: processed result output
    3. Object D ┤ Object B: inhibition

    These symbols are only relationship descriptions, not dedicated syntax for any drawing system. The final figure should use consistent visual symbols and explain their meanings in a legend.

    5. Layout Constraints

    Specify reading direction, zoning, module order, and alignment requirements. For example: “Show the main process from left to right, and place supporting modules below.” If the main process already uses a left-to-right direction, do not also require all objects to be arranged in a central ring, which would create a conflict.

    6. Visual Specification

    Specify background, lines, color palette, and emphasis methods. Scientific figures usually benefit from a limited number of colors, consistent line widths, and the same style for objects in the same category.

    Color should not be the only way to encode information. Combine color with shape, line type, and text so the figure remains readable in grayscale printing or for readers with color-vision difficulties.

    7. Prohibitions

    Explicitly prohibit adding entities, relationships, numerical values, and experimental conclusions that were not provided. Prohibitions help reduce deviations, but they cannot guarantee that errors will disappear completely. Human review is still required.

    4. Prompt Templates You Can Adapt Directly

    Template 1: Mechanism Diagram

    1. Task: Create a draft mechanism diagram for a scientific paper.
    2. Core message:
    3. Show [key process] of [research object] under [specified conditions].
    4. Express only the scientific relationships provided below. Do not infer additional mechanisms.
    5. Required objects:
    6. 1. [Object A and its region]
    7. 2. [Object B and its region]
    8. 3. [Object C and its region]
    9. Relationships:
    10. - [Object A] transfers [specific content] to [Object B].
    11. - [Object B] produces [clearly defined effect] on [Object C].
    12. - Use dashed lines for [relationships to be verified] and note their hypothetical nature in the legend.
    13. Layout:
    14. Arrange the main process from left to right; use light-colored zones for different regions.
    15. Keep the reading order clear and minimize crossing connector lines.
    16. Visuals:
    17. Use a clean two-dimensional schematic style, a solid background, and consistent lines.
    18. Keep objects of the same type in the same shape and color.
    19. Supplement color coding with shape and line type.
    20. Text:
    21. Leave space for long labels to be added manually later.
    22. Do not generate abbreviations or explanations that were not provided.
    23. Prohibitions:
    24. Do not add new relationships, experimental data, or research conclusions.
    25. Do not draw hypothetical relationships as established relationships.

    This template is suitable for generating a structural draft first. If professional structures, spatial positions, or complex reactions are involved, researchers should also provide verified reference diagrams and check the generated result item by item. The source and usage rights of reference materials must also be confirmed.

    Template 2: Experimental Flowchart

    1. Task: Create a draft experimental flowchart.
    2. Experimental objective:
    3. [Fill in the research objective]
    4. Confirmed experimental steps:
    5. 1. [Sample acquisition]
    6. 2. [Grouping and control setup]
    7. 3. [Experimental treatment]
    8. 4. [Measurement or detection]
    9. 5. [Quality check]
    10. 6. [Data analysis]
    11. Branch conditions:
    12. After [step name], proceed to [branch A] or [branch B] according to [decision condition].
    13. If there is no branch, do not add decision nodes.
    14. Layout:
    15. Arrange steps in sequence.
    16. Use consistent rectangles for main steps and a different shape for decision nodes.
    17. Show control groups and experimental groups in parallel and merge them at the appropriate point.
    18. Text handling:
    19. Keep only short titles in each module.
    20. Specific conditions, sample counts, and operational details should be added after manual verification.
    21. Prohibitions:
    22. Do not infer missing steps.
    23. Do not add treatment times, sample counts, concentrations, or statistical methods on your own.
    24. Do not omit control and quality-check steps that were explicitly provided.

    This template separates process facts from visual design and can reduce the risk of the model introducing nonexistent experimental operations while “completing the workflow.”

    Template 3: Method Architecture Diagram

    1. Task: Create a draft architecture diagram for a technical method.
    2. Research method:
    3. [Fill in the core idea of the method]
    4. Input:
    5. [Fill in the input data and its form]
    6. Modules and responsibilities:
    7. - Module A: [input, processing responsibility, output]
    8. - Module B: [input, processing responsibility, output]
    9. - Module C: [input, processing responsibility, output]
    10. Connections:
    11. [Describe item by item which module the data enters and which module it goes to]
    12. Phase division:
    13. The training phase includes [module list].
    14. The usage phase includes [module list].
    15. Partition the figure only when these phases actually exist.
    16. Layout:
    17. Show the main data flow from left to right.
    18. Place auxiliary processing below the main flow.
    19. Use different line types for different types of connections and provide a legend.
    20. Prohibitions:
    21. Do not add modules that were not provided.
    22. Do not invent loss terms, update paths, data dimensions, or performance metrics.

    After completing a method architecture diagram, check whether each module has a corresponding description in the main text. If the figure contains a module that the text does not explain, either add an explanation or remove the element.

    5. Use Staged Generation Instead of Trying to Get the Final Figure in One Pass

    Stage 1: Confirm the Structure

    First compress the figure into a text list or a simple block diagram. Check whether the objects are complete, the order is correct, and the connections are valid. At this stage, do not pursue materials, shadows, or fine decoration.

    Structural confirmation should be completed by people who understand the research content. Visual designers or generation systems can optimize expression, but they should not decide the scientific mechanism.

    Stage 2: Explore Layouts

    While keeping scientific relationships unchanged, try horizontal flows, vertical flows, or zoned layouts. Compare them based on reading path, number of crossing connector lines, label space, and information density, not just whether the image looks eye-catching.

    Layouts can change during exploration, but the object list and relationship list should remain unchanged. Avoid turning a composition change into a content change.

    Stage 3: Adjust Visuals

    After the structure is fixed, work on color, lines, icons, and white space. If the system supports local editing, request changes for one region at a time. If it does not, complete these changes during post-editing.

    Local modification requests should be specific, for example: “Keep the other regions unchanged and enlarge the label space in the output area on the right.” Regardless of the editing method, check whether regions that were not supposed to change have changed.

    Stage 4: Standardize Text and Output Specifications

    For complex professional labels, a safer approach is usually to generate a base image with no text or little text, then add accurate labels manually. This makes it easier to standardize font sizes, revise terminology, and reduce text distortion or spelling errors.

    When exporting, determine dimensions, resolution, and file format according to the target publication’s requirements. Structural diagrams should ideally retain editable objects; raster images should be checked for clarity at the final use size. Simply increasing the pixel count cannot correct an incorrect structure or automatically restore true editable vector elements.

    6. Build a Reviewable Quality Checklist

    Scientific Accuracy

    Check object names, counts, positions, and connection directions. Confirm that promotion and inhibition are not mixed up, inputs and outputs are not reversed, and hypotheses are distinguished from conclusions. Figures involving professional structures should be reviewed by someone with relevant domain knowledge.

    Visual Readability

    Scale the image to the actual layout size and check whether labels are clear, lines are distinguishable, and the legend is complete. Being clear when zoomed in on a screen does not mean being clear in the final paper layout.

    Also perform a grayscale check to confirm that key relationships do not depend solely on color.

    Text-Figure Consistency

    Compare the figure with the main text, method description, and caption. Check for terminology inconsistencies, missing steps, or conclusions in the figure that go beyond the evidence in the text. The caption should also explain abbreviations, line types, and necessary conditions, rather than merely saying “schematic of the research mechanism.”

    Authenticity and Compliance

    Do not present generated images as microscopy images, detection records, or other real experimental observations. If generative technology is used in figure creation, check the rules of the target journal, conference, or institution and disclose the use as required.

    For unpublished results, sensitive sample information, and restricted materials, confirm data-processing rules and institutional authorization requirements before submitting them to an external system. Prompts should also avoid unnecessary sensitive information.

    7. Make the Figure Process Reusable and Traceable

    For each figure, keep a record that includes the figure’s purpose, scientific basis, object and relationship lists, prompt version, generated drafts, manual modifications, and review conclusions.

    The record can use the following neutral structure:

    1. Figure number:
    2. Use scenario:
    3. Scientific basis:
    4. Object list:
    5. Relationship list:
    6. Prompt version:
    7. Draft version:
    8. Manual modifications:
    9. Scientific review:
    10. Final output specifications:

    The value of this management approach is that when research conclusions or experimental workflows change, you can locate the affected modules instead of guessing again how the entire figure should be revised.

    Note that saving prompts and drafts improves process traceability, but it does not mean that every regeneration will produce exactly the same image. For a final figure that has passed review, save the actual file and its editable source file.

    8. Conclusion: Put Generative Capability in the Right Place

    Generative AI is well suited to supporting visual exploration and draft creation for scientific figures, but scientific credibility comes from accurate facts, explicit relationships, and rigorous review.

    A reliable practice is to define the scientific content first, then design the information structure, then generate a visual draft, and finally have humans complete validation, text layout, and compliance checks. Only when the generation process is placed within a controlled workflow can scientific figures be both clear and visually effective while accurately serving research communication.