From HTML to image, in seconds.
Converts HTML/CSS to images for visual creatives and social media posts, generated directly in chat by the agent.
Try it nowCreating a visual creative usually means opening a separate design editor. With SquadOS's HTML to Image tool, the agent generates the HTML/CSS for the creative and converts it to an image — all inside the chat itself, without leaving the workflow. The result can be delivered directly to the user or used in other steps by the agent.
Formats: webp, png, and jpeg
Choose the output format — webp for smaller file size, png for lossless quality, jpeg for broad compatibility. Configurable per agent.
Customizable dimensions (width and height in px)
Set width and height in pixels for each creative. Per-agent defaults are configurable so the agent always uses the right size for the channel.
Full HTML + CSS as input
The tool accepts full HTML with inline or <head>-embedded styles. The agent generates the HTML/CSS and sends it directly to be rendered.
Per-agent configurable defaults
Set default format, width, and height in the agent settings so each generation doesn't need to specify these parameters from scratch.
How it works
The agent generates the HTML/CSS, the tool renders it — and the image is delivered directly in the conversation.
The user asks the agent for a creative
Example: "Create a Black Friday promotional banner at 1080×1080px in webp format."
The agent generates the HTML/CSS for the creative
The agent writes the HTML and CSS with the requested content and calls the HTML to Image tool with the parameters: html, width, height, and format.
The image is rendered and delivered in the conversation
The tool converts the HTML/CSS into an image in the specified format and size and returns the result directly in the conversation — ready to download or send.
Frequently asked questions
-
What output formats are supported?
The tool supports webp, png, and jpeg. You can set the default in the agent settings or specify it per call.
-
Can I set a fixed size for all creatives from this agent?
Yes. In the agent settings, you define the default width, height, and format for the HTML to Image tool. The agent uses those values when there's no explicit specification in the request.
-
Does the agent need a special prompt to generate creatives?
Not necessarily. Just enable the HTML to Image tool on the agent and describe in the prompt that it should generate visual creatives in HTML. AgentMaker can do this for you automatically.
-
Does external CSS (via link or @import) work?
The tool processes full HTML with inline or <head>-embedded styles. For maximum compatibility, prefer inline or embedded styles — external dependencies may not load in the rendering environment.
Related features
AgentMaker
Say what the agent needs to do and AgentMaker sets everything up: prompt, model, tools, knowledge base, and channels. No AI expertise required.
External Integrations
Connect your agent to official or QR-based WhatsApp, Instagram, Telegram, website widget, and 100+ online services in a few clicks.
Generate creatives directly in chat
Your agent creates, renders, and delivers the image — no editor to open.
Start for freewebp · png · jpeg. Customizable dimensions.