# How to connect HTML/CSS to Image to Grok Bot in 2 mins: No API key needed

```json
{
  "title": "How to connect HTML/CSS to Image to Grok Bot in 2 mins: No API key needed",
  "toolkit": "HTML/CSS to Image",
  "toolkit_slug": "htmlcss_to_image",
  "framework": "Grok Bot",
  "framework_slug": "grok-bot",
  "url": "https://composio.dev/toolkits/htmlcss_to_image/framework/grok-bot",
  "markdown_url": "https://composio.dev/toolkits/htmlcss_to_image/framework/grok-bot.md",
  "updated_at": "2026-11-26T17:34:28.643Z"
}
```

You can keep a daily screenshot log of a web page, get a quote card to post every morning and check your key pages every week from Grok Bot. Composio runs each call on its own HTML/CSS to Image account, so you don't need a HTML/CSS to Image API key, and your first $2 is free.

## What you can do with your free $2

| When you ask Grok Bot for | Grok Bot uses this tool | Cost | What $2 gets you |
| --- | --- | --- | --- |
| An image from your HTML and CSS | Create Image | $0.014 per image rendered; cached renders may be free. | About 140 images |
| A screenshot of a web page | Create Image | $0.014 per image rendered; cached renders may be free. | About 140 screenshots |
| Up to 25 images in one request | Create Images Batch | $0.014 per image rendered; cached renders may be free. | About 140 images |

You pay HTML/CSS to Image's price for each call with 0% markup, plus the regular Composio tool call charge. There's no HTML/CSS to Image subscription, and you only pay for what you use.

2 of 10 HTML/CSS to Image tools work without a key. For Create Image from Template, Create Template, Delete Image, Delete Images Batch, Get or Transform Image, Get Usage and 2 more, connect your own HTML/CSS to Image key.

Read how Instant works: https://composio.dev/instant

## How to connect HTML/CSS to Image to Grok Bot

Composio adds HTML/CSS to Image to Grok Bot as an Instant toolkit. You connect Composio to Grok Bot once, and then Grok Bot can use HTML/CSS to Image right away. There are two ways to do this:

1. **Bring your own key.** You bring your own HTML/CSS to Image API key, set it up, and use it.
2. **Use the Composio wallet.** Composio runs each call on its own HTML/CSS to Image account, so you don't have to set anything up at HTML/CSS to Image, and your first $2 is free.

You do the setup one time and it takes about a minute.

If you build HTML/CSS to Image into your own product, turn on Instant toolkits in your project settings so your agent can call HTML/CSS to Image for each of your users without a HTML/CSS to Image API key, and read the Instant tools docs for the setup steps and code examples: https://docs.composio.dev/docs/instant-tools

## Start to use HTML/CSS to Image in Grok Bot in 3 steps

### 1. Turn on Instant

Open your Composio wallet (https://dashboard.composio.dev/~/~/connect/team/budget) and turn on Instant. Your free $2 shows up there.

### 2. Add Composio to Grok Bot

### Connecting HTML/CSS to Image to Grok Bot
Once Grok Bot is set up, you connect HTML/CSS to Image entirely from its interface, and the whole flow takes under a minute.
### Set up Grok Bot
Get access. Grok Bot is included with Cursor Ultra, Cursor Premium Teams, and SuperGrok Heavy. Get the desktop app for macOS or Windows from [x.ai/bot](https://x.ai/bot) and sign in. An iPhone companion app is also available, and your bots sync across devices.
Create a bot. Pick a suggested role or define your own, then give it a short name, one primary job, and a short description of how it should work. Focused bots work best, because a clear role gives the bot more useful context over time.
### Connect HTML/CSS to Image
### 1. Add the Composio plugin
Click the button. The Composio listing on x.ai opens and launches Grok Bot for you. If the app does not open on its own, click Add to Grok Bot.
[Add to Grok Bot](https://x.ai/bot/plugin/32661537)
Grok Bot opens the Composio plugin, showing its connector and skills. Click Add.
### 2. Authenticate
Go to the Installed section and click the Composio entry. You'll see its connector and skills listed.
Click Authenticate. You'll be taken to the Composio consent screen. Review the access it requests and click Authorize. Composio handles the OAuth handshake for you, so you never touch API keys or tokens.
### 3. Connect your HTML/CSS to Image account
Back in the chat, ask your bot to connect to HTML/CSS to Image or give it any HTML/CSS to Image task.
For example, ask it to:
- "Render invoice HTML to PDF"
- "Create social image from template"
- "Screenshot public landing page hero"
It will prompt you to authenticate and authorize access.
That's it. Composio's tools are now available in your Grok bot, and your HTML/CSS to Image account is ready to use.

### 3. Ask Grok Bot for something with HTML/CSS to Image

Start a new chat and try this prompt:

```text
Every morning at 9, take a full-page screenshot of [URL, like a competitor's pricing page]. Message me the image link, keep a dated list of all the links, and tell me if the page looks different from yesterday's screenshot.
```

Grok Bot runs it on Instant and shows you the result. It doesn't ask you for a HTML/CSS to Image key, and the cost comes out of your $2. You can see each call in your wallet.

### 4. Optional: connect your own HTML/CSS to Image key

If you want Create Image from Template, Create Template, Delete Image, Delete Images Batch, Get or Transform Image, Get Usage and 2 more, you need your own key. Ask Grok Bot to connect your HTML/CSS to Image account, and it gives you a Composio link:

```text
Connect my HTML/CSS to Image account using Composio.
```

Open the link, paste your HTML/CSS to Image API key and click Connect Account. You can get a key from [HTML/CSS to Image API keys page](https://htmlcsstoimage.com/dashboard/api-keys). After that, Composio uses your key first and doesn't charge Instant for those calls.

## Use your first $2: copy a prompt into Grok Bot

Each prompt runs on Instant, and the cost next to it is about what it takes from your $2.

### Keep a daily screenshot log of a web page (About $0.01 per run)

Screenshots a page every morning, keeps a dated list of the images and tells you when it looks different.

```text
Every morning at 9, take a full-page screenshot of [URL, like a competitor's pricing page]. Message me the image link, keep a dated list of all the links, and tell me if the page looks different from yesterday's screenshot.
```

### Get a quote card to post every morning (About $0.01 per run)

Picks an unused quote from your list each morning and renders it as a card in your style.

```text
Here are my quotes: [paste list]. Every morning at 8, pick one you haven't used yet and render it as a 1080 x 1080 card: the quote in large serif text on a [color] background with [your name or brand] at the bottom. Message me the image link.
```

### Check your key pages every week (About $0.08 per run)

Screenshots your main pages at desktop and phone width each week and flags any that look broken.

```text
Every Monday at 8, screenshot these pages of my site at desktop width and at 390 px wide: [up to 3 URLs]. Message me the image links and flag any page that came out blank, shows an error or looks different from last week.
```

## What Grok Bot can do with HTML/CSS to Image

- An image from your HTML and CSS, without a key
- A screenshot of a web page, without a key
- Up to 25 images in one request, without a key
- Create Image from Template, Create Template, Delete Image, Delete Images Batch, Get or Transform Image, Get Usage and 2 more, when you connect your own HTML/CSS to Image key

## Supported tools (10)

| Tool | ID | What it does | Works without a key | Cost on Instant |
| --- | --- | --- | --- | --- |
| Create Image | `HTMLCSS_TO_IMAGE_CREATE_IMAGE` | Create a hosted image from HTML/CSS or an internet-reachable webpage, including authenticated pages using request headers. | Yes | $0.014 per image rendered |
| Create Images Batch | `HTMLCSS_TO_IMAGE_CREATE_IMAGES_BATCH` | Create 1 to 25 hosted images from HTML/CSS or internet-reachable webpages in one request, including authenticated pages using shared or per-image headers. | Yes | $0.014 per image rendered |
| Create Image from Template | `HTMLCSS_TO_IMAGE_CREATE_IMAGE_FROM_TEMPLATE` | Create an image from a reusable template using the latest version or an explicitly selected version. | Needs your own key | Billed to your own HTML/CSS to Image key |
| Create Template | `HTMLCSS_TO_IMAGE_CREATE_TEMPLATE` | Create a reusable Handlebars HTML/CSS image template. | Needs your own key | Billed to your own HTML/CSS to Image key |
| Delete Image | `HTMLCSS_TO_IMAGE_DELETE_IMAGE` | Permanently delete one generated image and clear its HCTI CDN cache. | Needs your own key | Billed to your own HTML/CSS to Image key |
| Delete Images Batch | `HTMLCSS_TO_IMAGE_DELETE_IMAGES_BATCH` | Permanently delete multiple generated images and clear their HCTI CDN caches. | Needs your own key | Billed to your own HTML/CSS to Image key |
| Get or Transform Image | `HTMLCSS_TO_IMAGE_GET_IMAGE` | Download a generated image by ID, optionally converting its format, resizing it, or cropping it. | Needs your own key | Billed to your own HTML/CSS to Image key |
| Get Usage | `HTMLCSS_TO_IMAGE_GET_USAGE` | Return recent hourly, daily, monthly, and billing-period image usage for the connected account. | Needs your own key | Billed to your own HTML/CSS to Image key |
| List Templates | `HTMLCSS_TO_IMAGE_LIST_TEMPLATES` | List reusable image templates owned by the connected account, including their current version, source, and render settings. | Needs your own key | Billed to your own HTML/CSS to Image key |
| Update Template | `HTMLCSS_TO_IMAGE_UPDATE_TEMPLATE` | Create a new version of an existing template using replacement Handlebars HTML and optional CSS or render settings. | Needs your own key | Billed to your own HTML/CSS to Image key |

## How you pay for HTML/CSS to Image

- **Your first $2 is free.** It's added to your Composio wallet when you turn on Instant.
- **You pay for each call.** You pay HTML/CSS to Image's price with 0% markup, plus the regular Composio tool call charge.
- **Your own key comes first.** If you connect your own HTML/CSS to Image key, Composio uses it and doesn't charge Instant for those calls.
- **You control the cost.** You can ask your agent to check with you before each paid call, and you can turn Instant off at any time.
- **You can see each call.** Your wallet shows each call and what it cost.
- **When your balance runs out,** you can add funds to your wallet on a Pro plan or connect your own key.

Open your Composio wallet: https://dashboard.composio.dev/~/~/connect/team/budget

## Troubleshooting

### Grok Bot asks me for a HTML/CSS to Image API key

You may have asked for something that needs your own key, like Create Image from Template, Create Template, Delete Image, Delete Images Batch, Get or Transform Image, Get Usage and 2 more. Those tools don't run on Instant. For everything else, check that Instant is turned on in your Composio wallet, then ask again.

### I can't see my free $2

Open your wallet in the Composio dashboard and check that Instant is turned on. If the $2 still isn't there, email support@composio.dev from the address you signed up with.

### A HTML/CSS to Image call failed with a balance error

Your balance is empty. Add funds to your wallet on a Pro plan, or connect your own HTML/CSS to Image key, then try again.

## How to build HTML/CSS to Image MCP Agent with another framework

None listed.

## Related Toolkits

- [Figma](https://composio.dev/toolkits/figma) - Figma is a collaborative interface design tool for teams and individuals. It streamlines design workflows with real-time collaboration and easy sharing.
- [Alttext ai](https://composio.dev/toolkits/alttext_ai) - AltText.ai is a service that generates alt text for images automatically. It helps boost accessibility and SEO for your visual content.
- [Are.na](https://composio.dev/toolkits/arena) - Are.na is a creative research platform for collecting images, links, notes, and ideas in channels. Use it to organize inspiration, build knowledge maps, and connect research across projects.
- [Bannerbear](https://composio.dev/toolkits/bannerbear) - Bannerbear is an API-driven platform for generating images and videos automatically at scale. It helps businesses create custom graphics, social visuals, and marketing assets using powerful templates.
- [Bannerbite](https://composio.dev/toolkits/bannerbite) - Bannerbite is a creative automation platform for generating images and videos from reusable projects and templates. It helps teams produce on-brand visual assets faster without rebuilding designs from scratch.
- [BeatAPI](https://composio.dev/toolkits/beatapi) - BeatAPI is an asynchronous API platform for AI image, video, and music workflows. It enables scalable generation, video analysis, uploads, and ecommerce video pipelines.
- [Builder.io](https://composio.dev/toolkits/builder_io) - Builder.io is a visual development platform for managing content, models, assets, and Space configuration. Use it to ship editable digital experiences faster without waiting on every code change.
- [Canva](https://composio.dev/toolkits/canva) - Canva is a drag-and-drop design suite for creating professional graphics, presentations, and marketing materials. It makes it easy for anyone to design with beautiful templates and a vast library of elements.
- [Canva MCP](https://composio.dev/toolkits/canva_mcp) - Canva MCP is Canva's remote MCP server for accessing designs and content. It centralizes design assets and enables programmatic design workflows.
- [Cloudinary](https://composio.dev/toolkits/cloudinary) - Cloudinary is a cloud-based platform for managing, uploading, and transforming images and videos. It streamlines media workflows and delivers optimized assets globally.
- [Clueso MCP](https://composio.dev/toolkits/clueso_mcp) - Clueso is a product video and documentation platform for creating polished visual content. It brings video editing, voiceovers, captions, animations, and exports into one hosted workspace.
- [Contentdrips](https://composio.dev/toolkits/contentdrips) - Contentdrips is an asynchronous rendering API for branded graphics and carousels. It turns reusable templates into on-brand social visuals at scale.
- [Creatomate](https://composio.dev/toolkits/creatomate) - Creatomate is an API for generating automated videos, images, GIFs, and reusable media templates. Use it to turn structured data into polished visual content at scale.
- [Creatomate MCP](https://composio.dev/toolkits/creatomate_mcp) - Creatomate is a hosted video and image generation platform for creating dynamic media from reusable templates. It helps teams automate branded content production without building a rendering pipeline.
- [Cults](https://composio.dev/toolkits/cults) - Cults is a digital marketplace for 3D printing models, connecting designers and makers. It lets creators share, sell, and discover a huge variety of printable designs easily.
- [DeepImage](https://composio.dev/toolkits/deepimage) - DeepImage is an AI-powered image enhancer and upscaler. Get higher-quality images with just a few clicks.
- [Details MCP](https://composio.dev/toolkits/details_mcp) - Details MCP is a curated library of web design references and paste-ready Vault code. It helps teams quickly find polished transitions, buttons, and page sections.
- [Dreamstudio](https://composio.dev/toolkits/dreamstudio) - DreamStudio is Stability AI’s platform for generating and editing images with AI. It lets you easily turn ideas into stunning visuals, fast.
- [Dribbble](https://composio.dev/toolkits/dribbble) - Dribbble is a design community and publishing platform for managing shots, projects, and attachments. Use it to showcase work, collect feedback, and organize creative designs.
- [Duply](https://composio.dev/toolkits/duply) - Duply is a template management and media rendering service for images and videos. Its REST v2 API makes asynchronous, scalable content generation straightforward.

## Frequently Asked Questions

### Do I need a HTML/CSS to Image account or API key?

Not for the 2 tools that run on Instant. Composio runs those calls on its own HTML/CSS to Image account, and you only add Composio to your agent. The other 8 tools need your own HTML/CSS to Image key.

### Is the $2 really free?

Yes. Every Composio account gets $2 of Instant credit once you turn on Instant, and you can use it on HTML/CSS to Image or on any other Instant toolkit.

### How much can I do with $2?

You can get about 140 images, about 140 screenshots or about 140 images. The price list on this page shows the cost of each tool.

### What happens when I use all of my $2?

Instant calls stop. You can add funds to your wallet on a Pro plan, or connect your own HTML/CSS to Image key.

### Does it cost more than HTML/CSS to Image directly?

You pay HTML/CSS to Image's price for each call with 0% markup, plus the regular Composio tool call charge.

### Can I use my own HTML/CSS to Image key?

Yes. Connect your key from the HTML/CSS to Image toolkit in your Composio dashboard. Composio always uses your own connection first, and it doesn't charge Instant for those calls.

### Which HTML/CSS to Image tools can I use without a key?

You can use 2 of the 10 tools without a key, including Create Image and Create Images Batch. The other 8 tools need your own HTML/CSS to Image key.

### Is my data safe?

Composio is SOC 2 Type II compliant.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
