Skip to content

Drawing ​

Drawing reuses the Antigravity sign-in of the Pi extension pi-provider-antigravity; Jingmei keeps no second credential:

  1. Put { "packages": ["npm:pi-provider-antigravity@0.13.0"] } in <dataDir>/pi-agent/settings.json; Pi installs the extension the next time bun run jingmei runs.
  2. Sign in with Google via bun run jingmei login antigravity.
  3. Restart the bot. image_generation_enabled: true in the startup ready log means it is on; a character can opt out with imageGenerationEnabled: false.

Each drawing is one request (about 15 seconds with gemini-3.1-flash-image). On failure (rate limit, safety block, timeout) that send_reply sends nothing, the character explains in text, and the log records reply_part_failed (part_type: image) with an error category. At most one picture is drawn per turn. Google's Antigravity terms explicitly forbid third-party tools using Antigravity OAuth and accounts have been banned; use at your own risk, preferably with a secondary account.

BSD 2-Clause License