--- name: html-css-to-image description: HTML/CSS to Image is a developer tool and API that converts HTML and CSS into generated images, allowing teams to automate screenshot creation, social preview generation, and visual asset rendering from web content in applications, workflows, and backend services. Read and write HTML/CSS to Image data through One: image, images, templateversions, template, imagebatch, storeimage and more, 15 actions with real parameter documentation. Use whenever the user asks to look something up in HTML/CSS to Image, create or update a record there, or build code against the HTML/CSS to Image API. license: One-Knowledge-1.0 (https://www.withone.ai/licenses/knowledge) metadata: author: one-systems attribution: Integration knowledge by One (withone.ai) platform: html-css-to-image generated-from: one-knowledge-base --- # HTML/CSS to Image through One HTML/CSS to Image is a developer tool and API that converts HTML and CSS into generated images, allowing teams to automate screenshot creation, social preview generation, and visual asset rendering from web content in applications, workflows, and backend services. One exposes HTML/CSS to Image through four MCP tools. The table below carries real action ids from One's knowledge base, so for a common operation you can skip search and go straight to reading the action's parameters. ## How to run an action 1. Find the action in the table below, or call `search_one_platform_actions` with platform `html-css-to-image` if it is not listed. 2. Call `get_one_action_knowledge` with the action id. Do this every time, including for actions in this table. The table gives you the id, not the parameters. 3. Call `execute_one_action` with parameters copied from that knowledge. Never guess a parameter name, a body field, or an enum value. The knowledge has the real schema, and a guessed field is either a 400 or a silent write of the wrong thing. ## Before you start Call `list_one_integrations` once and confirm HTML/CSS to Image is connected. If it is missing, the user has not connected it: say so and point them at https://app.withone.ai rather than reaching for raw HTTP. Each connection carries an `access` field. If it reports `{"policy": "methods", "methods": ["GET"]}` the agent is read-only here, so plan a read-only answer instead of attempting a write that will be refused. ## Before a write Creates, updates, deletes and sends land on a real HTML/CSS to Image account and cannot be recalled. State the action and the specific target in one line before the first write in a task, and let the user stop you. Reads need no confirmation. ## Actions ### Image | Action | Method | Path | Action id | |---|---|---|---| | Create and Render an Image Using Image | GET | `/v1/image/create-and-render/{{apiId}}/{{token}}/{{format}}` | `conn_mod_def::GMZh8tJvKog::9SK187OUTr6LzuIZpgzNSQ` | | Render an Image | GET | `/v1/image/{{id}}` | `conn_mod_def::GMZh84oDPqA::wvq8dwZEQp2X0sSHVhsgYw` | | Render an Image in a Specific Format | GET | `/v1/image/{{id}}.{{format}}` | `conn_mod_def::GMZh829qMXA::Phm6EVKHQP-iREg3Kd4C6g` | | Create Image | POST | `/v1/image` | `conn_mod_def::GMZh8oq2DTg::zBpqfuntSwCfu2ej3shN_w` | | Delete an Image | DELETE | `/v1/image/{{id}}` | `conn_mod_def::GMZh8qQxoGA::xR6vngIURISresirLlU9Pw` | ### Images | Action | Method | Path | Action id | |---|---|---|---| | List Created Images | GET | `/v1/images` | `conn_mod_def::GMZh81IyhJA::_QDoCUI2QDWp6puVK_6PCQ` | | Delete a Batch of Images | DELETE | `/v1/image/batch` | `conn_mod_def::GMZh8qiXNNA::qsixoU27Rk2SkdjErYZmyQ` | | Store an Image | PUT | `/v1/store/{{id}}` | `conn_mod_def::GMZh81nX5mg::2-z9dVfPTF6ojcRy395krQ` | ### TemplateVersions | Action | Method | Path | Action id | |---|---|---|---| | List Template Versions for a Template | GET | `/v1/template/{{id}}` | `conn_mod_def::GMZh8_w0ZiA::ouDs7h4kTqSuP9hCSq5BFg` | | Create a New Version for an Existing Template | POST | `/v1/template/{{id}}` | `conn_mod_def::GMZh8_vg4zg::U2sq_ouvT8CXZZq1-7Z3Ig` | ### Template | Action | Method | Path | Action id | |---|---|---|---| | Create a New Template | POST | `/v1/template` | `conn_mod_def::GMZh8_v9YDA::xanFHywYR4ui8T5n4M9bDg` | | Remove a Template | DELETE | `/v1/template/{{id}}` | `conn_mod_def::GMZh8_wb_CA::IrMTzGo4TvSGksl9AyfGZQ` | ### ImageBatch | Action | Method | Path | Action id | |---|---|---|---| | Create Image Batch | POST | `/v1/image/batch` | `conn_mod_def::GMZh8orGBxA::aIJFBAVtQI6dSTldzz3SiA` | ### StoreImage | Action | Method | Path | Action id | |---|---|---|---| | Store an Image in a Specific Format | PUT | `/v1/store/{{id}}.{{format}}` | `conn_mod_def::GMZh83ko-YA::Qii5maF-SNKrRKVBxgd2tA` | ### Templates | Action | Method | Path | Action id | |---|---|---|---| | List Templates | GET | `/v1/template` | `conn_mod_def::GMZh9B1sr8g::ePgpqjAFTLqEm5jUgkTBQA` | ## When a call fails The error comes from HTML/CSS to Image, not from One. A 400 or 422 means your parameters do not match the schema, so re-read the knowledge and fix the field. A 401 or 403 means the connection needs re-authorizing, which no retry will fix. A 404 means the id is not on this account. A 429 means slow down. Never retry a write more than once: the first attempt may have landed. Full catalog: https://www.withone.ai/knowledge/html-css-to-image Integration knowledge by One (withone.ai), licensed under [One-Knowledge-1.0](https://www.withone.ai/licenses/knowledge). Attribution must be preserved in derivative works.