Grok BotCreativeWritingAI score · 77/100AI-assisted edit · no obvious prompt-injection riskX

Make Editable Infographics with Grok Bot: Pillow Script Workflow

Input topic and data → Grok Bot writes and runs a Python/Pillow script → Output 1600×1000 PNG plus reusable script

Some experienceStepsPromptTip
Who
Content creators who need data-driven infographics for X/Twitter and similar platforms
You get
A crisp-text, accurate-number PNG infographic and its editable Python script
You need
Grok Bot

Constraints

Provide data, layout requirements, and verification instructions step by step in a Grok Bot conversation so it generates and executes a Pillow script. Requires Grok Bot computer/code execution access. Depends on Pillow and DejaVu Sans fonts; dimensions can be adjusted per platform.

What they did

Author x_xJuanchox_xx used Grok Bot's computer feature daily this week to write and run small Python/Pillow scripts for infographic images in their X posts. The workflow includes: asking for a script instead of an image, supplying accurate data before design, verifying list items by checking links and free/open-source claims, using one of three fixed layouts, compressing text to under 45 characters, having Grok Bot self-review the image, saving scripts for next-day reuse, and writing the post text around the image.

How it went

Author report (author_report): the script approach yields sharp text, exact numbers, and an editable file in seconds; reusing a script takes about two minutes and maintains a consistent look. No screenshots or third-party verification data provided.

Worth knowing

The source does not specify Grok Bot runtime support for Pillow/DejaVu Sans fonts; missing fonts may require manual handling. No subscription tier or cost is stated. No troubleshooting steps for script errors are provided. The author emphasizes never trusting AI-filled numbers—always supply sourced data. Free plans can change; verify on the day of posting.

Steps

  1. Ask for a script, not an image

    Paste the prompt into Grok Bot and ask it to write and run a Pillow script that produces a 1600×1000 PNG with a dark background, white bold title, gray subtitle, using DejaVu Sans fonts, and save both the script and the image for later editing. The author notes 1600×1000 shows up large in the timeline; for an X Article cover, 1500×600 works.

    Execution prompt · Source text。Grok Bot chat input, as the first instruction

    On your computer, write a Python script with Pillow that makes a 1600x1000 PNG. Dark background, white bold title, gray subtitle. Use DejaVu Sans fonts. Save the script and the image so I can edit them later.
  2. Give facts first, design second

    Paste the numbers you want to show and their source into the chat. Explicitly instruct Grok Bot to use only those numbers, without rounding, estimating, or adding anything, and to place a small source line at the bottom right.

    Execution prompt · Source text。Grok Bot chat input, sent after supplying the specific data

    Here is the data and where it came from: [paste numbers + source]. Only use these numbers. Do not round, estimate or add anything. Put a small source line at the bottom right.
  3. For lists, verify every item

    If making a tool/site list, ask Grok Bot to open each link from its computer environment and confirm the site loads, matches your one-line description, and is free or open-source per its own page. Drop failures and explain why.

    Execution prompt · Source text。Grok Bot chat input, sent before designing

    Before you design anything, open each of these sites from your computer and confirm: 1) it loads, 2) it does what my one-line description says, 3) it's free or open-source according to its own page. Drop anything that fails and tell me why.
  4. Pick a simple, repeatable layout

    Choose one of three layouts and tell Grok Bot: card grid (2 columns × 4 rows, good for tool lists), bar chart (single metric sorted largest to smallest, good for comparisons), or two-column versus (left vs right, good for this vs that). The example prompt uses a card grid with rounded rectangles, colored number circles, bold names, one-line descriptions, and matching-color links, with 70px margins.

    Execution prompt · Source text。Grok Bot chat input, sent when specifying layout

    Use a card grid: 2 columns, 4 rows. Each card: rounded rectangle, a colored circle with the number, bold name, one line under it, link in the same color as the circle. Keep 70px margins.
  5. Keep text short enough to read in one second

    Ask Grok Bot to shorten every line to under 45 characters without changing meaning, and to avoid emojis and exclamation marks. The author applies the same 45-character limit to titles.

    Execution prompt · Source text。Grok Bot chat input, sent when draft text is too long

    Shorten every line to under 45 characters without changing the meaning. No emojis, no exclamation marks.
  6. Have Grok Bot review the image before posting

    After generating the image, ask Grok Bot to open its own image and check like a picky editor for anything cut off, overlapping, misspelled, or different from the data you provided, then fix and show the new version. The author recommends you do a final check yourself.

    Execution prompt · Source text。Grok Bot chat input, sent after image generation

    Open the image you just made and check it like a picky editor: anything cut off, overlapping, misspelled, or different from the data I gave you? Fix it and show me the new version.
  7. Save the script for reuse

    Ask Grok Bot to save the script alongside each image. For the next day's list, you can ask it to copy yesterday's script, swap in new items, change the title, and save as a new file. The author says this takes about two minutes and keeps the visual style consistent.

    Execution prompt · Source text。Grok Bot chat input, sent when reusing a script (replace [new title] and items)

    Copy yesterday's script, swap in these 8 new items, change the title to [new title], and save it as a new file.
  8. Write the post around the image

    The author's suggested post structure: open with who it's for (e.g., 'If you make content and you're tired of paying for software, save this.'); list items in plain text, one per line, so the post works even without the image; end with an honest question (e.g., 'Which one did you not know about?'); use at most 1-2 hashtags.

Prompt you can copy

Reference prompt · Editorial suggestion。Confirm the destination, input variables and output format before use.

This block is the prompt. Ads are never placed here.

No prompt needed — just follow the steps.

Source

Grok Bot 图表/信息图:Pillow 脚本可粘贴 + 事实优先流程 · x_xJuanchox_xx · X · 2026-10-30T15:19:51.000Z

Comments & feedback

Tried this method? Share results, problems or improvements. Comments appear after moderation. Please avoid sensitive information.

Loading…

    Related