---
title: "Smilestoimage Aligned"
method: GET
path: "/smilesToImage_aligned"
---

# Smilestoimage Aligned

`GET /smilesToImage_aligned`

Utility endpoint for generating images in the frontend.

Parameters:

- **smiles**: SMILES string of structure from which to generate an image
- **pattern**: SMILES string of pattern to which we want to align the molecule image generated from **smiles** input
- **x**: integer width of image
- **y**: integer height of image

## Query parameters

- `smiles` string, required
- `pattern` unknown, required
- `x` integer, required
- `y` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/merck/apis/matcher-backend.md) · [All operations](https://skmtc.dev/merck/apis/matcher-backend/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/merck/matcher-backend/revisions/59028f512f31/schema)
