Image generation API for developers

Generate images
from HTML + CSS

Turn HTML into high-quality images with a single API call. Output WebP, JPEG or PNG for share posters, product covers, article covers, marketing banners and more.

100 free credits on sign-up · Pay as you go

HTML → PNG
template
1 API call
<div class="card">
  <div class="badge">SALE</div>
  <h1 class="title">Summer Refresh</h1>
  <p class="subtitle">Top picks up to 50% off</p>
  <img src="{{image}}" />
  <div class="price">
    <span class="current">¥49</span>
    <span class="original">¥99</span>
  </div>
</div>
Rendered summer sale product image

Use cases

Generate every image automatically

Templates keep the visuals consistent. Pass in changing data and get matching images in seconds, without reopening a design tool to export.

E-commerce product images example
E-commerce product images · Batch-generate consistent product shots, promo images and price cards from product data, with no more manual exports.

Features

Control every detail with HTML + CSS

From a single API call to complex custom templates, imgrender covers every image generation scenario you need.

Fully customizable

Control layout, colors, spacing and styles. Use any Tailwind class or inline style to produce on-brand images.

Rich font support

10+ built-in fonts free for commercial use, plus custom fonts. Chinese, English, Japanese, Korean and emoji render out of the box.

High performance

P99 latency under 1s. No headless browser involved, so there is far more headroom.

Multiple output formats

Export PNG, JPEG or WebP with custom resolution and quality to match every platform's requirements.

Pricing

Simple, transparent pricing

Try it free, pay as you go

Free

¥0

For individual developers and small projects to try things out.

Start for free
  • 100 credits on sign-up
  • PNG / JPEG / WebP output
  • Standard rendering speed
  • Community support
Most popular

Pro

¥0.005/ credit

Pay as you go. No subscription, stop any time.

Upgrade now
  • Credit-based billing, 1 credit per request
  • PNG / JPEG / WebP output
  • Priority rendering queue
  • Custom font URLs
  • Email support

Enterprise

Self-hosted

For large-scale, high-concurrency and custom requirements.

Contact sales
  • Private deployment
  • Unlimited requests
  • All features
  • Dedicated account manager
  • Custom contract

FAQ

You might be wondering

Common questions about the imgrender image API. See the docs for more technical details.

What does the free plan include?+

You get 100 credits on sign-up. Each image request uses 1 credit, and every feature is available.

Which programming languages can I use with imgrender?+

Any language that can make HTTP requests, such as Python, JavaScript, PHP, Java, C#, Go, Ruby and Swift.

Can I use it in Dify?+

Yes. Dify's HTTP Request node can call the imgrender API directly. See https://docs.dify.ai/en/cloud/use-dify/nodes/http-request

Can I use it in n8n?+

Yes. n8n's HTTP Request node can call the imgrender API directly. See https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.httprequest

Get started for free

100 free credits on sign-up
Integrate in 5 minutes and stay focused on your product

Thousands of developers already use imgrender