v1

latestOpenAPI 3.0.22026-07-17171545.4 KB

Smilestoimage

Utility endpoint for generating images in the frontend.

Parameters:

  • smiles: SMILES string of structure from which to generate an image
  • x: integer width of image
  • y: integer height of image
  • scaleImage: boolean controlling whether we scale the size of the image based on how large the molecule is
get/smilesToImage

Query parameters

smilesstring required
xinteger required
yinteger required
scaleImageboolean

Response

Successful Response

{"stackTrail":"paths:/smilesToImage:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}