Documentation

Learn how to create professional infrastructure diagrams with Infragram's AI-powered platform.

Getting Started

Creating your first infrastructure diagram takes just a few steps:

  1. Create an account - Sign up with your email address
  2. Describe your infrastructure - Write a plain English description of your architecture
  3. Generate - Click the generate button and let AI create your diagram
  4. Refine - Regenerate with updated prompts if needed
  5. Export - Download in your preferred format

Tip: Start with a simple description and add details in subsequent iterations. The AI works best with clear, structured prompts.

Writing Effective Prompts

The quality of your diagram depends on how well you describe your architecture. Here are some best practices:

Be Specific About Components

Instead of generic terms, use specific service names:

Bad:  "A web app with a database"
Good: "A React frontend on S3 with CloudFront, Node.js API on ECS Fargate, PostgreSQL on RDS"

Describe Connections

Explain how components communicate:

"The frontend calls the API through an Application Load Balancer.
The API connects to the database on port 5432 and uses Redis for session caching."

Include Infrastructure Details

Mention networking, security, and scaling requirements:

"Deploy in a VPC with public and private subnets across 2 availability zones.
Place the ALB in public subnets, API servers in private subnets.
Use NAT Gateway for outbound internet access."

Example Prompts

Microservices

API Gateway routing to 3 services (users, orders, inventory), each with its own database, connected via SQS

Serverless

Lambda functions triggered by API Gateway and S3 events, storing data in DynamoDB, logs in CloudWatch

Kubernetes

EKS cluster with ingress controller, 3 deployments, horizontal pod autoscaler, connected to RDS and ElastiCache

Data Pipeline

Kinesis streams ingesting data, processed by Lambda, stored in S3, queried with Athena, visualized in QuickSight

Supported Cloud Providers

Infragram includes icons and components for major cloud providers:

Export Options

Export your diagrams in multiple formats:

Version History

Pro users can track changes to their diagrams over time:

API Reference

Integrate Infragram into your workflows with our REST API (Pro and Team plans).

Authentication

curl -H "Authorization: Bearer YOUR_API_KEY" \
     https://api.infragram.io/v1/diagrams

Create a Diagram

POST /v1/diagrams
Content-Type: application/json

{
  "title": "My Architecture",
  "prompt": "A serverless API with Lambda, API Gateway, and DynamoDB"
}

Get Diagram Status

GET /v1/diagrams/{id}

Response:
{
  "id": "abc123",
  "status": "completed",
  "result_svg": "..."
}

Frequently Asked Questions

How many diagrams can I create?

Free accounts can create 1 diagram. Pro accounts can create up to 5 diagrams with version history. Team accounts have unlimited diagrams.

What counts as an AI credit?

Each diagram generation or regeneration uses 1 AI credit. Credits reset monthly based on your plan.

Can I edit the generated diagrams?

Currently, you can regenerate diagrams with updated prompts. Direct visual editing is on our roadmap.

Are my diagrams private?

Yes, all diagrams are private by default. You can optionally make individual diagrams public to share with others.

What happens if I downgrade my plan?

Your existing diagrams remain accessible in read-only mode, but you won't be able to create new ones beyond your new plan's limit.