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

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.

HTML/CSS to ImageInstant · No API key

Grok Bot runs HTML/CSS to Image through Composio, and the cost comes out of your free $2.

  • An image from your HTML and CSS$0.014
  • A screenshot of a web page$0.014
  • Up to 25 images in one request$0.014

$2 ≈ 140 images or 140 screenshots

Composio Instant

What you can do with your free $2

What your free $2 gets you with HTML/CSS to Image
When you ask Grok Bot forGrok Bot uses this toolCostWhat $2 gets you
An image from your HTML and CSSCreate Image$0.014 per imageAbout 140 images
A screenshot of a web pageCreate Image$0.014 per screenshotAbout 140 screenshots
Up to 25 images in one requestCreate Images Batch$0.014 per imageAbout 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.

How it works

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:

  • Bring your own key

    You bring your own HTML/CSS to Image API key, set it up, and use it.

  • Use the Composio wallet

    Instant

    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 Instant tools in the Composio docs for the setup steps and code examples.

Get started

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

  1. Turn on Instant

    Open your Composio wallet and turn on Instant. Your free $2 shows up there.

  2. Add Composio to Grok Bot

    Follow the setup below. You only do this once.

  3. Ask Grok Bot for something

    Try a HTML/CSS to Image prompt. The cost comes out of your $2.

Setup

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 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

Composio for Grok Bot listing on x.ai with the Add to Grok Bot button

Grok Bot opens the Composio plugin, showing its connector and skills. Click Add.

Composio plugin sheet in Grok Bot with the Add button

2. Authenticate

Go to the Installed section and click the Composio entry. You'll see its connector and skills listed.

Installed Composio plugin showing the Authenticate button

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.

Composio authorization screen with Authorize and Deny

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.

Try it

Ask Grok Bot for something with HTML/CSS to Image

Start a new chat and try this prompt:

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.

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:

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. After that, Composio uses your key first and doesn't charge Instant for those calls.

Starter prompts

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.

    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.

    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.

    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 it can do

What Grok Bot can do with HTML/CSS to Image

Works without a key

  • An image from your HTML and CSS
  • A screenshot of a web page
  • Up to 25 images in one request

Needs your own HTML/CSS to Image key

  • Create Image from Template
  • Create Template
  • Delete Image
  • Delete Images Batch
  • Get or Transform Image
  • Get Usage
  • List Templates
  • Update Template
Tools and prices

Supported tools (10)

HTML/CSS to Image tools and their Instant prices
ToolWhat it doesWorks without a keyCost on Instant
Create ImageCreate 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 BatchCreate 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 TemplateCreate an image from a reusable template using the latest version or an explicitly selected version.Needs your own keyBilled to your own HTML/CSS to Image key
Create TemplateCreate a reusable Handlebars HTML/CSS image template.Needs your own keyBilled to your own HTML/CSS to Image key
Delete ImagePermanently delete one generated image and clear its HCTI CDN cache.Needs your own keyBilled to your own HTML/CSS to Image key
Delete Images BatchPermanently delete multiple generated images and clear their HCTI CDN caches.Needs your own keyBilled to your own HTML/CSS to Image key
Get or Transform ImageDownload a generated image by ID, optionally converting its format, resizing it, or cropping it.Needs your own keyBilled to your own HTML/CSS to Image key
Get UsageReturn recent hourly, daily, monthly, and billing-period image usage for the connected account.Needs your own keyBilled to your own HTML/CSS to Image key
List TemplatesList reusable image templates owned by the connected account, including their current version, source, and render settings.Needs your own keyBilled to your own HTML/CSS to Image key
Update TemplateCreate a new version of an existing template using replacement Handlebars HTML and optional CSS or render settings.Needs your own keyBilled to your own HTML/CSS to Image key
Pricing

How you pay for HTML/CSS to Image

  • Your first $2 is freeIt's added to your Composio wallet when you turn on Instant.
  • You pay for each callYou pay HTML/CSS to Image's price with 0% markup, plus the regular Composio tool call charge.
  • Your own key comes firstIf you connect your own HTML/CSS to Image key, Composio uses it and doesn't charge Instant for those calls.
  • You control the costYou 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 callYour wallet shows each call and what it cost.
  • When your balance runs outYou can add funds to your wallet on a Pro plan or connect your own key.
Help

Troubleshooting

  1. 1. 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.

  2. 2. 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.

  3. 3. 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.

FAQ

Frequently asked questions

Start with HTML/CSS to Image.It takes 30 seconds.

New accounts get a one-time $2 starter credit for Instant calls.Run HTML/CSS to Image from your agent with no HTML/CSS to Image key.

Get $2 starter credit