Skip to content
| Marketplace
Sign in
Visual Studio Code>Machine Learning>FlowCraft - AI-Powered Diagram GeneratorNew to Visual Studio Code? Get it now.
FlowCraft - AI-Powered Diagram Generator

FlowCraft - AI-Powered Diagram Generator

FlowCraft

|
6,684 installs
| (1) | Free
Generate beautiful diagrams, infographics, and images from code using AI. Supports multiple diagram types and AI providers, such as OpenAI, Anthropic, Google, and FlowCraft API.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

FlowCraft - AI-Powered Diagram Generator 🎨✨

Transform your code into beautiful diagrams, infographics, and visualizations instantly. FlowCraft allows developers to visualize complex logic, document architectures, and create professional assets directly within VS Code, powered by your choice of AI.

FlowCraft

Key Features

Multi-Provider AI Support

Choose the AI provider — and the specific model — that fits your needs and budget. FlowCraft supports:

  • OpenAI — gpt-4o, gpt-4o-mini, gpt-4-turbo, o1-mini, o3-mini
  • Anthropic — Claude Opus 4, Sonnet 4, Haiku 4, and recent 3.x models
  • Google — gemini-2.5-pro, gemini-2.5-flash, gemini-1.5-pro, gemini-1.5-flash
  • FlowCraft API
    • Documentation available at FlowCraft API Docs.

Select your per-provider model from the Settings sidebar (models · per provider). The choice is sent with every generation request; leave on default to use the server-side default.

Comprehensive Visualization Types

Generate widespread diagram standards and creative assets:

  • Mermaid Diagrams: Flowcharts, Sequence, Class, State, ER, Gantt, Pie Charts.
  • Infographics: Create SVG-based infographics for presentations and docs.
  • AI Images: Generate illustrative images and diagrams from text descriptions.

Privacy-First Architecture

  • Bring Your Own Key (BYOK): Your API keys are stored securely in VS Code's Secret Storage.

Seamless In-Editor Experience

  • Integrated Viewer: View, zoom, and pan diagrams without leaving VS Code.
  • History & Management: Access, regenerate, or duplicate past diagrams from a dedicated history view.
  • Export: One-click export to SVG, PNG, or PDF.

Getting Started

  1. Install FlowCraft from the VS Code Marketplace.
  2. Open the Sidebar: Click the FlowCraft logo in the activity bar.
  3. Configure Provider:
    • On first run, you will be prompted to configure an API provider.
    • Enter your API Key (e.g., OpenAI, Anthropic) to get started.
  4. Generate:
    • Select code in your editor and right-click -> FlowCraft: Generate Diagram from Selection.
    • Or use the sidebar "Generate Diagram" button to start from scratch.

💡 Usage

Generating Diagrams

You can generate diagrams in multiple ways:

  • Context Menu: Select code, Right-click > FlowCraft: Generate...
  • Command Palette: Ctrl+Shift+P (or Cmd+Shift+P) > type FlowCraft
  • Sidebar UI: Use the visual "Create Diagram" interface to select type, complexity, and style.

Configuration

Open the FlowCraft Settings sidebar panel to configure:

  • Providers & keys — paste API keys for each provider; stored in vscode.secrets.
  • Default provider — which provider generation commands use by default.
  • Per-provider model — pick the LLM for each provider (e.g. Opus 4 for Anthropic, gpt-4o-mini for OpenAI). Leave on default (server) to use FlowCraft's recommended model.
  • Defaults — diagram type, color palette, complexity.

Or access VS Code's settings (Cmd+, / Ctrl+,) and search for FlowCraft for the underlying keys.

✨ FlowCraft Premium

Diagram generation is always free and BYOK — you bring your own provider key and FlowCraft never charges for or routes your generations. Premium is an optional account-level upgrade that unlocks convenience features on top:

Free Premium
AI diagram generation (BYOK) ✓ Unlimited ✓ Unlimited
Mermaid, infographics & illustrations ✓ ✓
In-editor preview + SVG / PNG / PDF export ✓ ✓
Cloud history sync (diagrams on the web + across machines) — ✓
Premium templates (curated, ready-to-edit library) — ✓
Advanced exports (hi-res PNG 3×/4×, data-URI, Markdown bundle, batch export) — ✓

Sign in from the FlowCraft sidebar to manage your plan. See pricing at flowcraft.app/dashboard/pricing.

Contributing & Support

We love feedback!

  • Report Issues: GitHub Issues
  • Feature Requests: Submit a request on our repo.

Built with ❤️ for developers who love visual documentation.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft