Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

HTML/CSS to Image Image Generation API

The Image Generation API from HTML/CSS to Image — 5 operation(s) for image generation.

HTML/CSS to Image Image Generation API is one of 3 APIs that HTML/CSS to Image publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Image Generation. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 7 operations across 5 paths, and defines 5 schemas. It is described by OpenAPI 3.0.1, at version 1.0.

Requests are made against a single base URL, https://hcti.io/v1.

7 operations 5 paths 5 schemas 2 DELETE3 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
1.0
Base URL
https://hcti.io/v1
Authentication
HTTP Basic
Terms of Service
Resource Areas
1

Authentication & Security 1

HTML/CSS to Image Image Generation API declares 1 security scheme for authenticating requests. It accepts HTTP basic authentication (basicAuth). By default, every request must be authenticated.

  • basicAuth — HTTP Basic authentication using your User ID as the username and your API Key as the password, both from the HTML/CSS to Image dashboard.

Paths & Operations 7

Across 5 paths, the API surfaces 7 operations — 2 DELETE, 3 GET, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Image Generation 7
POST
/image
Create an image from HTML/CSS or a URL.
createImage body → 200401422
POST
/image/batch
Create multiple images in a single request.
createImageBatch body → 200401
DELETE
/image/batch
Delete multiple images in a single request.
deleteImageBatch body → 202401
GET
/image/{image_id}
Retrieve a rendered image.
getImage 8 params → 200404
DELETE
/image/{image_id}
Delete an image.
deleteImage 1 param → 202401
GET
/images
List images.
listImages 2 params → 200401
GET
/usage
Check account usage.
getUsage → 200401

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are CreateImageRequest (20 properties), Usage (4 properties), CreateImageBatchRequest (2 properties), Image (2 properties). Each schema is shown below with its type and property counts.

ImageList
object
2 properties
Image
object
2 properties
CreateImageRequest
object
One of html or url is required (not both).
20 properties
Usage
object
4 properties
CreateImageBatchRequest
object
2 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

htmlcsstoimage-image-generation-api-openapi.yml Raw ↑

Other APIs HTML/CSS to Image publishes across the network.

HTML/CSS to Image Signed URLs API
HTML/CSS to Image Templates API